summaryrefslogtreecommitdiff
path: root/xmake/scripts/xpack
diff options
context:
space:
mode:
authorA2va <[email protected]>2024-03-14 23:00:43 +0100
committerA2va <[email protected]>2024-03-14 23:00:43 +0100
commit920d1187fa5392fa2363b170a202cb63e75d1c08 (patch)
treefe3832c1f028adf714ecd4aca9699a673d29ffb9 /xmake/scripts/xpack
parentde6b4494189ef2975d47450290f5618e65c11b21 (diff)
Refactor cp cmd to output a better xml
Diffstat (limited to 'xmake/scripts/xpack')
-rw-r--r--xmake/scripts/xpack/wix/msi.wxs10
1 files changed, 2 insertions, 8 deletions
diff --git a/xmake/scripts/xpack/wix/msi.wxs b/xmake/scripts/xpack/wix/msi.wxs
index 79a5f1de6..0e4727117 100644
--- a/xmake/scripts/xpack/wix/msi.wxs
+++ b/xmake/scripts/xpack/wix/msi.wxs
@@ -22,19 +22,13 @@
<?if $(PackageIconFile) != "" ?>
<Icon Id="Icon.ico" SourceFile="$(PackageIconFile)"/>
<?endif ?>
- <MediaTemplate EmbedCab="yes" />
+ <MediaTemplate EmbedCab="true" />
<ui:WixUI Id="WixUI_FeatureTree" InstallDirectory="INSTALLFOLDER" />
<StandardDirectory Id="ProgramFiles6432Folder">
<Directory Id="CompanyFolder" Name="$(PackageCompany)">
<Directory Id="INSTALLFOLDER" Name="$(PackageName)"/>
</Directory>
</StandardDirectory>
- <Feature Id="MainFeature" Title="$(PackageName)" Description="Installs all the files needed for $(PackageName)" Level="1" AllowAbsent="no" AllowAdvertise="no" ConfigurableDirectory="INSTALLFOLDER">
- <Component Id="CreateFolder" Directory="INSTALLFOLDER">
- ${PACKAGE_WIX_FILE_OPERATION_INSTALL}
- ${PACKAGE_WIX_FILE_OPERATION_UNINSTALL}
- </Component>
- ${PACKAGE_INSTALLCMDS}
- </Feature>
+ ${PACKAGE_CMDS}
</Package>
</Wix> \ No newline at end of file