Visual Basic 6.0 Package and deployment wizard when finish installation, adds a registry key at HKLMSOFTWAREMicrosoftWindowsCurrentVersionApp Pathsapplication.exe, containing the installation path of the VB application. I noticed that with inno script and Inno setup that setting does not exist after setup. Is there a way to know the installation directory with inno script? I am using it for updates.
PA,
Check with Inno Setup at http://www.jrsoftware.org (http://www.jrsoftware.org) or in the Inno Setup help section in the program. What you want does exist but it will probably be a different registry entry.
If what you looking for is InnoSetup to find where the
program was installed then use this 2 lines under Setup section.
[Setup]
UsePreviousGroup=yes
UsePreviousAppDir=yes
I hope it helps.
George