added index.html to disribution files

This commit is contained in:
vadym 2021-09-12 16:20:51 +03:00
parent 4d40d9cb73
commit 86c9496f73
8 changed files with 348 additions and 2 deletions

8
contrib/msi/build-msi.sh Normal file → Executable file
View file

@ -69,6 +69,8 @@ EOF
PKGNAME=$(sh contrib/semver/name.sh)
PKGVERSION=$(sh contrib/msi/msversion.sh --bare)
PKGVERSIONMS=$(echo $PKGVERSION | tr - .)
PKGINDEXFILE=contrib/ui/mesh-ui/index.html
[ "${PKGARCH}" == "x64" ] && \
PKGGUID="77757838-1a23-40a5-a720-c3b43e0260cc" PKGINSTFOLDER="ProgramFiles64Folder" || \
PKGGUID="54a3294e-a441-4322-aefb-3bb40dd022bb" PKGINSTFOLDER="ProgramFilesFolder"
@ -150,6 +152,12 @@ cat > wix.xml << EOF
DiskId="1"
Source="${PKGWINTUNDLL}" />
<File
Id="IndexFile"
Name="index.html"
DiskId="1"
Source="${PKGINDEXFILE}" />
<ServiceInstall
Id="ServiceInstaller"
Account="LocalSystem"