Hi,

I've been struggling with a major upgrade scenario for quite a while.  I have 
an MSI that's already deployed, and I'm building another one to replace the old 
version, so I'm making it a "major upgrade" (i.e., same UpgradeCode, different 
ProductCode, higher Version #, an Upgrade table, etc.).  The new installer has 
an entirely different feature and component structure, with different Component 
GUIDs and different Feature IDs, so I essentially want to wipe out the old and 
one and then install the new one in the same place.  One thing to note is that 
the old MSI was a .vdproj and the new one is implemented in WiX.

My problem is that when I install the new MSI, it successfully removes the old 
product, but it fails to install the new product over it.  After the 
installation, it even displays the dialog indicating that the installation 
completed successfully, but none of the new files are present (even the 
containing target directory is still gone from its removal in the uninstall 
step).

The Add/Remove Programs list displays an entry for the new product (with the 
new version number), but this points to nothing.  When I click "Remove" on 
that, it indicates (as expected) that there's a problem with the Windows 
Installer package.

I've analyzed the verbose logs, but I can't seem to find the point where it 
trips up before it installs the new files.

Anyone have any ideas?

Note: I've scheduled the RemoveExistingProducts action between InstallValidate 
and InstallInitialize.  Also, the new product's installer is implemented in WiX 
2.0.

I can include my WiX source or the install log if necessary.

Any insights would be greatly appreciated.  Thanks.
~Vishal
-------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to