How to stop InstallAWare from unistalling a previous version

Got a problem you cannot solve? Try here.
Divernut
Posts: 3
Joined: Wed Sep 26, 2007 3:36 pm

How to stop InstallAWare from unistalling a previous version

Postby Divernut » Tue Oct 16, 2007 3:11 pm

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. :|

Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Postby Alex_Ronquillo » Tue Oct 16, 2007 5:30 pm

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.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

cancelor
Posts: 16
Joined: Mon Oct 22, 2007 4:22 pm

How to stop InstallAWare from unistalling a previous version

Postby cancelor » Mon Oct 22, 2007 4:29 pm

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...


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 117 guests