Solved

WiX Install Get Value via Dialog and update Config File

Posted on 2016-09-02
1
92 Views
Last Modified: 2016-09-07
So, I was looking at below.  I need to update the config file.  Connection String.  Any idea how to get the value from the user then update it?

https://ranjithk.wordpress.com/2009/11/06/wix-update-application-configuration-files-during-installation/
0
Comment
Question by:CipherIS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 41783109
In MSI installations, all properties are set by one of the 4 ways:

1. the property is linked to a control in user dialog, so the user will specify it during the installation
2. the property is specified in command line when launching the installation (usually when the installation using method #1 is being run in quiet mode)
3. the property is found as the result of system search.
4. the property is set by custom action.

In your case, probably #1. https://www.firegiant.com/wix/tutorial/user-interface-revisited/ has tutorial.
1

Featured Post

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question