Defining the UI for your package

by Markus 2. November 2009 21:40


Defining the UI for your package


This is pretty simple in WiX. Consult the WiX Documentation to see more UI Options!!!



Step 1 (Setting the Language)

See also:

Under Project - Properties - Build Tab – Cultures to build: You can set the UI Languages to be build. Enter de-DE for a German UI.

Hint: You have to Reference the WixUiExtentions for this to work.


Step 2 (Settings the Language)

Set the Language Attribute in Product and Package Tag in the Product.wxs like this:


List of LCIDs can be found here:


Step 3 (Defining the UI)

Place the following code in your product.wxs file.


  <UIRef Id="WixUI_InstallDir" />

  <!--Part 1 of: This would be to show a Check Box in the Finisch Dialog to start The Application-->
  <!--<Publish Dialog="ExitDialog"
      Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish>-->

<!--Part 2 of: This would be to show a Check Box in the Finisch Dialog to start The Application-->
<!--<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Start TheTester Application now" />
<Property Id="WixShellExecTarget" Value="[#TheTester.exe]" />
<CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />—>



  • Uncomment the Part 1 and Part 2 Code to get a Checkbox at the finish page to start your installaed product right away. Be aware that the background of the checkbox is gray. So if you have designed a nice Dialog Background Image, this will look a little strange. (If somebody finds a Workaround, please let me know!!!)


<= Back to Content



11/2/2009 9:41:29 PM #


Home - Wix

Home - Wix

Blog of |

About MaHop.Net

Just look on our Webpage

Tag cloud