When I try to compile the new NSI script to use my own custom splash image there is a error:
MakeNSIS v2.35 - Copyright 1995-2008 Contributors See the file COPYING for license details. Credits can be found in the Users Manual. Processing config: Processing plugin dlls: "G:\PortableApps\NSISPortable\App\NSIS\Plugins\*.dll" - AdvSplash::show - Banner::destroy - Banner::getWindow - Banner::show - BgImage::AddImage - BgImage::AddText - BgImage::Clear - BgImage::Destroy - BgImage::Redraw - BgImage::SetBg - BgImage::SetReturn - BgImage::Sound - Dialer::AttemptConnect - Dialer::AutodialHangup - Dialer::AutodialOnline - Dialer::AutodialUnattended - Dialer::GetConnectedState - FindProcDLL::FindProc - InstallOptions::dialog - InstallOptions::initDialog - InstallOptions::show - LangDLL::LangDialog - Math::Script - MoreInfo::GetComments - MoreInfo::GetCompanyName - MoreInfo::GetFileDescription - MoreInfo::GetFileVersion - MoreInfo::GetInternalName - MoreInfo::GetLegalCopyright - MoreInfo::GetLegalTrademarks - MoreInfo::GetOSUserinterfaceLanguage - MoreInfo::GetOriginalFilename - MoreInfo::GetPrivateBuild - MoreInfo::GetProductName - MoreInfo::GetProductVersion - MoreInfo::GetSpecialBuild - MoreInfo::GetUserDefined - NSISdl::download - NSISdl::download_quiet - Splash::show - StartMenu::Init - StartMenu::Select - StartMenu::Show - System::Alloc - System::Call - System::Copy - System::Free - System::Get - System::Int64Op - System::Store - TypeLib::GetLibVersion - TypeLib::Register - TypeLib::UnRegister - UserInfo::GetAccountType - UserInfo::GetName - UserInfo::GetOriginalAccountType - VPatch::vpatchfile - newadvsplash::hwnd - newadvsplash::play - newadvsplash::show - newadvsplash::stop - nsDialogs::Create - nsDialogs::CreateControl - nsDialogs::CreateItem - nsDialogs::GetUserData - nsDialogs::OnBack - nsDialogs::OnChange - nsDialogs::OnClick - nsDialogs::OnNotify - nsDialogs::SelectFileDialog - nsDialogs::SelectFolderDialog - nsDialogs::SetRTL - nsDialogs::SetUserData - nsDialogs::Show - nsExec::Exec - nsExec::ExecToLog - nsExec::ExecToStack - registry::_Close - registry::_CopyKey - registry::_CopyValue - registry::_CreateKey - registry::_DeleteKey - registry::_DeleteKeyEmpty - registry::_DeleteValue - registry::_Find - registry::_HexToStr - registry::_KeyExists - registry::_MoveKey - registry::_MoveValue - registry::_Open - registry::_Read - registry::_ReadExtra - registry::_RestoreKey - registry::_SaveKey - registry::_StrToHex - registry::_Unload - registry::_Write - registry::_WriteExtra !define: "MUI_INSERT_NSISCONF"="" Changing directory to: "G:\PortableApps\FirefoxPortable\Other\Source" Processing script file: "G:\PortableApps\FirefoxPortable\Other\Source\FirefoxPortable.nsi" !define: "PORTABLEAPPNAME"="Mozilla Firefox, Portable Edition" !define: "APPNAME"="Firefox" !define: "NAME"="FirefoxPortable" !define: "VER"="1.6.0.0" !define: "WEBSITE"="PortableApps.com/FirefoxPortable" !define: "DEFAULTEXE"="firefox.exe" !define: "DEFAULTAPPDIR"="firefox" !define: "LICENSEVERSION"="3" Name: "Mozilla Firefox, Portable Edition" OutFile: "..\..\FirefoxPortable.exe" Caption: "Mozilla Firefox, Portable Edition | PortableApps.com" VIAddVersionKey: "ProductName" "Mozilla Firefox, Portable Edition" VIAddVersionKey: "Comments" "Allows Firefox to be run from a removable drive. For additional details, visit PortableApps.com/FirefoxPortable" VIAddVersionKey: "CompanyName" "PortableApps.com" VIAddVersionKey: "LegalCopyright" "John T. Haller" VIAddVersionKey: "FileDescription" "Mozilla Firefox, Portable Edition" VIAddVersionKey: "FileVersion" "1.6.0.0" VIAddVersionKey: "ProductVersion" "1.6.0.0" VIAddVersionKey: "InternalName" "Mozilla Firefox, Portable Edition" VIAddVersionKey: "LegalTrademarks" "Firefox is a Registered Trademark of The Mozilla Foundation. PortableApps.com is a Registered Trademark of Rare Ideas, LLC." VIAddVersionKey: "OriginalFilename" "FirefoxPortable.exe" CRCCheck: On AutoCloseWindow: true SetCompress: Auto SetCompressor: /SOLID lzma SetCompressorDictSize: 32 mb SetDatablockOptimize: On !include: "G:\PortableApps\NSISPortable\App\NSIS\Include\MUI.nsh" !include: "G:\PortableApps\NSISPortable\App\NSIS\Contrib\Modern UI\System.nsh" NSIS Modern User Interface version 1.8 - © 2002-2008 Joost Verburg (G:\PortableApps\NSISPortable\App\NSIS\Contrib\Modern UI\System.nsh:8) !define: "MUI_INCLUDED"="" !define: "MUI_SYSVERSION"="1.8" !define: "MUI_VERBOSE"="3" !include: closed: "G:\PortableApps\NSISPortable\App\NSIS\Contrib\Modern UI\System.nsh" !include: closed: "G:\PortableApps\NSISPortable\App\NSIS\Include\MUI.nsh" !include: "G:\PortableApps\NSISPortable\App\NSIS\Include\Registry.nsh" !define: "registry::Open"="!insertmacro registry::Open" !define: "registry::Find"="!insertmacro registry::Find" !define: "registry::Close"="!insertmacro registry::Close" !define: "registry::KeyExists"="!insertmacro registry::KeyExists" !define: "registry::Read"="!insertmacro registry::Read" !define: "registry::Write"="!insertmacro registry::Write" !define: "registry::ReadExtra"="!insertmacro registry::ReadExtra" !define: "registry::WriteExtra"="!insertmacro registry::WriteExtra" !define: "registry::CreateKey"="!insertmacro registry::CreateKey" !define: "registry::DeleteValue"="!insertmacro registry::DeleteValue" !define: "registry::DeleteKey"="!insertmacro registry::DeleteKey" !define: "registry::DeleteKeyEmpty"="!insertmacro registry::DeleteKeyEmpty" !define: "registry::CopyValue"="!insertmacro registry::CopyValue" !define: "registry::MoveValue"="!insertmacro registry::MoveValue" !define: "registry::CopyKey"="!insertmacro registry::CopyKey" !define: "registry::MoveKey"="!insertmacro registry::MoveKey" !define: "registry::SaveKey"="!insertmacro registry::SaveKey" !define: "registry::RestoreKey"="!insertmacro registry::RestoreKey" !define: "registry::StrToHex"="!insertmacro registry::StrToHex" !define: "registry::HexToStr"="!insertmacro registry::HexToStr" !define: "registry::Unload"="!insertmacro registry::Unload" !include: closed: "G:\PortableApps\NSISPortable\App\NSIS\Include\Registry.nsh" !include: "G:\PortableApps\NSISPortable\App\NSIS\Include\TextFunc.nsh" !define: "TEXTFUNC_INCLUDED"="" !include: "G:\PortableApps\NSISPortable\App\NSIS\Include\FileFunc.nsh" !define: "FILEFUNC_INCLUDED"="" !include: closed: "G:\PortableApps\NSISPortable\App\NSIS\Include\FileFunc.nsh" !include: closed: "G:\PortableApps\NSISPortable\App\NSIS\Include\TextFunc.nsh" !insertmacro: GetParameters !insertmacro: end of GetParameters !insertmacro: GetParent !insertmacro: end of GetParent !include: could not find: "TextReplace.nsh" Error in script "G:\PortableApps\FirefoxPortable\Other\Source\FirefoxPortable.nsi" on line 71 -- aborting creation process
is there a new plug-in i need?
and i'm using NSIS portable... if that helps...
yup. it's the TextReplace plugin. John posted a link to it somewhere, but I cant remember where offhand
The developer formerly known as ZGitRDun8705
http://nsis.sourceforge.net/TextReplace_plugin
There's no place like 127.0.0.1
See here:
http://nsis.sourceforge.net/TextReplace_plugin
A Reminder (Just In Case): You can't redistribute Mozilla Firefox, Portable Edition with any changes (like the splash screen). We've been having issues with people violating Mozilla's trademarks, our trademarks and the GPL lately.
Sometimes, the impossible can become possible, if you're awesome!
Yup, it works perfectly. Thanks!