Reputation: 49
Is there any way I can put all the properties and values of my WIX 3.5 installer, like the user inputs in my custom dialogs , into one single file and pass it to my MSI installer for silent installation? Something like one would do with a response file with installshield with a properties file? I made sure to have all my custom actions in installexecute sequence. All my custom actions are in c#/.NET
Upvotes: 3
Views: 496
Reputation: 20772
Not quite.
As you probably know, all the UI actions are skipped during a silent installation => no dialogs => no place for user inputs.
There are methods, though. You'll have to set the properties as they would have been set by the UI.
Upvotes: 0
Reputation: 55571
You use the Windows Installer SDK tool ORCA (MSI database editor) to create a transform. In the transform you define all your properties.
Editing MSI files with Microsoft Orca
Once you have created your transform you perform the silent installation like this:
msiexec /I foo.msi TRANSFORMS=foo.mst /qn /l*v install.log
Silent installations completely skip the UI sequence so you aren't recording user input like a response file. You are setting properties and fully skipping the UI.
Upvotes: 2