Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 964153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T01:46:58+00:00 2026-05-16T01:46:58+00:00

I’m making ‘minor upgrade’ packages using WIX. I’m confused when it comes to basing

  • 0

I’m making ‘minor upgrade’ packages using WIX. I’m confused when it comes to basing the upgrade packages.

When I generate a patch do I always base off version 1, or do I base version 3 off of version 2?

in short, I’m having trouble understanding the

<UpgradeImage SourceFile="$(var.ProjNew)" Id="Upgrade1_$(var.NewID)">
    <TargetImage SourceFile="$(var.ProjOld)" Order="2" Id="Target1_$(var.NewID)" IgnoreMissingFiles="no" />
</UpgradeImage>

ProjNew should point to the new MSI, what should ProjOld point to? the first MSI, or the n-1 MSI?

could someone help me understand whats going on and how to do this correctly? Ideally someone who’s running version1 when version 3 comes out could just get one update package, that leads me to believe I should always base off version1. But if I do that what happens if someone has version 2 installed? are they toast?

I think the heart of my question is assume I’ve built three versions 1, 2, and 3. Assume each is based on version 1. If someone installs version 1 and then version 2. They then get version 3 patch what will happen? will msiexec remove patch 2 and then apply patch 3? keep in mind patch 3 is based off of version 1.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T01:46:58+00:00Added an answer on May 16, 2026 at 1:46 am

    First, unless you absolutely must use WiX v2 don’t use the PatchCreation element. Switch to using WiX v3’s Patch element. It si far easier to use, more powerful and has much better error checking.

    Now what it sounds like you want to do is to create a patch that targets multiple products. In other words, you want a single patch that can target both v1 and v2 to turn them into v3. The way you accomplish this is creating a transform from v1 to v3 and another transfrom from v2 to v3.

    To do that start by reading the “Using Purely WiX” topic in the WiX.chm. When you get to the part that says “Create the transform between your products” do that step twice to create a v1tov3.wixmst and a v2tov3.wixmst. Then in the “Build the patch” step, provide both .wixmst files on the commandline. Pyro will take care of the rest.

    There are a lot of options in the Patch element. If you don’t them don’t turn them on. It really isn’t that complicated when you follow the step by step and practice a little bit.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I have a French site that I want to parse, but am running into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.