Reinstall To Custom Location

Got a problem you cannot solve? Try here.
Post Reply
jamesish
Posts: 15
Joined: Fri Jun 18, 2010 1:57 pm

Reinstall To Custom Location

Post by jamesish »

Hi folks,

I've been looking at something that seems tricky: reinstalling to a custom location.

During our installation sequence, we allow the users to pick a custom location using the pre-defined "Destination" screen. During our Upgrade sequence, we do a full uninstall/reinstall using a new InstallAware built installer with the same GUID code. This means the end user goes through the uninstallation sequence, then a new installation sequence.

Is there any way to hand the target directory from the uninstallation sequence to the installation sequence? I can't imagine there is, but I wanted to check.

Thanks!

James
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Reinstall To Custom Location

Post by giaviv »

James,

The best approach to this would be to have each installer write this location to the registry. Then, have your second installer read that registry value.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
jamesish
Posts: 15
Joined: Fri Jun 18, 2010 1:57 pm

Re: Reinstall To Custom Location

Post by jamesish »

Hi Aviv,

that's a really good idea. Thanks for the tip!

James
Post Reply