You are here

Help with changing the Firefox Portable splash screen

8 posts / 0 new
Last post
tiger9101
tiger9101's picture
Offline
Last seen: 13 years 7 months ago
Joined: 2010-06-03 01:13
Help with changing the Firefox Portable splash screen

I created my own picture for a splash screen and i want to know how i can use it as my flash screen.

gluxon
gluxon's picture
Offline
Last seen: 3 years 7 months ago
Developer
Joined: 2008-06-21 19:26
Take a look at some previous
tiger9101
tiger9101's picture
Offline
Last seen: 13 years 7 months ago
Joined: 2010-06-03 01:13
I've followed the steps to recompile it, but i get an error
MakeNSIS v2.46 - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Processing config: 
Processing plugin dlls: "C:\Program Files (x86)\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
 - 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::GetFileCRC32
 - VPatch::GetFileMD5
 - VPatch::vpatchfile
 - newadvsplash::hwnd
 - newadvsplash::play
 - newadvsplash::show
 - newadvsplash::stop
 - nsDialogs::Create
 - nsDialogs::CreateControl
 - nsDialogs::CreateItem
 - nsDialogs::CreateTimer
 - nsDialogs::GetUserData
 - nsDialogs::KillTimer
 - nsDialogs::OnBack
 - nsDialogs::OnChange
 - nsDialogs::OnClick
 - nsDialogs::OnNotify
 - nsDialogs::SelectFileDialog
 - nsDialogs::SelectFolderDialog
 - nsDialogs::SetRTL
 - nsDialogs::SetUserData
 - nsDialogs::Show
 - nsExec::Exec
 - nsExec::ExecToLog
 - nsExec::ExecToStack

!define: "MUI_INSERT_NSISCONF"=""

Changing directory to: "E:\PortableApps\FirefoxPortable\Other\Source"

Processing script file: "E:\PortableApps\FirefoxPortable\Other\Source\FirefoxPortable.nsi"
!define: "PORTABLEAPPNAME"="Mozilla Firefox, Portable Edition"
!define: "APPNAME"="Firefox"
!define: "NAME"="FirefoxPortable"
!define: "VER"="1.6.6.0"
!define: "WEBSITE"="PortableApps.com/FirefoxPortable"
!define: "DEFAULTEXE"="firefox.exe"
!define: "DEFAULTAPPDIR"="firefox"
!define: "LAUNCHERLANGUAGE"="English"
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.6.0"
VIAddVersionKey: "ProductVersion" "1.6.6.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
WindowIcon: Off
SilentInstall: Silent
AutoCloseWindow: true
XPStyle: on
SetCompress: Auto
SetCompressor: /SOLID lzma
SetCompressorDictSize: 32 mb
SetDatablockOptimize: On
!include: "C:\Program Files (x86)\NSIS\Include\FileFunc.nsh"
!define: "FILEFUNC_INCLUDED"=""
!include: "C:\Program Files (x86)\NSIS\Include\Util.nsh"
!include: closed: "C:\Program Files (x86)\NSIS\Include\Util.nsh"
!define: "Locate"="!insertmacro LocateCall"
!define: "un.Locate"="!insertmacro LocateCall"
!define: "GetSize"="!insertmacro GetSizeCall"
!define: "un.GetSize"="!insertmacro GetSizeCall"
!define: "DriveSpace"="!insertmacro DriveSpaceCall"
!define: "un.DriveSpace"="!insertmacro DriveSpaceCall"
!define: "GetDrives"="!insertmacro GetDrivesCall"
!define: "un.GetDrives"="!insertmacro GetDrivesCall"
!define: "GetTime"="!insertmacro GetTimeCall"
!define: "un.GetTime"="!insertmacro GetTimeCall"
!define: "GetFileAttributes"="!insertmacro GetFileAttributesCall"
!define: "un.GetFileAttributes"="!insertmacro GetFileAttributesCall"
!define: "GetFileVersion"="!insertmacro GetFileVersionCall"
!define: "un.GetFileVersion"="!insertmacro GetFileVersionCall"
!define: "GetExeName"="!insertmacro GetExeNameCall"
!define: "un.GetExeName"="!insertmacro GetExeNameCall"
!define: "GetExePath"="!insertmacro GetExePathCall"
!define: "un.GetExePath"="!insertmacro GetExePathCall"
!define: "GetParameters"="!insertmacro GetParametersCall"
!define: "un.GetParameters"="!insertmacro GetParametersCall"
!define: "GetOptions"="!insertmacro GetOptionsCall"
!define: "un.GetOptions"="!insertmacro GetOptionsCall"
!define: "GetOptionsS"="!insertmacro GetOptionsSCall"
!define: "un.GetOptionsS"="!insertmacro GetOptionsSCall"
!define: "GetRoot"="!insertmacro GetRootCall"
!define: "un.GetRoot"="!insertmacro GetRootCall"
!define: "GetParent"="!insertmacro GetParentCall"
!define: "un.GetParent"="!insertmacro GetParentCall"
!define: "GetFileName"="!insertmacro GetFileNameCall"
!define: "un.GetFileName"="!insertmacro GetFileNameCall"
!define: "GetBaseName"="!insertmacro GetBaseNameCall"
!define: "un.GetBaseName"="!insertmacro GetBaseNameCall"
!define: "GetFileExt"="!insertmacro GetFileExtCall"
!define: "un.GetFileExt"="!insertmacro GetFileExtCall"
!define: "BannerTrimPath"="!insertmacro BannerTrimPathCall"
!define: "un.BannerTrimPath"="!insertmacro BannerTrimPathCall"
!define: "DirState"="!insertmacro DirStateCall"
!define: "un.DirState"="!insertmacro DirStateCall"
!define: "RefreshShellIcons"="!insertmacro RefreshShellIconsCall"
!define: "un.RefreshShellIcons"="!insertmacro RefreshShellIconsCall"
!include: closed: "C:\Program Files (x86)\NSIS\Include\FileFunc.nsh"
!insertmacro: GetParameters
!insertmacro: end of GetParameters
!include: could not find: "Registry.nsh"
Error in script "E:\PortableApps\FirefoxPortable\Other\Source\FirefoxPortable.nsi" on line 67 -- aborting creation process

these are the steps that i followed

1. Download and install NSIS, or download my NSIS Portable Development Test. If you use the NSIS Portable, you will not have to worry about missing plugins because I included all of the ones required for compiling Portable Apps.

2. Rename the original splash screen to anything (i.e. FirefoxPortable_old.jpg)

3. Move your new splash screen into the /Other/source/

4. Rename your new splash to FirefoxPortable.jpg

5. Open the NSIS menu and click the link for the compiler

6. Open the FirefoxPortable.nsi script with the compiler

7. Check out FirefoxPortable now using your new splash screen

gluxon
gluxon's picture
Offline
Last seen: 3 years 7 months ago
Developer
Joined: 2008-06-21 19:26
You're missing the registry

You're missing the registry plugin.

http://nsis.sourceforge.net/mediawiki/images/4/47/Registry.zip

Extract it to App\NSIS

tiger9101
tiger9101's picture
Offline
Last seen: 13 years 7 months ago
Joined: 2010-06-03 01:13
I did it but now i get another error
MakeNSIS v2.46 - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Processing config: 
Processing plugin dlls: "C:\Program Files (x86)\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
 - 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::GetFileCRC32
 - VPatch::GetFileMD5
 - VPatch::vpatchfile
 - newadvsplash::hwnd
 - newadvsplash::play
 - newadvsplash::show
 - newadvsplash::stop
 - nsDialogs::Create
 - nsDialogs::CreateControl
 - nsDialogs::CreateItem
 - nsDialogs::CreateTimer
 - nsDialogs::GetUserData
 - nsDialogs::KillTimer
 - 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: "E:\PortableApps\FirefoxPortable\Other\Source"

Processing script file: "E:\PortableApps\FirefoxPortable\Other\Source\FirefoxPortable.nsi"
!define: "PORTABLEAPPNAME"="Mozilla Firefox, Portable Edition"
!define: "APPNAME"="Firefox"
!define: "NAME"="FirefoxPortable"
!define: "VER"="1.6.6.0"
!define: "WEBSITE"="PortableApps.com/FirefoxPortable"
!define: "DEFAULTEXE"="firefox.exe"
!define: "DEFAULTAPPDIR"="firefox"
!define: "LAUNCHERLANGUAGE"="English"
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.6.0"
VIAddVersionKey: "ProductVersion" "1.6.6.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
WindowIcon: Off
SilentInstall: Silent
AutoCloseWindow: true
XPStyle: on
SetCompress: Auto
SetCompressor: /SOLID lzma
SetCompressorDictSize: 32 mb
SetDatablockOptimize: On
!include: "C:\Program Files (x86)\NSIS\Include\FileFunc.nsh"
!define: "FILEFUNC_INCLUDED"=""
!include: "C:\Program Files (x86)\NSIS\Include\Util.nsh"
!include: closed: "C:\Program Files (x86)\NSIS\Include\Util.nsh"
!define: "Locate"="!insertmacro LocateCall"
!define: "un.Locate"="!insertmacro LocateCall"
!define: "GetSize"="!insertmacro GetSizeCall"
!define: "un.GetSize"="!insertmacro GetSizeCall"
!define: "DriveSpace"="!insertmacro DriveSpaceCall"
!define: "un.DriveSpace"="!insertmacro DriveSpaceCall"
!define: "GetDrives"="!insertmacro GetDrivesCall"
!define: "un.GetDrives"="!insertmacro GetDrivesCall"
!define: "GetTime"="!insertmacro GetTimeCall"
!define: "un.GetTime"="!insertmacro GetTimeCall"
!define: "GetFileAttributes"="!insertmacro GetFileAttributesCall"
!define: "un.GetFileAttributes"="!insertmacro GetFileAttributesCall"
!define: "GetFileVersion"="!insertmacro GetFileVersionCall"
!define: "un.GetFileVersion"="!insertmacro GetFileVersionCall"
!define: "GetExeName"="!insertmacro GetExeNameCall"
!define: "un.GetExeName"="!insertmacro GetExeNameCall"
!define: "GetExePath"="!insertmacro GetExePathCall"
!define: "un.GetExePath"="!insertmacro GetExePathCall"
!define: "GetParameters"="!insertmacro GetParametersCall"
!define: "un.GetParameters"="!insertmacro GetParametersCall"
!define: "GetOptions"="!insertmacro GetOptionsCall"
!define: "un.GetOptions"="!insertmacro GetOptionsCall"
!define: "GetOptionsS"="!insertmacro GetOptionsSCall"
!define: "un.GetOptionsS"="!insertmacro GetOptionsSCall"
!define: "GetRoot"="!insertmacro GetRootCall"
!define: "un.GetRoot"="!insertmacro GetRootCall"
!define: "GetParent"="!insertmacro GetParentCall"
!define: "un.GetParent"="!insertmacro GetParentCall"
!define: "GetFileName"="!insertmacro GetFileNameCall"
!define: "un.GetFileName"="!insertmacro GetFileNameCall"
!define: "GetBaseName"="!insertmacro GetBaseNameCall"
!define: "un.GetBaseName"="!insertmacro GetBaseNameCall"
!define: "GetFileExt"="!insertmacro GetFileExtCall"
!define: "un.GetFileExt"="!insertmacro GetFileExtCall"
!define: "BannerTrimPath"="!insertmacro BannerTrimPathCall"
!define: "un.BannerTrimPath"="!insertmacro BannerTrimPathCall"
!define: "DirState"="!insertmacro DirStateCall"
!define: "un.DirState"="!insertmacro DirStateCall"
!define: "RefreshShellIcons"="!insertmacro RefreshShellIconsCall"
!define: "un.RefreshShellIcons"="!insertmacro RefreshShellIconsCall"
!include: closed: "C:\Program Files (x86)\NSIS\Include\FileFunc.nsh"
!insertmacro: GetParameters
!insertmacro: end of GetParameters
!include: "C:\Program Files (x86)\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: "C:\Program Files (x86)\NSIS\Include\Registry.nsh"
!include: "C:\Program Files (x86)\NSIS\Include\TextFunc.nsh"
!define: "TEXTFUNC_INCLUDED"=""
!include: "C:\Program Files (x86)\NSIS\Include\FileFunc.nsh"
!include: closed: "C:\Program Files (x86)\NSIS\Include\FileFunc.nsh"
!include: "C:\Program Files (x86)\NSIS\Include\Util.nsh"
!include: closed: "C:\Program Files (x86)\NSIS\Include\Util.nsh"
!define: "LineFind"="!insertmacro LineFindCall"
!define: "un.LineFind"="!insertmacro LineFindCall"
!define: "LineRead"="!insertmacro LineReadCall"
!define: "un.LineRead"="!insertmacro LineReadCall"
!define: "FileReadFromEnd"="!insertmacro FileReadFromEndCall"
!define: "un.FileReadFromEnd"="!insertmacro FileReadFromEndCall"
!define: "LineSum"="!insertmacro LineSumCall"
!define: "un.LineSum"="!insertmacro LineSumCall"
!define: "FileJoin"="!insertmacro FileJoinCall"
!define: "un.FileJoin"="!insertmacro FileJoinCall"
!define: "TextCompare"="!insertmacro TextCompareCall"
!define: "un.TextCompare"="!insertmacro TextCompareCall"
!define: "TextCompareS"="!insertmacro TextCompareSCall"
!define: "un.TextCompareS"="!insertmacro TextCompareSCall"
!define: "ConfigRead"="!insertmacro ConfigReadCall"
!define: "un.ConfigRead"="!insertmacro ConfigReadCall"
!define: "ConfigReadS"="!insertmacro ConfigReadSCall"
!define: "un.ConfigReadS"="!insertmacro ConfigReadSCall"
!define: "ConfigWrite"="!insertmacro ConfigWriteCall"
!define: "un.ConfigWrite"="!insertmacro ConfigWriteCall"
!define: "ConfigWriteS"="!insertmacro ConfigWriteSCall"
!define: "un.ConfigWriteS"="!insertmacro ConfigWriteSCall"
!define: "FileRecode"="!insertmacro FileRecodeCall"
!define: "un.FileRecode"="!insertmacro FileRecodeCall"
!define: "TrimNewLines"="!insertmacro TrimNewLinesCall"
!define: "un.TrimNewLines"="!insertmacro TrimNewLinesCall"
!include: closed: "C:\Program Files (x86)\NSIS\Include\TextFunc.nsh"
!insertmacro: GetParent
!insertmacro: end of GetParent
!include: could not find: "TextReplace.nsh"
Error in script "E:\PortableApps\FirefoxPortable\Other\Source\FirefoxPortable.nsi" on line 72 -- aborting creation process
Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 10 months ago
Joined: 2007-04-15 21:08
NSIS Portable

If you use NSIS Portable you won't get any of these error messages. NSIS Portable is what all these are built with.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

tiger9101
tiger9101's picture
Offline
Last seen: 13 years 7 months ago
Joined: 2010-06-03 01:13
Thank You!

OMG thank you so much for taking the time to help me out with my problem. It finally works!!!!!!!!!!

gluxon
gluxon's picture
Offline
Last seen: 3 years 7 months ago
Developer
Joined: 2008-06-21 19:26
Oh, I thought he already had

Oh, I thought he already had it.

Download and install NSIS, or download my NSIS Portable Development Test. If you use the NSIS Portable, you will not have to worry about missing plugins because I included all of the ones required for compiling Portable Apps.

Log in or register to post comments