Skip to content

Commit

Permalink
Try to fix msi build.
Browse files Browse the repository at this point in the history
  • Loading branch information
dchapyshev committed Oct 29, 2023
1 parent 8259c9c commit cc2f76d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions installer/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs"

cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wilangid.vbs" "%TMP_DIR%\aspia-console-en-us.msi" Package 1033,1031,1040,1043,1046,1049,1058,2052,1028,0
copy %TMP_DIR%\aspia-console-en-us.msi %ASPIA_BIN_DIR%
ren %TMP_DIR%\aspia-console-en-us.msi aspia-console-%ASPIA_VERSION%-%ASPIA_ARCH%.msi
ren %ASPIA_BIN_DIR%\aspia-console-en-us.msi aspia-console-%ASPIA_VERSION%-%ASPIA_ARCH%.msi

echo "##################################################"
echo "Creating MSI packages for Aspia Client"
Expand Down Expand Up @@ -118,7 +118,7 @@ cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs"

cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wilangid.vbs" "%TMP_DIR%\aspia-client-en-us.msi" Package 1033,1031,1040,1043,1046,1049,1058,2052,1028,0
copy %TMP_DIR%\aspia-client-en-us.msi %ASPIA_BIN_DIR%
ren %TMP_DIR%\aspia-client-en-us.msi aspia-client-%ASPIA_VERSION%-%ASPIA_ARCH%.msi
ren %ASPIA_BIN_DIR%\aspia-client-en-us.msi aspia-client-%ASPIA_VERSION%-%ASPIA_ARCH%.msi

echo "##################################################"
echo "Creating MSI packages for Aspia Host"
Expand Down Expand Up @@ -157,21 +157,21 @@ cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs"

cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wilangid.vbs" "%TMP_DIR%\aspia-host-en-us.msi" Package 1033,1031,1040,1043,1046,1049,1058,2052,1028,0
copy %TMP_DIR%\aspia-host-en-us.msi %ASPIA_BIN_DIR%
ren %TMP_DIR%\aspia-host-en-us.msi aspia-host-%ASPIA_VERSION%-%ASPIA_ARCH%.msi
ren %ASPIA_BIN_DIR%\aspia-host-en-us.msi aspia-host-%ASPIA_VERSION%-%ASPIA_ARCH%.msi

echo "##################################################"
echo "Creating MSI packages for Aspia Router"
"%WIX%\bin\candle" -out "%TMP_DIR%\\" -ext WixUtilExtension -ext WixUIExtension router.wxs
"%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-router.msi" -cultures:en-us -ext WixUtilExtension -ext WixUIExtension -loc translations\router.en-us.wxl "%TMP_DIR%\router.wixobj"
copy %TMP_DIR%\aspia-router.msi %ASPIA_BIN_DIR%
ren %TMP_DIR%\aspia-router.msi aspia-router-%ASPIA_VERSION%-%ASPIA_ARCH%.msi
ren %ASPIA_BIN_DIR%\aspia-router.msi aspia-router-%ASPIA_VERSION%-%ASPIA_ARCH%.msi

echo "##################################################"
echo "Creating MSI packages for Aspia Relay"
"%WIX%\bin\candle" -out "%TMP_DIR%\\" -ext WixUtilExtension -ext WixUIExtension relay.wxs
"%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-relay.msi" -cultures:en-us -ext WixUtilExtension -ext WixUIExtension -loc translations\relay.en-us.wxl "%TMP_DIR%\relay.wixobj"
copy %TMP_DIR%\aspia-relay.msi %ASPIA_BIN_DIR%
ren %TMP_DIR%\aspia-relay.msi aspia-relay-%ASPIA_VERSION%-%ASPIA_ARCH%.msi
ren %ASPIA_BIN_DIR%\aspia-relay.msi aspia-relay-%ASPIA_VERSION%-%ASPIA_ARCH%.msi

rem Restore working directory
popd
Expand Down

0 comments on commit cc2f76d

Please sign in to comment.