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 8407487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:22:41+00:00 2026-06-09T23:22:41+00:00

I have generated a patch.msp file using wix tools and the when I install

  • 0

I have generated a patch.msp file using wix tools and the when I install it via command line using the following command, all components of my app get updated.

Install patch.msp file via command line works perfect!

msiexec.exe /p patch.msp /l*vx patch.log /qb REINSTALL=ALL REINSTALLMODE=omusa

but when a user installs the patch.msp file using Windows Explore (basically double clicking on the file). it installs fine (NO Errors generated, also get displayed in Installed Updates) but my dlls and .exe files do not get updated.

so how can i make this install with REINSTALL=ALL? is there a command i can add to the patch.wxs file?

thanks in advance

Edit

<CustomAction Id="PatchInstall" Property="PATCH" Value="REINSTALL" />
<InstallExecuteSequence>
  <Custom Action="PatchInstall" Before="InstallInitialize">REINSTALL="ALL"</Custom>
</InstallExecuteSequence>

Update on this – 2012/09/27

The suggested method did not work but the problem with my solution is the file version did not change therefore the installer displays warning message advising that files have not changed. i found this in the log when installing the patch:

MSI (s) (48:F4) [17:32:34:025]: File: C:\Muzi_Test_Installer\ACME.dll;  Won't Overwrite;    Won't patch;    Existing file is of an equal version

so i’m going to update the file version and re-run the test.

Final Update
okay just to confirm this was a file versioning issue! just by updating the file version the MSP installs fine with no problem.

  • 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-06-09T23:22:43+00:00Added an answer on June 9, 2026 at 11:22 pm

    You can try to set REINSTALL property to ALL if the patch is being installed.

    So you need to modify your new package and add a new custom action which changes REINSTALL value conditioned on PATCH property.

    Edit: You want your custom action to work this way:

    if (PATCH) {
        REINSTALL = "ALL";
    }
    

    So in WiX, it looks as:

    <CustomAction Id="PatchInstall" Property="REINSTALL" Value="ALL" />
    <InstallExecuteSequence>
        <Custom Action="PatchInstall" Before="InstallInitialize">PATCH</Custom>
    </InstallExecuteSequence>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have generated a pdf file with password protection by using the following code:
Say I have generated the following binary file: # generate file: python -c 'import
I have generated a DAL layer with Subsonic2.2 for a .NET4.0 application, using c#
I have generated an excel file from xml. But i can not open it
I have generated a C# SharePoint Sequential Workflow project using the very handy STSDEV
I have generated using openssl mycert.pem which contents the certificate. And I converted the
I have generated an XML file that and one of the nodes contains data
EDIT: Decided tp use the patch utility and generated the SQL from there using
I have a main product which is installed using Wix and has its own
I have a file generated by a compiler that has warning messages in the

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.