Solved

WiX Install Get Value via Dialog and update Config File

Posted on 2016-09-02
1
48 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
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now