Solved

WiX Install Get Value via Dialog and update Config File

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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Among others, I monitor the Windows Installer zone and Installer zone. I find that many of the questions could be answered much more quickly if a Windows Installer verbose log were submitted with the question.   However, I do not always have t…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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