major-upgrade

How can I force a major upgrade to not switch to maintenance mode using the old installation package?

I have an installer that I would like to use for a major upgrade. I have done the following: Increased the version number (from a.b.c to a.b.c+1) Changed the ProductCode Kept the same UpgradeCode Made the appropriate entry in the Upgrade table Changed the component ID of an existing component Changed the name of the installer package ...

Problem with WiX major upgrade!

The Problem: I need both these files, PathwaysMDF and PathwaysLDF to replace (overwrite) the old copies on a major upgrade. Okay, this WiX is driving me crazy. The settings file works perfectly, however the database files are still not working! I have tried several approaches... Here is the code attempting this with the registry key...

Replacing unversioned files in WiX major upgrade.

EDIT! Okay, further examination and experimentation is showing that the problematic file, the pathwaysMdf file, IS being installed! However, after being installed, it's being REMOVED, by a RemoveFiles action! I imagine it's doing this because that file is part of the original install, so it's doing it's job uninstalling and cleaning u...

WiX major upgrade! Need different behaviors for different components...

Okay! I have finally more closely identified the problem I'm having. In my installer, I was attempting to get a settings file to REMAIN INTACT on a major upgrade. I finally got this to work with the suggestion to set <InstallExecuteSequence> <RemoveExistingProducts After="InstallFinalize" /> </InstallExecuteSequence> This is su...

WiX3 major upgrade not working

I have a major upgrade that I am trying to do, but it just doesn't work. It simply installs the new program along side the old one. They are in different directories (as I changed the directory structure with the new version) so there are no conflicts, but the old one NEEDS to be erased in order for my product to function properly. <Pro...