windowsinstallationwix4

wix4: add EULA, confiration at end of install


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?


Solution

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

    To add a WixUI dialog set to your MSI package:

    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>