disable Uninstall

Got a problem you cannot solve? Try here.
Post Reply
TracerXXX
Posts: 2
Joined: Thu May 19, 2011 1:16 pm

disable Uninstall

Post by TracerXXX »

I'd like the user to be able to install multiple instances of my application. Currently InstallAware will first ask to uninstall the app if it exists. I tried setting MAINTENANCE to false at the top of my script. This almost works. The issue with this is that on the second install (select different target folder) the folders I need are created in the correct target folder, but files are copied to the old target folder. When I step through the script the TARGETDIR variable looks correct. The "Install File" commands don't seem to work as expected.

Is there another way to accomplish what I'm trying to do?

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

Re: disable Uninstall

Post by giaviv »

Sure!

Just use the Transform Instance command. Place that command in the beginning of your MSIcode script and that will allow you to install multiple instances of your setup, side-by-side :)
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
TracerXXX
Posts: 2
Joined: Thu May 19, 2011 1:16 pm

Re: disable Uninstall

Post by TracerXXX »

Thanks giaviv, it worked great!
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: disable Uninstall

Post by giaviv »

My pleasure!
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
Post Reply