Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 156
  • Last Modified:

WiX Install Get Value via Dialog and update Config File

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
CipherIS
Asked:
CipherIS
1 Solution
 
Vadim RappCommented:
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now