Files
dawn/dawn.wxs.in
T
p 3abbfbd890
Alpine 3.24 Success
Arch Linux AUR Success
Adjust headers
2026-08-29 07:24:44 +02:00

75 lines
2.2 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<?define FullName = "@PROJECT_NAME@ @PROJECT_VERSION@" ?>
<?if $(sys.BUILDARCH) = x64 ?>
<?define ProgramFilesFolder = "ProgramFiles64Folder" ?>
<?else?>
<?define ProgramFilesFolder = "ProgramFilesFolder" ?>
<?endif?>
<Product Id='*'
Name='$(var.FullName)'
UpgradeCode='a99226f0-c9a4-4cc8-8065-bb79dc3c3469'
Language='1033'
Codepage='1252'
Version='@PROJECT_VERSION@'
Manufacturer='The Dawn Authors'>
<Package Id='*'
Keywords='Installer,Image,Browser'
Description='$(var.FullName) Installer'
Manufacturer='The Dawn Authors'
InstallerVersion='200'
Compressed='yes'
Languages='1033'
SummaryCodepage='1252' />
<Media Id='1' Cabinet='data.cab' EmbedCab='yes' />
<Icon Id='dn.ico' SourceFile='@DAWN_ICON_ICO@' />
<Property Id='ARPPRODUCTICON' Value='dn.ico' />
<Property Id='ARPURLINFOABOUT' Value='https://git.janouch.name/p/dawn' />
<UIRef Id='WixUI_Minimal' />
<!-- This isn't supported by msitools, but is necessary for WiX.
<WixVariable Id='WixUILicenseRtf' Value='License.rtf' />
-->
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='$(var.ProgramFilesFolder)'>
<Directory Id='INSTALLDIR' Name='$(var.FullName)' />
</Directory>
<Directory Id='ProgramMenuFolder'>
<Directory Id='ProgramMenuDir' Name='$(var.FullName)' />
</Directory>
<Directory Id='DesktopFolder' />
</Directory>
<DirectoryRef Id='ProgramMenuDir'>
<Component Id='ProgramMenuDir' Guid='*'>
<Shortcut Id='ProgramsMenuShortcut'
Name='@PROJECT_NAME@'
Target='[INSTALLDIR]\dn.exe'
WorkingDirectory='INSTALLDIR'
Arguments='"%USERPROFILE%"'
Icon='dn.ico' />
<RemoveFolder Id='ProgramMenuDir' On='uninstall' />
<RegistryValue Root='HKCU'
Key='Software\[Manufacturer]\[ProductName]'
Type='string'
Value=''
KeyPath='yes' />
</Component>
</DirectoryRef>
<!-- FileAssociations is defined in the generated associations.wxs:
it needs dn's actual "list supported media types" output. -->
<Feature Id='Complete' Level='1'>
<ComponentGroupRef Id='CG.dn' />
<ComponentRef Id='ProgramMenuDir' />
<ComponentRef Id='FileAssociations' />
</Feature>
</Product>
</Wix>