[wix-users] Issues when Major Upgrade an InstallShield package

Hoover, Jacob Jacob.Hoover at greenheck.com
Tue Jan 31 08:10:49 PST 2017

If you deploy a bundle, you could put an exe package in the chain with a custom detect and install condition that would cleanup/remove your old install shield installation. This custom exe would be fairly easy to write, and would simply lookup your old installer (reg search or MSi* calls) to find the location and arguments needed to be passed to remove the old application.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Michael Urman
Sent: Tuesday, January 31, 2017 9:35 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Issues when Major Upgrade an InstallShield package


Your InstallScript MSI package is not purely from the world of MSI, so you shouldn't expect it to be removed solely with MSI's approaches.

The action property of an Upgrade table entry is filled with the product code of any matching installer. For ease in detecting this scenario I would suggest altering your upgrade code in order to differentiate your pre- and
post- InstallScript MSI packages from each other, and correspondingly adding a new entry to the Upgrade table. But even if you don't do that, you can look for and, if found, execute "C:\Program Files\InstallShield Installation Information\{ProductCode}\setup.exe /uninst". Note that as this will invoke Windows Installer, it cannot be called from the execute sequence of another MSI.


On Tue, Jan 31, 2017 at 4:22 AM, Persson, Magnus (SE-TLX) < magnus.persson at assaabloy.com> wrote:

> We've been using InstallShield for 20 years and are frankly fed up 
> with all bugs and workarounds required to us it.
> WiX is the perfect replacement but until the first upgrade (i.e. from 
> InstallShield to WiX) there are a couple of things I need help with.
> When I launch the new WiX package that will Major Upgrade the existing 
> InstallShield package, a dialog will popup during 'Validating install'.
> This dialog will have a textbox with the text "Windows(r) installer 
> (Process Id: 4808)" and I can select 'Exit', 'Ignore' or 'Retry'.
> The only way forward will be to click on 'Ignore' which will cause the 
> upgrade to require a restart at the end (which is fine).
> I assume this additional MSI process is some hack within InstallShield 
> but is there a way to prevent this scenario?
> After the WiX installer has finished there is still a leftover in the 
> ARP control panel applet and the reason for this is again an 
> InstallShield hack 
> (HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\InstallShiel
> d_{
> Product
> Id}".
> Is there a good way to detect the product id of the InstallShield 
> package beeing major upgraded so the registry key can be removed by 
> the WiX package?
> Thanks,
> Magnus
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list