/build/static/layout/Breadcrumb_cap_w.png

Getting Install Directory of previous version

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,
Chris

0 Comments   [ + ] Show comments

Answers (2)

Posted by: brenthunter2005 18 years ago
Fifth Degree Brown Belt
0
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.
Posted by: ChrisAtPhilo 18 years ago
Senior Yellow Belt
0
Thank you very much... I should have known![:-]
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ