Create 'wix-msi-files' dir

This commit is contained in:
yairm210 2024-07-28 17:30:40 +03:00
parent cc589bff6d
commit 9dddb14076
2 changed files with 5 additions and 4 deletions

View File

@ -232,8 +232,9 @@ jobs:
- name: Unzip unciv file - name: Unzip unciv file
run: | run: |
tar -xf Unciv-Windows64.zip -C files mkdir wix-msi-files
dir files tar -xf Unciv-Windows64.zip -C wix-msi-files
dir wix-msi-files
- name: Install WiX - name: Install WiX
run: dotnet tool install --global wix run: dotnet tool install --global wix

View File

@ -20,13 +20,13 @@
<File Id="UncivExe" <File Id="UncivExe"
KeyPath="yes" KeyPath="yes"
Checksum="yes" Checksum="yes"
Source="files/Unciv.exe"> Source="wix-msi-files/Unciv.exe">
</File> </File>
</Component> </Component>
</DirectoryRef> </DirectoryRef>
<ComponentGroup Id="UncivFiles" Directory="INSTALLFOLDER"> <ComponentGroup Id="UncivFiles" Directory="INSTALLFOLDER">
<Files Include="files\**" /> <Files Include="wix-msi-files\**" />
</ComponentGroup> </ComponentGroup>
<Component Id="UncivShortcuts" Directory="INSTALLFOLDER" Guid="0eac8b63-1cab-4645-b0cb-ad7535f0e9ce"> <Component Id="UncivShortcuts" Directory="INSTALLFOLDER" Guid="0eac8b63-1cab-4645-b0cb-ad7535f0e9ce">