Solved

WiX Install Get Value via Dialog and update Config File

Posted on 2016-09-02
1
57 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…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

823 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