Skip to content

Commit

Permalink
Add thank you message and UI reference to installation templates
Browse files Browse the repository at this point in the history
  • Loading branch information
simlarsen committed Dec 24, 2024
1 parent 511987b commit 64bba92
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions InfrastructureAgent/windows/app-amd64-template.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,13 @@
<Feature Id='Complete' Level='1'>
<ComponentRef Id='MainExecutable' />
</Feature>

<!-- Include the WixUIExtension for standard dialogs -->
<UIRef Id="WixUI_InstallDir" />
<!-- Add a custom action to show a thank you message -->
<CustomAction Id="ShowThankYou" Return="ignore" Execute="immediate" Script="vbscript"> <![CDATA[ MsgBox "Thank you for installing OneUptimevInfrastructure Agent!", vbInformation, "Installation Complete" ]]> </CustomAction>
<!-- Schedule the custom action to run at the end of the installation -->
<InstallExecuteSequence> <Custom Action="ShowThankYou" After="InstallFinalize">NOT Installed</Custom> </InstallExecuteSequence>

</Product>
</Wix>
8 changes: 8 additions & 0 deletions InfrastructureAgent/windows/app-arm64-template.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,13 @@
<Feature Id='Complete' Level='1'>
<ComponentRef Id='MainExecutable' />
</Feature>

<!-- Include the WixUIExtension for standard dialogs -->
<UIRef Id="WixUI_InstallDir" />
<!-- Add a custom action to show a thank you message -->
<CustomAction Id="ShowThankYou" Return="ignore" Execute="immediate" Script="vbscript"> <![CDATA[ MsgBox "Thank you for installing OneUptimevInfrastructure Agent!", vbInformation, "Installation Complete" ]]> </CustomAction>
<!-- Schedule the custom action to run at the end of the installation -->
<InstallExecuteSequence> <Custom Action="ShowThankYou" After="InstallFinalize">NOT Installed</Custom> </InstallExecuteSequence>

</Product>
</Wix>

0 comments on commit 64bba92

Please sign in to comment.