wix4: add EULA, confiration at end of install

108 Views Asked by At

I installed Firegiant HeatWave for VS2022 so I can create a wix installer in Visual Studio 2022. I am using the 'MSI Package (Wix v4)' project type.

I am able to create an .msi which will install all my files, but I want to add a EULA (with checkbox) and some confirmation that the install was completed successfully.

How can I modify my .wxs file (or do whatever is needed) to achieve this?

1

There are 1 best solutions below

2
On BEST ANSWER

https://wixtoolset.org/docs/tools/wixext/wixui/ has the answers:

To add a WixUI dialog set to your MSI package:

  • Add a reference to the WixToolset.UI.wixext WiX extension.
  • Add the WixToolset.UI.wixext WiX extension namespace to your WiX authoring.
  • Add the WixUI element to your WiX authoring.

For example:

<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
  xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">

  <Package ...>
      ...
      <ui:WixUI
        Id="WixUI_InstallDir"
        InstallDirectory="INSTALLFOLDER"
        />
  </Package>
</Wix>