Quote:
Originally Posted by babak1
Help. What needs to change in reg file that would be the installation path changed automatically when you manually change in setup.exe. What needs to be replaced (D:\) and (Silent Hill 3).
|
Look under useful programs topic for Reg to INNO Converter.
The program will change reg files into ISS script so you can easily add them to your [Registry] section of ISS scripts.
To answer your question you change ALL D:\Silent Hill 3 to {app}
which will allow installation to ANY HD & folder. I also removed the \Wow6432Node, as this will make it ONLY for 64 bit systems, Windows 64 bit systems will auto correct it to right section if running 64 bit OS, otherwise it will work as is for 86bit OS. See Below:
Code:
[Registry]
Root: HKLM; SubKey: SOFTWARE\Konami; Flags: uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Konami\SILENT HILL 3; ValueType: string; ValueName: movie; ValueData: {app}; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Konami\SILENT HILL 3; ValueType: string; ValueName: sound; ValueData: {app}; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Konami\SILENT HILL 3; ValueType: string; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Konami\SILENT HILL 3; ValueType: string; ValueName: data; ValueData: {app}; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Konami\SILENT HILL 3; ValueType: string; ValueName: save; ValueData: {app}\savedata; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Konami\SILENT HILL 3; ValueType: string; ValueName: installdir; ValueData: {app}; Flags: uninsdeletevalue uninsdeletekeyifempty