Page 1 of 1

disable Uninstall

Posted: Thu May 19, 2011 1:25 pm
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

Re: disable Uninstall

Posted: Fri May 20, 2011 2:03 am
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 :)

Re: disable Uninstall

Posted: Mon May 23, 2011 6:38 am
by TracerXXX
Thanks giaviv, it worked great!

Re: disable Uninstall

Posted: Mon May 23, 2011 7:06 am
by giaviv
My pleasure!