Hi Everyone!

I just recently started getting into deploying, right now I'm using VS Studio Deployment Project and after that Orca for customizing. I tried to read over Platfrom SDK help and your messageboard as well but couldn't find the solution to the following problem:

In full UI, on the form where install directory can be set, I'd like to set the default location to the directory where previous version was installed. As I understood from the SDK help, this can't be done with an executable custom action, but I don't know much about Scripting myself...

Anybody know of any way this could be somehow asked from previous install and set in current?

Thank you,
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


I'd look into the use of the AppSearch action. If the old applications install folder is stored in the registry, you could read that and populate a property with the value.

For example, some applications store this value in the HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\[AppId]\InstallLocation registry key.
Others may store a value in the HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\[ExecutableName.exe] etc etc etc.
Answered 02/24/2006 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
Thank you very much... I should have known![:-]
Answered 02/24/2006 by: ChrisAtPhilo
Senior Yellow Belt

Please log in to comment