Hello, all.
I'm in the process of porting our installer from InstallShield 10.5
to WiX 3.0.2211. The new installer is working well, but it is having
a bit of trouble uninstalling our old IS installations. (We're
running these tests under Windows 2003 Server in an account with
admin privs.)
The new installer and the old one have the same upgrade code,
different product and package codes (to make this a major upgrade),
and we added the Upgrade section and scheduled the
RemoveExistingProducts action:
<Product Id="*"
Name="Life Balance"
Language="1033"
Version="$(var.ProductVersion)"
Manufacturer="Llamagraphics, Inc."
UpgradeCode="B7B6DA90-C571-4381-BB34-6A64EE44D0CE">
...
<Upgrade Id="B7B6DA90-C571-4381-BB34-6A64EE44D0CE">
<UpgradeVersion Property="UNINSTALLPRODUCTS" Minimum="0.0.0.0"
Maximum="$(var.ProductVersion)" />
</Upgrade>
...
<InstallExecuteSequence>
<RemoveExistingProducts Before="InstallInitialize"/>
</InstallExecuteSequence>
In most respects, the uninstall is working. The old IS installer is
run in the proper mode, the old files and shortcuts are being
removed, etc. The problem is that the Add/Remove control panel still
shows the old IS entry alongside the new WiX entry after the upgrade
is complete. Clicking on the Change/Remove button for the old IS
entry immediately makes the entry disappear, but we really want this
cleaned up automatically.
The funny thing is that major upgrades between versions of our IS
installers work properly, so it seems that the old IS uninstall
script works properly when it is called from IS, but not from WiX.
We've been through verbose logs of both the IS -> IS upgrade scenario
and the IS -> WiX upgrade scenario, and though there are a lot of
minor differences between the two logs, we haven't identified
anything that would account for the problem. For instance, both log
files show "Executing op: ProductCPDisplayInfoUnregister()" being
executed during the uninstall.
Does anyone know why the old uninstalled product might still be
showing up in the Add/Remove control panel, or how we might go about
troubleshooting the problem?
Thanks,
--Stuart A. Malone
Llamagraphics, Inc.
Makers of Life Balance personal coaching software
http://www.llamagraphics.com/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users