I am creating a Wix installer and I would like to store some values that are set by the user during the installation process in such a way that I can read them at a later point in time. Obviously I could save these values in the registry but is there a better way to achieve this in Wix?
Storing user-entered data from a Wix installer
754 Views Asked by Paul Hunt At
2
There are 2 best solutions below
2
Stein Åsmul
On
I haven't used this feature. but you should investigate this blog entry from Rob Mensching: http://robmensching.com/blog/posts/2010/5/2/the-wix-toolsets-remember-property-pattern/
Here is another stackoverflow post: Advanced RememberProperty pattern
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in WIX
- Word Addin not working in 64bit office but working on 32bit office
- How to define WIX agent requirement in TeamCity?
- WiX and custom extensions for primary output?
- executing an vb script from another project bud in the same solution in C#
- WiX – copy arbitrary files
- Is Component/@Guid attribute is a MUST in case of producing MergeModule
- WiX installer - change the install path
- Single Package Authoring
- Delay in custom action
- WiX - How to use a config file to decide which MSI to run?
- How to change Install button display text conditionally
- Service dependencies are causing my wix msi to force a reboot on uninstall
- WiX installer xml add folder
- wix and heat configure installation folder
- Cant find File System, Registry icon in WIX setup project in Visual Studio
Related Questions in INSTALLATION
- Bundle Multiple Xamarin apps in one pkg installer
- install a R package from directory
- Can I automate auto-app installation on my Android device?
- Stop the installshield installation if a file is not found in vb.net
- GVM: Issue when installing GVM in Ubuntu 14.04
- Not able to format namenode in hadoop-2.6.0 multi node installation
- How to install SFML in ubuntu?
- how to install packages from pypi to anaconda?
- What is PREFIX IN make PREFIX=$HOME/usr/local/OpenBLAS?
- WiX installer - change the install path
- First time app run action depending on how app was installed (Android)
- First time app run action depending on how app was installed (iOS)
- Error while installing HBase on windows
- Produce both versions x32 and x64 under PyInstaller
- Python: Trouble with dill installation
Related Questions in WINDOWS-INSTALLER
- How can I install an MSI using python's subprocess, passing an install directory containing a space?
- Upgrading MSI throwing 'method not found' error
- Windows installer - run a subsequent time, select "modify" and run specific steps
- Single Package Authoring
- WiX - How to use a config file to decide which MSI to run?
- Want to create mysql user in installation with full Privileges In NSIS
- How to change Install button display text conditionally
- error of updating an C# web service application by accessing a URL from MS installer command "msiexec" in C# VS 2010
- Service dependencies are causing my wix msi to force a reboot on uninstall
- Running msi causes “module failed to register” in 32bit win7,but works in 64bit win7
- Change the installation path with msi API
- After installation of website it changes Application Pool of web application that follows it.
- Getting strange errors when installing visual studio 2015 community rc
- Creating a silent installer for a MSI
- install msi with a product code through msiexec
Related Questions in WIX-EXTENSION
- WIX Feature Tree with Checkbox selection
- How do I modify a CDATA Node in WiX with the XmlFile element?
- Wix: Is there any wix command to create database user?
- How to change directory in wxs file where all dll and other files will be installed?
- WIX enable Windows feature
- Wix Managed bootstrapper
- How I can display localized WiX UI in my managed bootstrapper?
- WiX Minimal UI shows first lines empty with Arabic text
- Is it possible to have multiple condition (bal) for a wix bundle?
- File missing after upgrade
- How to reference WixDifxAppExtension in a .wixproj file?
- How to include heat generated wsx files in a smart way in wix installer?
- Wix - UI sequence broken migrating from VS ultimate 2010 to WixEdit
- Wix Toolset: How to reference custom wix extension in wix project
- Visual Studio doesn't release files used in WiX Extension
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
What's so wrong with storing them in the registry?
Seriously :)
I've been in the business for 20+ years and have seen the evolution from Windows 3.1 to Windows 8.1... going back further to Commodore 64 / 128D / CPM / AmigaOS but we won't count that. I saw the evolution from INI to Registry to XML and personally I think the hatred for the registry was overhyped. I do dislike COM and COM registration but using the HKLM and HKCU hives to store company / product specific configuration information is just fine and it's wonderfully supported by windows Installer. It's the XML support that Windows Installer lacks. To a degree, WiX lacks XML support also as the last time I looked it could write XML data but not read it without additional custom actions.
So if you want a robust, solid installer, just use the registry.