That is supported by Windows Installer and shouldn't be happening if your MSI 
is setup correctly even in Installshield. For a major upgrade you need to 
change the Package code, Product code and version and leave the Upgrade code 
the same.

WiX 3.5 makes this easy to setup 
http://wix.sourceforge.net/manual-wix3/major_upgrade.htm, 
http://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/ 

Here is the setup for v3 
http://neilsleightholm.blogspot.co.uk/2009/01/wix-script-for-major-upgrades.html
 

Neil

-----Original Message-----
From: Ian Brooke [mailto:ianbro...@hotmail.com] 
Sent: 08 May 2012 01:38
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Add/remove Programs

I hope you don't mind this slightly unusual question!

We have a product currently installed by Installshield (Express 2012) which we 
are considering switching to WiX but don't really want to spend the time doing 
that if it doesn't solve our problem.

What I really need to determine is if this is standard Windows Installer 
behaviour or, if I can stop it happening by switching to WiX.

Here's the problem - We are creating an msi embedded exe which is intended to 
either upgrade an existing version if one exists on the target computer 
otherwise do a full install.  The upgrade has a new Product Code but the 
existing Upgrade Code.  Both the upgrade and install appear to work fine, 
except....

Problem 1.  After an upgrade if we check Add/Remove Programs there are 2 
entries, one for the old version and one for the new one.

Problem 2.  After an upgrade I can use the old version uninstall entry and that 
works Ok and leaves the new version Ok.  However, if I then uninstall the new 
version it leaves an empty application folder (which was originally created by 
the old version install) under Program Files(x86).

I'd really like to stop both of these happening.

Thanks for any advise. 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to