upgrade - generating patches with WIX - base version 3 off version 1 or version 2? -


I am creating a 'minor upgrade' package using WIX. I'm confused when coming up on the upgrade package

When I create a patch, do I always turn off version 1 or do I base version 2 version?

In short, I'm having trouble understanding me

   & Lt; / UpgradeImage & gt;  

ProjNew should point to the new MSI, what should the consolidation point do? First MSI, or N-1 MSI?

Does anyone help me understand what is going on and how can it be done correctly? Ideally someone is running Version 1 when version 3 comes out, an update package can be found, which makes me believe that I should always support version 1. But what if I do this, if anyone has version 2 installed? Are they toast?

I feel that I accept the heart of my question, I have created three versions 1, 2 and 3. Suppose each version is based on 1. If a version installs version 1 and then version 2. So what will they be the version 3 patches? Remove Msiexec Patch 2 and then Apply Patch 3? Keep in mind Patch 3 is based on version 1.

First of all, unless you absolutely do not use the WiX v2 patch creation element YX v3 patch Switch to using Element It is easy to use so far, is more powerful and is checking for better error.

Now it seems that you want to do this to create a patch that targets many products. In other words, you want a single patch that can target both v1 and v2 to convert to v3. The way you complete it is changing from v1 to v3 and the second transform from v2 to v3.

In the WiX.chm to start using "purely using the YX" topic, when you get to the part that is called "Make changes between your products" then do this Take the steps to make a v1tov3.wixmst and a v2tov3.wixmst twice. Then in the "Build the Patch" step, provide both the wins file on the command line. The pyro will take care of the rest.

There are many options in the patch element if you do not do them, do not turn them on. It's not really complicated when you follow step by step and practice a little bit.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -