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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:45:43+00:00 2026-05-28T03:45:43+00:00

I have an installer authored in Wix. The installer UI allows the user to

  • 0

I have an installer authored in Wix. The installer UI allows the user to select some settings. For example there is a checkbox to enable https for the web services. The values of these settings are stored in the windows registry using Rob Mensching’s “Remember Property” pattern. They update config files using the WixUtilExtension XmlFile. Installing the application the first time works fine.

When the user runs the installer again (when the application is already installed) they are given the option of changing features via the MaintenanceTypeDlg. The user can add or remove features in the CustomizeDlg. Then the installer wizard allows the user to change settings (e.g. https web services). Feature changes work fine, but when the user changes a setting it is ignored (the config file and registry key is not updated). Presumably because the config file and registry key are already installed.

How can I get the installer to make setting changes (update config files and registry keys) when making feature changes? Or is this not the right thing to do with windows installer?

  • 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-28T03:45:44+00:00Added an answer on May 28, 2026 at 3:45 am

    The XmlFile WixUtilExtension will only run in two scenarios. If the component it belongs to is being installed the xml entry will get modified, and when the component is being uninstalled the xml entry the modification will get removed.

    During a maintenance installation, the xml entry is not touched because the component most likely has the properties State: Installed, Request: Local, and so Action: Null.

    http://msdn.microsoft.com/en-us/library/windows/desktop/aa367858.aspx

    The fix is “to set REINSTALL” as mentioned here:
    http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/use-XmlFile-XmlConfig-in-maintenance-mode-td5520598.html

    Try setting the property REINSTALL=ALL using the command line to see if that works.
    If so, then I’m thinking it can be set dynamically if the user chooses to perform a maintenance installation.

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

Sidebar

Related Questions

I have an installer authored with Wix. In the UI wizard, there's a checkbox
We have an MSI we have authored in WiX 3.5.2030.0 and targeting Windows Installer
I have an installer which installs services and then starts them. On some machines
I have an msi (authored with WIX) that has a check box bound to
I have installation solution that have installer project (not web installer but simple installer)
We have an installer for application that is compiled using WiX and each version
I have an installer class which I use to do some processing on the
I have a WiX installer and I am following wix-tricks-and-tips My variables all work
I have installer generated by WiX and I want it to ask: You have
We have an installer to create some SQL objects. For SQL Server we have

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.