generate stable Guids for files in lib.wxs to fix MSI issues

This commit is contained in:
Jay Lee
2024-10-16 12:44:51 -07:00
parent 090b5937ab
commit ae95c8fdea
2 changed files with 20 additions and 55 deletions

View File

@@ -702,7 +702,7 @@ jobs:
export MSI_FILENAME="${GITHUB_WORKSPACE}/gam-${GAMVERSION}-windows-${GAM_ARCHIVE_ARCH}.msi"
# auto-generate a lib.wxs based on the files PyInstaller created for the lib/ directory
/c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.14/bin/heat.exe dir "${gampath}/lib" -ke -srd -cg Lib -gg -dr lib -directoryid lib -out lib-fixme.wxs
sed 's/Guid=\".*\"/Guid="*"/g' lib-fixme.wxs > lib.wxs
$python tools/gen-wix-xml-filelist.py lib.wxs
echo "-- begin lib.wxs --"
cat lib.wxs
echo "-- end lib.wxs --"