Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add a UI to a WiX 3 installer?

I've tried <UIRef Id="WixUI_Minimal" />, but I get "Unresolved reference to symbol WixUI:WixUIMinimal". What am I doing wrong?

like image 361
Adam Tegen Avatar asked Feb 27 '09 22:02

Adam Tegen


People also ask

Does WiX have GUI?

WiX is great in that there is no GUI, you just write the installer you want it to be.

How do I add custom dialogues to WiX installers?

You can add custom dialogs to the UI sequence in a built-in WixUI dialog set. To do so, you must define a <UI/> element for your new dialog. Then, you must copy the contents of the <Fragment/> that includes the definition of the dialog set that you want to customize from the WiX source code to your project.


1 Answers

The wixui extension is no longer wixui.wixlib. It was rolled into the WixUIExtension.

If you are on the command line, add -ext WixUIExtension to the call to light.exe.

If you have a WiX project in Visual Studio, add a reference to "WixUIExtension" by right clicking on "References" in the Solution Explorer.

See the WiXUI Dialog Sets page for WIX3.

like image 87
Adam Tegen Avatar answered Sep 19 '22 07:09

Adam Tegen