 | | From: | George Balanis | | Subject: | INNO: How to set a registry key that depends on installation directory | | Date: | Wed, 19 Jan 2005 18:48:53 -0500 |
|
|
 | BACKGROUND I have been using InstallShield but now would like to convert to Inno. I have developed a method (based on Ronnie McGregor's method) to automatically check via the autorun if the application was installed before (in which case the installation switches to run the application main program) or not (in which case the installation proceeds).
I would like to use Inno to insert a registry key data (name and value) that containss the main file including the installation directory (the key is HKEY_LOCAL_MACHINE / SOFTWARE / MICROSOFT / WINDOWS CURRENT VERSION / APP PATHS / application.exe).
PROBLEM The key value that I want to enter is prefixed by the INSTALLDIR, ie the installation directory. How can I enter it?
Regards,
George Balanis
|
|
 | | From: | George Balanis | | Subject: | Re: INNO: How to set a registry key that depends on installation directory | | Date: | Thu, 20 Jan 2005 10:35:00 -0500 |
|
|
 | George Balanis Wrote:
> BACKGROUND > I have been using InstallShield but now would like to convert to Inno. I have developed a method (based on Ronnie McGregor's method) to automatically check via the autorun if the application was installed before (in which case the installation switches to run the application main program) or not (in which case the installation proceeds). >
Hello:
it seems that the latest version of INNO (4+) imbeds the registry changes within the scripit and should allow the use of {app} for the destination folder in the coding for the registry. The question is not valid anymore.
George
> I would like to use Inno to insert a registry key data (name and value) that containss the main file including the installation directory (the key is HKEY_LOCAL_MACHINE / SOFTWARE / MICROSOFT / WINDOWS CURRENT VERSION / APP PATHS / application.exe). > > PROBLEM > The key value that I want to enter is prefixed by the INSTALLDIR, ie the installation directory. How can I enter it? > > Regards, > > George Balanis > >
|
|