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

  • Home
  • SEARCH
  • 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 5937061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:29:11+00:00 2026-05-22T15:29:11+00:00

We have a software that has couple of executables inside. One of the executables

  • 0

We have a software that has couple of executables inside. One of the executables is Windows service, and it doesn’t change that often, usually we release many updates to the main executable, but the service version is same inside installer.

When service is installed first time or upgraded with newer version, we need to run custom action. We managed to solve first install part, but we don’t know how to determine that version we’re installing now is newer than one that already exists. Sort of if(newver > oldver) run custom action.

Thank you in advance
– Jack

  • 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-22T15:29:11+00:00Added an answer on May 22, 2026 at 3:29 pm

    You can try using the upgrade rules of your package. More details here: How to implement WiX installer upgrade?

    Rob Mensching (the second answer in the linked thread) shows an example for upgrade rules. You should first familiarize yourself with the Upgrade table and how upgrade rules work. There isn’t an easy answer or a quick fix for this in WiX.

    Basically, you should have 2 upgrade rules

    • the first sets a property when an older version is found
    • the second sets another property when a newer version is found

    After that you can use the older versions property to condition your custom action. For example, if the property is named OLDERVERSIONFOUND the custom action condition can be:

    OLDERVERSIONFOUND 
    

    or something like

    OLDERVERSIONFOUND > "1.0.0"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have this software that has a webservices component. Now, the administrator of this
I have seen a lot of software that show that which registry has error.
We have software that runs fine under a normal Windows installation but when we
I have a software that is tracking an NTFS volume changes on a Windows
I have a GUI which has a couple of checkboxes that control special modes
I have a legacy piece of software that has a single manager which controls
I have a software that runs on mac (using terminal program) the program is
I have a software renderer that I am porting from PC to the iPhone.
I have this running software that is currently being used by about 400 people.
I have searched on the web for software that batch convert image at different

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.