alfredol
Posts: 1
Joined: Sat Apr 01, 2006 5:16 pm

Pre-install Checking

The previous release of our software used InstallShield. The next release will use Advanced Installer. How can I have AI detect that an older IS version of the software is installed? We require our customer to remove the IS application first before installing.

Once we migrate to AI, I assume that the next release could detect an older version as long as the same PRODUCT GUID is used as in IS.
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi,

You can have the package created with Advanced Installer upgrade the one created by IS.

Here is how it can be done:

- Create the project in Advanced Installer and save it. Be sure that the Version of this package is higher than the version of the package that
must be uninstalled. You can set it in the "Product Details" page.
Also, the installation type of the packages must be the same: per user,
per machine etc. (Install Parameters page).

- Now you have to find out the Upgrade Code of the package that is created with InstallShield. You could get it by opening the MSI with ORCA or another MSI editor. Look in the "Property" table for the "Upgrade Code" property.

- Open the AIP file with a text editor. Replace the present UpgradeCode
with the upgrade code of the older package.

- Now save the AIP and build the project from Advanced Installer.

Please let me know if you encounter any problems.

Best regards,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com
jbridges
Posts: 38
Joined: Fri Jun 09, 2006 12:36 am

How do I detect an old release created with InstallShield 7

The customer may have an old release created by InstallShield 7.1. I want to detect that and insist that it be uninstalled first.

The previous post/answer assumed that the old InstallShield installation was created by an MSI installer. However, that is not the case here.

I tried doing a search for a GUID as a directory folder in the registry. However, there are several GUIDs I must search for. In one test, I find that the search returns positive - based upon a search for INSTALLSTATE_UNKNOWN for a particular GUID - corresponding to release 3.1

But ... that GUID is not in the place I would expect it, ie.
Software\Microsoft\Windows\CurrentVersion\Uninstall. I haven't actually tracked where the GUID is but this seems to indicate that the search I am using is not valid.

Return to “Common Problems”