|
|
|
#1
|
|||
|
|||
|
Quote:
http://fileforums.com/showpost.php?p=361849&postcount=4 which already had the original installers uninstall key plus the Inno Setup uninstall key. I decided to keep the original uninstall program and reg keys because some updates check these reg keys to verify if the game is installed. Since I don't know which keys the updates may check, I want to use all of the keys created by the original installer. The original DVD Menu also checks the uninstall keys created by the original installer to determine if the game is already installed or not. I haven't found how you make the installer get the previous install path from the registry except for the default option which is that it checks the uninstall key created by Inno. Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway_is1] "Inno Setup: App Path"="F:\\Games\\Brothers in Arms - Hell's Highway" This is the code for the Star Menu links Code:
[Icons]
Name: "{group}\Brothers in Arms - Hell's Highway"; Filename: "{app}\Binaries\biahh.exe"; WorkingDir: "{app}\"; IconFilename: "{app}\Binaries\biahh.exe"; OnlyBelowVersion: 0,6
Name: "{group}\Manual"; Filename: "{app}\Support\Manual\Manual.pdf"; WorkingDir: "{app}\"; IconFilename: "{app}\Support\Manual\Manual.pdf"; OnlyBelowVersion: 0,6
Name: "{group}\Readme"; Filename: "{app}\Support\Readme.txt"; WorkingDir: "{app}\"; IconFilename: "{app}\Support\Readme.txt"; OnlyBelowVersion: 0,6
Name: "{group}\Home Page"; Filename: "http://www.hellshighwaygame.com/"; WorkingDir: "{app}\"; IconFilename: "{app}\Binaries\uninst.exe"; OnlyBelowVersion: 0,6
Name: "{group}\{cm:UninstallProgram,Brothers in Arms - Hell's Highway}"; Filename: "{app}\Binaries\uninst.exe"; IconFilename: "{app}\Binaries\uninst.exe"; OnlyBelowVersion: 0,6
Quote:
Quote:
Root: HKCU; Subkey: "Software\UBISOFT\"; Flags: uninsdeletekey was left from your script but I didn't originally change it since I'm not using the inno uninstaller, it won't be removed anyway. For clarity's sake, I did update the script to remove the flag This setup installs and uninstalls correctly on Vista and XP. The only items left are the 2 reg keys. The key located at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\GameUX\Games\{6AD1A63B-AB60-439B-AD8E-F28CAE8C631D} is also left by the original installer/uninstaller. The key located at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Uninstall\Brothers in Arms - Hell's Highway_is1 is the key I created so Inno Setup would find the previous install. It isn't uninstalled because it is not an item created by the original game install. This key won't harm anything if left, It will just cause the installer to display the path stored here as the install path. I left the uninsdeletekey flags in case someone wanted to use this script and enable the Inno uninstaller. The flags do nothing when using the biahh uninstaller. If you do enable the Inno uninstall, you will end up with 2 unstall entries in Add/Remove programs. If you remove the original uninstall keys, then the DVD Menu and possibly future game updates won't work. Last edited by The One; 02-05-2009 at 06:14. |
| Sponsored Links |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INDEX - CD2DVD Conversion Index **UPDATED: 17-07-2024** | Grumpy | PC Games - CD/DVD Conversions | 252 | 16-07-2024 20:35 |
| Brothers in Arms - Hell's Highway | cdkiller | PC Games - Protection List | 0 | 24-10-2008 13:42 |
| Phantasy Star Universe (DVD9 to 2 DVD5 OR DVD9 to 1 DVD5) | Heretic666 | PC Games - CD/DVD Conversions | 6 | 26-12-2006 06:28 |
| ParaWorld (DVD9 to 1x CD-R & 1x DVD5) OR (DVD9 to 1 DVD5) | !HaGaR! | PC Games - CD/DVD Conversions | 11 | 25-10-2006 08:45 |