hack together the win32 installer code (temp. solution, do not try building without reading this patch)

This commit is contained in:
Ryan Nematz 2015-10-22 22:08:57 -04:00
parent 2f2ae146c0
commit de97722618
11 changed files with 82 additions and 78 deletions

View File

@ -7,9 +7,9 @@
; values. ; values.
Run Mode=Normal Run Mode=Normal
Company Name=$CompanyName$ Company Name=RetroZilla
Product Name=$ProductName$ Product Name=RetroZilla
Product NameInternal=$ProductName$ Product NameInternal=RetroZilla
User Agent=$UserAgent$ User Agent=$UserAgent$
; Destination Path values: ; Destination Path values:
@ -17,7 +17,7 @@ User Agent=$UserAgent$
; WINDISK ; WINDISK
; WINDIR ; WINDIR
; WINSYSDIR ; WINSYSDIR
Path=[PROGRAMFILESDIR]\$CompanyName$\$ProductName$ Path=[PROGRAMFILESDIR]\RetroZilla
; Sub Path, when set will indicate to Setup to create a subfolder from ; Sub Path, when set will indicate to Setup to create a subfolder from
; what is offered to the user to change. It will not be shown to the user ; what is offered to the user to change. It will not be shown to the user
@ -33,7 +33,7 @@ Sub Path=
; Default value is FALSE; ; Default value is FALSE;
Lock Path=FALSE Lock Path=FALSE
Program Name=$MainExeFile$ Program Name=RetroZilla.exe
; Program Folder Path values: ; Program Folder Path values:
; COMMON_STARTUP ; COMMON_STARTUP
@ -68,7 +68,7 @@ Program Name=$MainExeFile$
; MEDIAPATH ; MEDIAPATH
; CONFIGPATH (supported only under Windows95 and Windows98) ; CONFIGPATH (supported only under Windows95 and Windows98)
; DEVICEPATH ; DEVICEPATH
Program Folder Name=$ProductName$ Program Folder Name=RetroZilla
Program Folder Path=[PROGRAMS] Program Folder Path=[PROGRAMS]
Uninstall Filename=$UninstallFile$ Uninstall Filename=$UninstallFile$
@ -117,7 +117,7 @@ GRE ID=$GreUniqueID$
; config.ini file) will be appended as follows: ; config.ini file) will be appended as follows:
; ;
; Software\mozilla.org\GRE_1.4a_0000000000_PRIVATE_[Product Name Internal] ; Software\mozilla.org\GRE_1.4a_0000000000_PRIVATE_[Product Name Internal]
GRE Private Key=Software\mozilla.org\GRE_$GreUniqueID$_PRIVATE_$ProductNameInternal$ GRE Private Key=Software\mozilla.org\GRE_$GreUniqueID$_PRIVATE_RetroZilla
; Controls the display of the banner image in the download and install progress dialogs. ; Controls the display of the banner image in the download and install progress dialogs.
; Default value is TRUE. ; Default value is TRUE.
@ -165,7 +165,7 @@ url=http://orb.mcom.com/install/error.cgi
; ;
; Default value is TRUE if nothing is set. ; Default value is TRUE if nothing is set.
Show Confirmation=TRUE Show Confirmation=TRUE
Confirmation Message=There was an error encountered during installation of $ProductName$. The following information will be sent back to us to help us improve the product: %s Confirmation Message=There was an error encountered during installation of RetroZilla. The following information will be sent back to us to help us improve the product: %s
@ -186,7 +186,7 @@ Verify Existence=
[Dialog Welcome] [Dialog Welcome]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Title=$ProductName$ Setup - Welcome Title=RetroZilla Setup - Welcome
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message0=Welcome to %s Setup. You are about to install %s version $Version$. Message0=Welcome to %s Setup. You are about to install %s version $Version$.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
@ -197,7 +197,7 @@ Message2=Click Cancel to quit Setup and then close any programs you have running
[Dialog License] [Dialog License]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Title=$ProductName$ Setup - Software License Agreement Title=RetroZilla Setup - Software License Agreement
License File=license.txt License File=license.txt
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message0=Please read the following license agreement. Use the scroll bar to view the rest of this agreement. Message0=Please read the following license agreement. Use the scroll bar to view the rest of this agreement.
@ -207,7 +207,7 @@ Message1=Click Accept if you accept the terms of the preceeding license agreemen
[Dialog Setup Type] [Dialog Setup Type]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Title=$ProductName$ Setup - Setup Type Title=RetroZilla Setup - Setup Type
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message0=Click the type of setup you prefer, then click Next. Message0=Click the type of setup you prefer, then click Next.
Readme Filename=readme.txt Readme Filename=readme.txt
@ -296,14 +296,14 @@ C13=Component RPT
[Dialog Select Components] [Dialog Select Components]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Title=$ProductName$ Setup - Select Components Title=RetroZilla Setup - Select Components
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message0=The browser is always installed. Select or clear the additional components you want to install. Message0=The browser is always installed. Select or clear the additional components you want to install.
[Dialog Select Additional Components] [Dialog Select Additional Components]
Show Dialog=FALSE Show Dialog=FALSE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Title=$ProductName$ Setup - Select Additional Components Title=RetroZilla Setup - Select Additional Components
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message0=Select or clear the additional components you want to install. Message0=Select or clear the additional components you want to install.
@ -311,7 +311,7 @@ Message0=Select or clear the additional components you want to install.
; do not localize this part because it is not currently being used ; do not localize this part because it is not currently being used
[Dialog Windows Integration] [Dialog Windows Integration]
Show Dialog=FALSE Show Dialog=FALSE
Title=$ProductName$ Setup - Windows Integration Title=RetroZilla Setup - Windows Integration
Message0=Check the options you would like Setup to perform. Message0=Check the options you would like Setup to perform.
Message1=These settings allow you to set default Internet preferences for browsing and searching. They affect browsers installed on your machine, including SeaMonkey, Mozilla, Netscape and Microsoft Internet Explorer. Message1=These settings allow you to set default Internet preferences for browsing and searching. They affect browsers installed on your machine, including SeaMonkey, Mozilla, Netscape and Microsoft Internet Explorer.
@ -336,14 +336,14 @@ Archive=
[Dialog Program Folder] [Dialog Program Folder]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Title=$ProductName$ Setup - Select Program Folder Title=RetroZilla Setup - Select Program Folder
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message0=Setup will add program icons to the Program Folder listed below. You may type a new folder name, or select one from the Existing Folders list. Click Next to continue. Message0=Setup will add program icons to the Program Folder listed below. You may type a new folder name, or select one from the Existing Folders list. Click Next to continue.
[Dialog Additional Options] [Dialog Additional Options]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Title=$ProductName$ Setup - Additional Options Title=RetroZilla Setup - Additional Options
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message1=Select the following option if you wish to save downloaded Setup files on your own computer. This allows you to re-run Setup without downloading the files again. The Setup files will be saved to the path below. Message1=Select the following option if you wish to save downloaded Setup files on your own computer. This allows you to re-run Setup without downloading the files again. The Setup files will be saved to the path below.
Save Installer= Save Installer=
@ -358,7 +358,7 @@ Recapture Homepage=FALSE
[Dialog Advanced Settings] [Dialog Advanced Settings]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Title=$ProductName$ Setup - Advanced Settings Title=RetroZilla Setup - Advanced Settings
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message0=If your Internet connection requires a proxy server, enter your server name and port information. If your Internet connection doesn't require a proxy server, leave the fields blank. Message0=If your Internet connection requires a proxy server, enter your server name and port information. If your Internet connection doesn't require a proxy server, leave the fields blank.
Proxy Server= Proxy Server=
@ -381,7 +381,7 @@ Show Protocols=TRUE
[Dialog Quick Launch] [Dialog Quick Launch]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Title=$ProductName$ Setup - Quick Launch Title=RetroZilla Setup - Quick Launch
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message0=Quick Launch starts SeaMonkey faster by keeping portions of the program in computer memory. Message0=Quick Launch starts SeaMonkey faster by keeping portions of the program in computer memory.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
@ -400,7 +400,7 @@ Turbo Mode Enabled=TRUE
[Dialog Start Install] [Dialog Start Install]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Title=$ProductName$ Setup - Start Install Title=RetroZilla Setup - Start Install
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message Install=Setup has enough information to start copying the program files. If you want to review or change settings, click Back. If you are satisfied with the current settings, click Install to begin copying files. Message Install=Setup has enough information to start copying the program files. If you want to review or change settings, click Back. If you are satisfied with the current settings, click Install to begin copying files.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
@ -409,7 +409,7 @@ Message Download=Setup has enough information to start downloading and copying t
[Dialog Download] [Dialog Download]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Title=$ProductName$ Setup - Download Title=RetroZilla Setup - Download
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message Download0=Setup is downloading the required files now. This may take some time depending on your network connection speed. Message Download0=Setup is downloading the required files now. This may take some time depending on your network connection speed.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
@ -427,16 +427,16 @@ Message Retry0=Some files have failed the CRC check and are being downloaded aga
Show Dialog=AUTO Show Dialog=AUTO
[Check Instance0] [Check Instance0]
Class Name=$ProductName$MessageWindow Class Name=RetroZillaMessageWindow
Window Name= Window Name=
Process Name=$MainExeFile$ Process Name=RetroZilla.exe
Pretty Name=$ProductNameInternal$ Pretty Name=RetroZilla
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message=Download of $ProductName$ was successful. $ProductNameInternal$ must be closed to proceed with installation. Click OK to exit $ProductNameInternal$ automatically and to begin installation. Message=Download of RetroZilla was successful. RetroZilla must be closed to proceed with installation. Click OK to exit RetroZilla automatically and to begin installation.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message Full Installer=$ProductNameInternal$ must be closed to proceed with installation. Click OK to exit $ProductNameInternal$ automatically and to begin installation. Message Full Installer=RetroZilla must be closed to proceed with installation. Click OK to exit RetroZilla automatically and to begin installation.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message wait=Shutting down $ProductNameInternal$. Please wait... Message wait=Shutting down RetroZilla. Please wait...
; This key indicates whether or not to close all the windows associated with ; This key indicates whether or not to close all the windows associated with
; the process id of this app instance window found. ; the process id of this app instance window found.
@ -445,7 +445,7 @@ Close All Process Windows=TRUE
; These keys are not normally necessary for checking instances. They are ; These keys are not normally necessary for checking instances. They are
; set here because SeaMonkey requires a way to shut down its turbo mode. ; set here because SeaMonkey requires a way to shut down its turbo mode.
Extra Cmd0 Reg Key Root=HKEY_LOCAL_MACHINE Extra Cmd0 Reg Key Root=HKEY_LOCAL_MACHINE
Extra Cmd0 Reg Key=Software\Microsoft\Windows\CurrentVersion\App Paths\$MainExeFile$ Extra Cmd0 Reg Key=Software\Microsoft\Windows\CurrentVersion\App Paths\RetroZilla.exe
Extra Cmd0 Reg Name= Extra Cmd0 Reg Name=
Extra Cmd0 Parameter=-kill Extra Cmd0 Parameter=-kill
@ -455,7 +455,7 @@ Window Name=
Process Name=Mozilla.exe Process Name=Mozilla.exe
Pretty Name=Mozilla Pretty Name=Mozilla
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message=Download of $ProductName$ was successful. Mozilla must be closed to proceed with installation. Click OK to exit Mozilla automatically and to begin installation. Message=Download of RetroZilla was successful. Mozilla must be closed to proceed with installation. Click OK to exit Mozilla automatically and to begin installation.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message Full Installer=Mozilla must be closed to proceed with installation. Click OK to exit Mozilla automatically and to begin installation. Message Full Installer=Mozilla must be closed to proceed with installation. Click OK to exit Mozilla automatically and to begin installation.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
@ -478,7 +478,7 @@ Window Name=
Process Name=Netscp.exe Process Name=Netscp.exe
Pretty Name=Netscape Pretty Name=Netscape
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message=Download of $ProductName$ was successful. However, Netscape must be closed to proceed with this installation. Click OK to exit Netscape automatically and to begin installation. Message=Download of RetroZilla was successful. However, Netscape must be closed to proceed with this installation. Click OK to exit Netscape automatically and to begin installation.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message Full Installer=Netscape must be closed to proceed with this installation. Click OK to exit Netscape automatically and to begin installation. Message Full Installer=Netscape must be closed to proceed with this installation. Click OK to exit Netscape automatically and to begin installation.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
@ -618,7 +618,7 @@ $InstallSizeSystem$
$InstallSizeArchive$:gre-win32-installer.zip $InstallSizeArchive$:gre-win32-installer.zip
Attributes=SELECTED|UNCOMPRESS|SUPERSEDE|LAUNCHAPP|INVISIBLE Attributes=SELECTED|UNCOMPRESS|SUPERSEDE|LAUNCHAPP|INVISIBLE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Parameter=-mmi -ms -app "$ProductNameInternal$ $UserAgent$" -app_path "[SETUP PATH]\$MainExeFile$" Parameter=-mmi -ms -app "RetroZilla $UserAgent$" -app_path "[SETUP PATH]\RetroZilla.exe"
SupersedeType=GRE SupersedeType=GRE
SupersedeWinReg0=HKEY_LOCAL_MACHINE\Software\mozilla.org\GRE SupersedeWinReg0=HKEY_LOCAL_MACHINE\Software\mozilla.org\GRE
SupersedeVersion0=$GreFileVersion$ SupersedeVersion0=$GreFileVersion$
@ -640,7 +640,7 @@ $InstallSize$:browser
$InstallSizeSystem$ $InstallSizeSystem$
$InstallSizeArchive$:browser.xpi $InstallSizeArchive$:browser.xpi
Attributes=SELECTED|DISABLED|FORCE_UPGRADE Attributes=SELECTED|DISABLED|FORCE_UPGRADE
Force Upgrade File0=[SETUP PATH]\$MainExeFile$ Force Upgrade File0=[SETUP PATH]\RetroZilla.exe
[Component MailNews] [Component MailNews]
@ -666,9 +666,9 @@ Attributes=SELECTED|FORCE_UPGRADE
Force Upgrade File0=[SETUP PATH]\myspell.dll Force Upgrade File0=[SETUP PATH]\myspell.dll
[Component Uninstaller] [Component Uninstaller]
Description Short=$CompanyName$ Uninstaller Description Short=RetroZilla Uninstaller
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Description Long=Uninstaller for $ProductName$ Description Long=Uninstaller for RetroZilla
Archive=$UninstallFileZip$ Archive=$UninstallFileZip$
$InstallSize$:$UninstallFileZip$ $InstallSize$:$UninstallFileZip$
$InstallSizeSystem$ $InstallSizeSystem$
@ -764,7 +764,7 @@ Force Upgrade File0=[SETUP PATH]\chrome\US.jar
[Component QFA] [Component QFA]
Description Short=Quality Feedback Agent Description Short=Quality Feedback Agent
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Description Long=for reporting $ProductName$ crash information Description Long=for reporting RetroZilla crash information
Archive=talkback.xpi Archive=talkback.xpi
Install Size=870 Install Size=870
Install Size System=1 Install Size System=1
@ -979,7 +979,7 @@ Destination=[SETUP PATH]\install_wizard.log
[RunApp0] [RunApp0]
Timing=depend reboot Timing=depend reboot
Wait=FALSE Wait=FALSE
Target=[SETUP PATH]\$MainExeFile$ Target=[SETUP PATH]\RetroZilla.exe
Parameters=-installer Parameters=-installer
WorkingDir=[SETUP PATH] WorkingDir=[SETUP PATH]
; Additional Options dialog. ; Additional Options dialog.
@ -988,7 +988,7 @@ Condition=not RecaptureHPChecked
[RunApp1] [RunApp1]
Timing=depend reboot Timing=depend reboot
Wait=FALSE Wait=FALSE
Target=[SETUP PATH]\$MainExeFile$ Target=[SETUP PATH]\RetroZilla.exe
Parameters=-installer -resetPref browser.startup.homepage Parameters=-installer -resetPref browser.startup.homepage
WorkingDir=[SETUP PATH] WorkingDir=[SETUP PATH]
; Additional Options dialog. ; Additional Options dialog.
@ -997,7 +997,7 @@ Condition=RecaptureHPChecked
[Windows Registry0] [Windows Registry0]
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$ Key=Software\RetroZilla
Name= Name=
Name Value= Name Value=
Type=REG_SZ Type=REG_SZ
@ -1011,7 +1011,7 @@ Timing=pre smartupdate
[Windows Registry1] [Windows Registry1]
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$ Key=Software\RetroZilla\RetroZilla
Name= Name=
Name Value= Name Value=
Type=REG_SZ Type=REG_SZ
@ -1025,7 +1025,7 @@ Timing=pre smartupdate
[Windows Registry2] [Windows Registry2]
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$ Key=Software\RetroZilla\RetroZilla\$UserAgent$
Name= Name=
Name Value= Name Value=
Type=REG_SZ Type=REG_SZ
@ -1039,7 +1039,7 @@ Timing=pre smartupdate
[Windows Registry3] [Windows Registry3]
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Main Key=Software\RetroZilla\RetroZilla\$UserAgent$\Main
Name=Program Folder Path Name=Program Folder Path
Name Value=[Default Folder] Name Value=[Default Folder]
Type=REG_SZ Type=REG_SZ
@ -1053,9 +1053,9 @@ Timing=pre smartupdate
[Windows Registry4] [Windows Registry4]
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Uninstall Key=Software\RetroZilla\RetroZilla\$UserAgent$\Uninstall
Name=Description Name=Description
Name Value=$ProductName$ ($UserAgentShort$) Name Value=RetroZilla ($UserAgentShort$)
Type=REG_SZ Type=REG_SZ
Decrypt Key=FALSE Decrypt Key=FALSE
Decrypt Name=FALSE Decrypt Name=FALSE
@ -1067,7 +1067,7 @@ Timing=pre smartupdate
[Windows Registry5] [Windows Registry5]
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Uninstall Key=Software\RetroZilla\RetroZilla\$UserAgent$\Uninstall
Name=Uninstall Log Folder Name=Uninstall Log Folder
Name Value=[SETUP PATH]\uninstall Name Value=[SETUP PATH]\uninstall
Type=REG_SZ Type=REG_SZ
@ -1081,7 +1081,7 @@ Timing=pre smartupdate
[Windows Registry6] [Windows Registry6]
Root Key=HKEY_CURRENT_USER Root Key=HKEY_CURRENT_USER
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$ Key=Software\RetroZilla
Name= Name=
Name Value= Name Value=
Type=REG_SZ Type=REG_SZ
@ -1095,7 +1095,7 @@ Timing=pre smartupdate
[Windows Registry7] [Windows Registry7]
Root Key=HKEY_CURRENT_USER Root Key=HKEY_CURRENT_USER
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$ Key=Software\RetroZilla\RetroZilla
Name= Name=
Name Value= Name Value=
Type=REG_SZ Type=REG_SZ
@ -1109,7 +1109,7 @@ Timing=pre smartupdate
[Windows Registry8] [Windows Registry8]
Root Key=HKEY_CURRENT_USER Root Key=HKEY_CURRENT_USER
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$ Key=Software\RetroZilla\RetroZilla\$UserAgent$
Name= Name=
Name Value= Name Value=
Type=REG_SZ Type=REG_SZ
@ -1123,7 +1123,7 @@ Timing=pre smartupdate
[Windows Registry9] [Windows Registry9]
Root Key=HKEY_CURRENT_USER Root Key=HKEY_CURRENT_USER
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Main Key=Software\RetroZilla\RetroZilla\$UserAgent$\Main
Name=Program Folder Path Name=Program Folder Path
Name Value=[Default Folder] Name Value=[Default Folder]
Type=REG_SZ Type=REG_SZ
@ -1137,9 +1137,9 @@ Timing=pre smartupdate
[Windows Registry10] [Windows Registry10]
Root Key=HKEY_CURRENT_USER Root Key=HKEY_CURRENT_USER
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Uninstall Key=Software\RetroZilla\RetroZilla\$UserAgent$\Uninstall
Name=Description Name=Description
Name Value=$ProductName$ ($UserAgentShort$) Name Value=RetroZilla ($UserAgentShort$)
Type=REG_SZ Type=REG_SZ
Decrypt Key=FALSE Decrypt Key=FALSE
Decrypt Name=FALSE Decrypt Name=FALSE
@ -1151,7 +1151,7 @@ Timing=pre smartupdate
[Windows Registry11] [Windows Registry11]
Root Key=HKEY_CURRENT_USER Root Key=HKEY_CURRENT_USER
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Uninstall Key=Software\RetroZilla\RetroZilla\$UserAgent$\Uninstall
Name=Uninstall Log Folder Name=Uninstall Log Folder
Name Value=[SETUP PATH]\uninstall Name Value=[SETUP PATH]\uninstall
Type=REG_SZ Type=REG_SZ
@ -1164,9 +1164,9 @@ Timing=pre smartupdate
[Windows Registry12] [Windows Registry12]
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$) Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\RetroZilla ($UserAgentShort$)
Name=DisplayName Name=DisplayName
Name Value=$ProductName$ ($UserAgentShort$) Name Value=RetroZilla ($UserAgentShort$)
Type=REG_SZ Type=REG_SZ
Decrypt Key=FALSE Decrypt Key=FALSE
Decrypt Name=FALSE Decrypt Name=FALSE
@ -1177,7 +1177,7 @@ Timing=post smartupdate
[Windows Registry13] [Windows Registry13]
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$) Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\RetroZilla ($UserAgentShort$)
Name=UninstallString Name=UninstallString
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Name Value=[WINDIR]\$UninstallFile$ /ua "$UserAgent$" Name Value=[WINDIR]\$UninstallFile$ /ua "$UserAgent$"
@ -1251,7 +1251,7 @@ Program Folder=[Default Folder]
File=[SETUP PATH]\uninstall\$UninstallFile$ File=[SETUP PATH]\uninstall\$UninstallFile$
Arguments=/ua "$UserAgent$" Arguments=/ua "$UserAgent$"
Working Dir=[SETUP PATH] Working Dir=[SETUP PATH]
Description=Uninstall $ProductName$ Description=Uninstall RetroZilla
Icon Path=[SETUP PATH]\uninstall\$UninstallFile$ Icon Path=[SETUP PATH]\uninstall\$UninstallFile$
Icon Id=0 Icon Id=0
@ -1264,11 +1264,11 @@ Icon Id=0
Restricted Access=ONLY_RESTRICTED Restricted Access=ONLY_RESTRICTED
;[Program Folder0-Shortcut1] ;[Program Folder0-Shortcut1]
;File=[SETUP PATH]\$MainExeFile$ ;File=[SETUP PATH]\RetroZilla.exe
;Arguments=-ProfileManager ;Arguments=-ProfileManager
;Working Dir=[SETUP PATH] ;Working Dir=[SETUP PATH]
;Description=Profile Manager ;Description=Profile Manager
;Icon Path=[SETUP PATH]\$MainExeFile$ ;Icon Path=[SETUP PATH]\RetroZilla.exe
;Icon Id=0 ;Icon Id=0
;[Program Folder0-Shortcut2] ;[Program Folder0-Shortcut2]
@ -1306,9 +1306,9 @@ Message Unfinished Download Restart=A previous session of Setup did not finish d
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message Unfinished Install Xpi Restart=A previous session of Setup did not finish with installation of all the necessary files. Would you like to use the files previously downloaded, to avoid downloading them again? Message Unfinished Install Xpi Restart=A previous session of Setup did not finish with installation of all the necessary files. Would you like to use the files previously downloaded, to avoid downloading them again?
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Error Corrupted Archives Detected=Setup has detected that the following archives within this Setup are corrupted:%sYou will need to obtain another copy of the $ProductName$ Setup in order for installation to proceed. Error Corrupted Archives Detected=Setup has detected that the following archives within this Setup are corrupted:%sYou will need to obtain another copy of the RetroZilla Setup in order for installation to proceed.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Error Corrupted Archives Detected AUTO mode=Setup has detected that at least one archive within this Setup is corrupt. You will need to obtain another copy of the $ProductName$ Setup in order for installation to proceed. Error Corrupted Archives Detected AUTO mode=Setup has detected that at least one archive within this Setup is corrupt. You will need to obtain another copy of the RetroZilla Setup in order for installation to proceed.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Error Too Many CRC Failures=Too many download failures. Setup will cancel. Any files already downloaded will not be deleted. The next time Setup is run, these files will be taken into account during the download. Error Too Many CRC Failures=Too many download failures. Setup will cancel. Any files already downloaded will not be deleted. The next time Setup is run, these files will be taken into account during the download.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
@ -1350,13 +1350,13 @@ IDC Turbo Mode=&Use Quick Launch for faster startup times when possible
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message Download Paused=Setup has encountered a network problem and has paused the download. If you have just lost your network connection, please click Resume once your network has been reestablished. Message Download Paused=Setup has encountered a network problem and has paused the download. If you have just lost your network connection, please click Resume once your network has been reestablished.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message NORMAL Restricted Access=Setup has detected that you do not have the appropriate Administrator privileges to this system. It is highly recommended that you do not continue with the installation of $ProductName$, or it may not function properly. Would you still like to continue? Message NORMAL Restricted Access=Setup has detected that you do not have the appropriate Administrator privileges to this system. It is highly recommended that you do not continue with the installation of RetroZilla, or it may not function properly. Would you still like to continue?
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message AUTO Restricted Access=Setup has detected that you do not have the appropriate Administrator privileges to this system. Setup cannot continue with the installation of $ProductName$. Message AUTO Restricted Access=Setup has detected that you do not have the appropriate Administrator privileges to this system. Setup cannot continue with the installation of RetroZilla.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message Cleanup On Upgrade=A previous $ProductNameInternal$ installation has been found in the chosen directory.\n\nUnrecognized 3rd party components will be removed from this directory to prevent version incompatibilities and will have to be re-installed. Your $ProductNameInternal$ profile information will not be affected. Message Cleanup On Upgrade=A previous RetroZilla installation has been found in the chosen directory.\n\nUnrecognized 3rd party components will be removed from this directory to prevent version incompatibilities and will have to be re-installed. Your RetroZilla profile information will not be affected.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message Cleanup On Upgrade Windir=Setup has detected that the previous installation of $ProductNameInternal$ was installed to a folder within your Windows folder. Setup will not attempt to cleanup the previous installation of $ProductNameInternal$ due to the potential removal of critical system files. Message Cleanup On Upgrade Windir=Setup has detected that the previous installation of RetroZilla was installed to a folder within your Windows folder. Setup will not attempt to cleanup the previous installation of RetroZilla due to the potential removal of critical system files.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Cleanup On Upgrade Path Box String=Path to be cleaned up: Cleanup On Upgrade Path Box String=Path to be cleaned up:

View File

@ -36,7 +36,7 @@ ACCEPT_=&Accept
DECLINE_=&Decline DECLINE_=&Decline
PROGRAMFOLDER_=&Program Folder: PROGRAMFOLDER_=&Program Folder:
EXISTINGFOLDERS_=E&xisting Folders: EXISTINGFOLDERS_=E&xisting Folders:
SETUPMESSAGE=Setup has finished copying files to your computer. Before you can use $ProductNameInternal$, you must restart Windows or your computer. Choose one of the following options and click OK to finish setup. SETUPMESSAGE=Setup has finished copying files to your computer. Before you can use RetroZilla, you must restart Windows or your computer. Choose one of the following options and click OK to finish setup.
RESTART=Restart RESTART=Restart
YESRESTART=Yes, I want to restart my computer now. YESRESTART=Yes, I want to restart my computer now.
NORESTART=No, I will restart my computer later. NORESTART=No, I will restart my computer later.
@ -81,7 +81,7 @@ DLG_DISK_SPACE_CHECK_TITLE=Disk space check
DLG_DISK_SPACE_CHECK_CRUTIAL_MSG=Setup has detected insufficient disk space to continue with installation on %s for the path: %sRequired: %sAvailable: %sClick Retry if more disk space has been made available, or click Cancel to cancel Setup. DLG_DISK_SPACE_CHECK_CRUTIAL_MSG=Setup has detected insufficient disk space to continue with installation on %s for the path: %sRequired: %sAvailable: %sClick Retry if more disk space has been made available, or click Cancel to cancel Setup.
DLG_DISK_SPACE_CHECK_MSG=Setup has detected insufficient disk space to continue with installation process on %s for the path: %sRequired: %sAvailable: %sClick OK to go back and choose a different destination path. DLG_DISK_SPACE_CHECK_MSG=Setup has detected insufficient disk space to continue with installation process on %s for the path: %sRequired: %sAvailable: %sClick OK to go back and choose a different destination path.
ERROR_CREATE_DIRECTORY=Could not create folder: %sMake sure you have access to create the folder. ERROR_CREATE_DIRECTORY=Could not create folder: %sMake sure you have access to create the folder.
ERROR_MESSAGE_TITLE=$ProductNameInternal$ Setup Error ERROR_MESSAGE_TITLE=RetroZilla Setup Error
STR_FILE_NUMBER=File count: STR_FILE_NUMBER=File count:
STR_FILENAME=Filename: STR_FILENAME=Filename:
MSG_PLEASE_WAIT=Please wait... MSG_PLEASE_WAIT=Please wait...
@ -89,7 +89,7 @@ MSG_SMARTUPDATE_START=Preparing Install, please wait...
MSG_CONFIGURING=Configuring %s, please wait... MSG_CONFIGURING=Configuring %s, please wait...
ERROR_XPI_INSTALL=Error occurred during installation ERROR_XPI_INSTALL=Error occurred during installation
ERROR_SETUP_REQUIREMENT=Windows95 or greater Operating System is required! Exiting setup... ERROR_SETUP_REQUIREMENT=Windows95 or greater Operating System is required! Exiting setup...
DLG_EXTRACTING_TITLE=$ProductName$ Setup - Install Progress DLG_EXTRACTING_TITLE=RetroZilla Setup - Install Progress
STR_PROCESSINGFILE=Preparing file: %s STR_PROCESSINGFILE=Preparing file: %s
STR_INSTALLING=Currently installing %s STR_INSTALLING=Currently installing %s
STR_COPYINGFILE=Copying file: %s STR_COPYINGFILE=Copying file: %s

View File

@ -7,8 +7,8 @@
; values. ; values.
Run Mode=Normal Run Mode=Normal
Company Name=$CompanyName$ Company Name=RetroZilla
Product Name=$ProductName$ Product Name=RetroZilla
; Valid Path values: ; Valid Path values:
; PROGRAMFILESDIR ; PROGRAMFILESDIR
@ -58,14 +58,14 @@ Uninstall Filename=$UninstallFile$
Defaults Info Filename=defaults_info.ini Defaults Info Filename=defaults_info.ini
[Check Instance0] [Check Instance0]
Class Name=$ProductName$MessageWindow Class Name=RetroZillaMessageWindow
Window Name= Window Name=
Process Name=$MainExeFile$ Process Name=RetroZilla.exe
Pretty Name=$ProductNameInternal$ Pretty Name=RetroZilla
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message=$ProductNameInternal$ is detected to be currently running. Please quit $ProductNameInternal$ before continuing. Click OK to exit $ProductNameInternal$ automatically and proceed with uninstallation. Message=RetroZilla is detected to be currently running. Please quit RetroZilla before continuing. Click OK to exit RetroZilla automatically and proceed with uninstallation.
;*** LOCALIZE ME BABY *** ;*** LOCALIZE ME BABY ***
Message wait=Shutting down $ProductNameInternal$. Please wait... Message wait=Shutting down RetroZilla. Please wait...
; This key indicates whether or not to close all the windows associated with ; This key indicates whether or not to close all the windows associated with
; the process id of this app instance window found. ; the process id of this app instance window found.
@ -74,7 +74,7 @@ Close All Process Windows=TRUE
; These keys are not normally necessary for checking instances. They are ; These keys are not normally necessary for checking instances. They are
; set here because Mozilla requires a way to shut down its turbo mode. ; set here because Mozilla requires a way to shut down its turbo mode.
Extra Cmd0 Reg Key Root=HKEY_LOCAL_MACHINE Extra Cmd0 Reg Key Root=HKEY_LOCAL_MACHINE
Extra Cmd0 Reg Key=Software\Microsoft\Windows\CurrentVersion\App Paths\$MainExeFile$ Extra Cmd0 Reg Key=Software\Microsoft\Windows\CurrentVersion\App Paths\RetroZilla.exe
Extra Cmd0 Reg Name= Extra Cmd0 Reg Name=
Extra Cmd0 Parameter=-kill Extra Cmd0 Parameter=-kill
@ -141,7 +141,7 @@ CHARSET=0
; CHINESEBIG5_CHARSET = 136 ; CHINESEBIG5_CHARSET = 136
; OEM_CHARSET 255 ; OEM_CHARSET 255
Show Dialog=TRUE Show Dialog=TRUE
Title=$ProductName$ Uninstaller Title=RetroZilla Uninstaller
Message0=Are you sure you want to completely remove %s and all of its components? Message0=Are you sure you want to completely remove %s and all of its components?
Uninstall=&Uninstall Uninstall=&Uninstall
@ -184,5 +184,5 @@ MB_ATTENTION_STR=Attention
MSG_FORCE_QUIT_PROCESS=Uninstall has detected that %s (%s) is still running. Click OK to quit %s and proceed with uninstallation. Alternatively, use the Windows Task Manager to quit %s, and then click OK to continue with uninstallation. MSG_FORCE_QUIT_PROCESS=Uninstall has detected that %s (%s) is still running. Click OK to quit %s and proceed with uninstallation. Alternatively, use the Windows Task Manager to quit %s, and then click OK to continue with uninstallation.
MSG_FORCE_QUIT_PROCESS_FAILED=Uninstall will now exit. Uninstall could not continue because %s (%s) is still running. Try manually quitting %s using Windows Task Manager, and then run Uninstall again. MSG_FORCE_QUIT_PROCESS_FAILED=Uninstall will now exit. Uninstall could not continue because %s (%s) is still running. Try manually quitting %s using Windows Task Manager, and then run Uninstall again.
MSG_DELETE_INSTALLATION_PATH=Not all files were uninstalled from the installation directory:\n\n %s\n\nDo you want to completely delete this directory? MSG_DELETE_INSTALLATION_PATH=Not all files were uninstalled from the installation directory:\n\n %s\n\nDo you want to completely delete this directory?
MSG_INSTALLATION_PATH_WITHIN_WINDIR=Uninstall has detected that the installation path of $ProductNameInternal$ is installed to a folder within your Windows folder. Uninstall will not attempt to delete this installation due to the potential removal of critical system files. MSG_INSTALLATION_PATH_WITHIN_WINDIR=Uninstall has detected that the installation path of RetroZilla is installed to a folder within your Windows folder. Uninstall will not attempt to delete this installation due to the potential removal of critical system files.

View File

@ -56,11 +56,14 @@ use File::Copy;
use File::Path; use File::Path;
use File::Basename; use File::Basename;
$DEPTH = "../../../.."; $DEPTH = "../../../../../obj-sm95-release/";
#$topsrcdir = "/c/projects/moz95/mozilla";
$topsrcdir = GetTopSrcDir(); $topsrcdir = GetTopSrcDir();
# ensure that Packager.pm is in @INC, since we might not be called from # ensure that Packager.pm is in @INC, since we might not be called from
# mozilla/xpinstall/packager # mozilla/xpinstall/packager
push(@INC, "$topsrcdir/../mozilla/xpinstall/packager"); push(@INC, "/c/projects/moz95/mozilla/xpinstall/packager");
#push(@INC, "/c/projects/moz95/mozilla/xpinstall/packager/windows");
#push(@INC, "$topsrcdir/xpinstall/packager");
require StageUtils; require StageUtils;
ParseArgv(@ARGV); ParseArgv(@ARGV);
@ -72,7 +75,8 @@ $inStagePath = "$topobjdir/stage" if !defined($inStagePath);
$inDistPath = "$topobjdir/dist" if !defined($inDistPath); $inDistPath = "$topobjdir/dist" if !defined($inDistPath);
$cwdBuilder = "$topsrcdir/xpinstall/wizard/windows/builder"; $cwdBuilder = "$topsrcdir/xpinstall/wizard/windows/builder";
$gDistInstallPath = "$inDistPath/install"; $gDistInstallPath = "$inDistPath/install";
$gPackagerPath = "$topsrcdir/xpinstall/packager"; $gPackagerPath = "/c/projects/moz95/mozilla/xpinstall/packager";
if(defined($ENV{DEBUG_INSTALLER_BUILD})) if(defined($ENV{DEBUG_INSTALLER_BUILD}))
{ {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB