Page 1 of 1

How to stop InstallAWare from unistalling a previous version

Posted: Tue Oct 16, 2007 3:11 pm
by Divernut
I am using the same Product code with different Revision codes for my installsets. When I try to install a new set, it keeps unistalling the first one. I do not want this to happen because I want to have two differnt copies of the program in two different folders for testing purposes. Also When I try to change the destination folder it only changes the main folder and not the sub folder path.

ex: the TARGETDIR is set to C:\\MYCompany\\myProgram\\Enterprise and at the destination dialog box, I want to change it to C:\\NewCompany\\ but it keeps putting the myProgram\\Enterprise in there after it. :|

Posted: Tue Oct 16, 2007 5:30 pm
by Alex_Ronquillo
For the first problem, just remove the following line from the Install Application Pre-requisites region in the MSI script:

Code: Select all

Install/Remove MSI Package $PRODUCTCODE$[REMOVE=ALL] (get result into variable REMOVEOLD)


For the second one, that is the default behaviour of the destination dialog. Try playing with it a little.

How to stop InstallAWare from unistalling a previous version

Posted: Mon Oct 22, 2007 4:29 pm
by cancelor
I have exactly the same problem (IA 7.0); I tried to comment out the indicated line, and I created a new build (so: new revision code, and same product code). What happens is that the setup finds it needs to upgrade, but doesn't upgrade it (because of the commented line). But no new installation is performed! Please help...