Using InstallShield Express 3.5
I am trying to figure out how to get my installation upgrade a previous installation.
I have build a setup and install that installation. Then i have change the Product Code and Product Version and added an upgrade path with proper information. But when i install this build it still asks me for the destination folder. I looked in the registry in the uninstall key for my product code and noticed that the InstallLocation key is empty. I also noticed that in the App Paths there is no entry for the path of the installation
I tried the following:
Create a registry entry for the App Paths with the name of my app. Then use this registry key as the destination folder for my installation as explained in the help. The registry key did get created but when i tried and upgrade the installation directory is not set to the Default value of this key as it is mentionned in the help. I also thought about setting the InstallLocation key value by adding a registry entry with the {GUID} but go a message that this key name had invalid characters and also think that this is something that should be handled by the installation program automatically.
My questions:
1) Why is it asking me for a destination folder since it is an upgrade to an existing installation ? If it should ask me for an installation path then it should at least put the current installation path that the installation was installed in.
2) Why is the InstallLocation key empty in the Uninstall key
(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{GUID}) ?
3) Why isn't there an entry in the App Paths for my installation.
((HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\myappname) ?
thanks for your help.
Louis.



Reply With Quote