-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Windows installer template for arm64: update XML structure, …
…improve metadata, and enhance component definitions
- Loading branch information
Showing
1 changed file
with
56 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,59 @@ | ||
<?xml version="1.0"?> | ||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | ||
<Product Id="*" Name="OneUptime Infrastructure Agent (arm64)" Language="1033" Version="version_placeholder" Manufacturer="HackerBay, Inc." UpgradeCode="e2c6daee-3273-43ab-bef1-09cc0960c356"> | ||
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> | ||
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> | ||
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> | ||
<?xml version='1.0' encoding='windows-1252'?> | ||
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> | ||
<Product | ||
Name='OneUptime Infrastructure Agent (arm64)' | ||
Id='ABCDDCBA-86C7-4D14-AEC0-86413A69ABDE' | ||
UpgradeCode='ABCDDCBA-7349-453F-94F6-BCB5110BA8FD' | ||
Language='1033' | ||
Codepage='1252' | ||
Version='version_placeholder' | ||
Manufacturer='HackerBay, Inc.'> | ||
|
||
<Directory Id="TARGETDIR" Name="SourceDir"> | ||
<Directory Id="ProgramFilesFolder"> | ||
<Directory Id="INSTALLFOLDER" Name="OneUptimeAgent" /> | ||
</Directory> | ||
</Directory> | ||
<Package | ||
Id='*' | ||
Keywords='Installer' | ||
Description="OneUptime Infrastructure Agent installer" | ||
Comments='' | ||
Manufacturer='HackerBay, Inc.' | ||
InstallerVersion='200' | ||
Languages='1033' | ||
Compressed='yes' | ||
SummaryCodepage='1252' | ||
/> | ||
|
||
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> | ||
<Component Id="MainExecutable" Guid="PUT-ARM64-GUID-HERE"> | ||
<File Source="binary_placeholder" /> | ||
</Component> | ||
</ComponentGroup> | ||
<Media | ||
Id='1' | ||
Cabinet='Sample.cab' | ||
EmbedCab='yes' | ||
DiskPrompt="CD-ROM #1" | ||
/> | ||
|
||
<Feature Id="ProductFeature" Title="OneUptime Infrastructure Agent (arm64)" Level="1"> | ||
<ComponentGroupRef Id="ProductComponents" /> | ||
</Feature> | ||
</Product> | ||
</Wix> | ||
<Property | ||
Id='DiskPrompt' | ||
Value="OneUptime Infrastructure Agent Installation [1]" | ||
/> | ||
|
||
<Directory Id='TARGETDIR' Name='SourceDir'> | ||
<Directory Id='ProgramFilesFolder' Name='PFiles'> | ||
<Directory Id='OneUptime Infrastructure Agent' Name='OneUptime Infrastructure Agent'> | ||
<Component | ||
Id='MainExecutable' | ||
Guid='ABCDDCBA-83F1-4F22-985B-FDB3C8ABD474' | ||
> | ||
<File | ||
Id='binary_placeholder' | ||
Name='./dist/oneuptime_windows_arm64/oneuptime-infrastructure-agent.exe' | ||
DiskId='1' | ||
Source='./dist/oneuptime_windows_arm64/oneuptime-infrastructure-agent.exe' | ||
KeyPath='yes' | ||
/> | ||
</Component> | ||
</Directory> | ||
</Directory> | ||
</Directory> | ||
|
||
<Feature Id='Complete' Level='1'> | ||
<ComponentRef Id='MainExecutable' /> | ||
</Feature> | ||
</Product> | ||
</Wix> |