Skip to content

Commit

Permalink
feat: update product name for amd64 and remove unnecessary custom act…
Browse files Browse the repository at this point in the history
…ions from installer
  • Loading branch information
simlarsen committed Jan 3, 2025
1 parent 16b9d47 commit c3bba74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
15 changes: 1 addition & 14 deletions InfrastructureAgent/windows/app-amd64-template.wxs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Product
Name='OneUptimeInfrastructureAgent (arm64)'
Name='OneUptimeInfrastructureAgent (amd64)'
Id='ABCDDCBA-86C7-4D14-AEC0-86413A69ABDE'
UpgradeCode='ABCDDCBA-7349-453F-94F6-BCB5110BA8FD'
Language='1033'
Expand Down Expand Up @@ -55,18 +55,5 @@
<Feature Id='Complete' Level='1'>
<ComponentRef Id='MainExecutable' />
</Feature>


<CustomAction Id='SetEnvironment' Directory='TARGETDIR' ExeCommand='cmd.exe /c setx PATH [INSTALLDIR]' Return='check' />


<!-- 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="SetEnvironment" After="InstallFiles">NOT Installed</Custom>
<Custom Action="ShowThankYou" After="InstallFinalize">NOT Installed</Custom>
</InstallExecuteSequence>

</Product>
</Wix>
14 changes: 0 additions & 14 deletions InfrastructureAgent/windows/app-arm64-template.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
Source='binary_placeholder'
KeyPath='yes'
/>

</Component>
</Directory>
</Directory>
Expand All @@ -56,18 +55,5 @@
<Feature Id='Complete' Level='1'>
<ComponentRef Id='MainExecutable' />
</Feature>


<CustomAction Id='SetEnvironment' Directory='TARGETDIR' ExeCommand='cmd.exe /c setx PATH [INSTALLDIR]' Return='check' />


<!-- 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="SetEnvironment" After="InstallFiles">NOT Installed</Custom>
<Custom Action="ShowThankYou" After="InstallFinalize">NOT Installed</Custom>
</InstallExecuteSequence>

</Product>
</Wix>

0 comments on commit c3bba74

Please sign in to comment.