diff --git a/installer/build.cmd b/installer/build.cmd index bb39d77777..2fab5795be 100644 --- a/installer/build.cmd +++ b/installer/build.cmd @@ -14,6 +14,7 @@ if "%ASPIA_BIN_DIR%" == "" ( goto :USAGE ) set TMP_DIR=%ASPIA_BIN_DIR%\temp set SRC_DIR=%ASPIA_SRC_DIR%\installer +set EN_US_POSTFIX=%ASPIA_VERSION%-%ASPIA_ARCH% if not exist "%TMP_DIR%" ( echo "Output directory does not exist. Create it." @@ -44,9 +45,10 @@ pushd %SRC_DIR% echo "##################################################" echo "Creating MSI packages for Aspia Console" +set CONSOLE_EN_US_MSI=%ASPIA_BIN_DIR%\aspia-console-%EN_US_POSTFIX%.msi "%WIX%\bin\candle" -out "%TMP_DIR%\\" -ext WixUtilExtension -ext WixUIExtension console.wxs +"%WIX%\bin\light" -sval -out "%CONSOLE_EN_US_MSI%" -cultures:en-us -ext WixUtilExtension -ext WixUIExtension -loc translations\console.en-us.wxl "%TMP_DIR%\console.wixobj" "%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-console-de-de.msi" -cultures:de-de -ext WixUtilExtension -ext WixUIExtension -loc translations\console.de-de.wxl "%TMP_DIR%\console.wixobj" -"%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-console-en-us.msi" -cultures:en-us -ext WixUtilExtension -ext WixUIExtension -loc translations\console.en-us.wxl "%TMP_DIR%\console.wixobj" "%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-console-it-it.msi" -cultures:it-it -ext WixUtilExtension -ext WixUIExtension -loc translations\console.it-it.wxl "%TMP_DIR%\console.wixobj" "%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-console-nl-nl.msi" -cultures:nl-nl -ext WixUtilExtension -ext WixUIExtension -loc translations\console.nl-nl.wxl "%TMP_DIR%\console.wixobj" "%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-console-pt-br.msi" -cultures:pt-br -ext WixUtilExtension -ext WixUIExtension -loc translations\console.pt-br.wxl "%TMP_DIR%\console.wixobj" @@ -57,35 +59,34 @@ echo "Creating MSI packages for Aspia Console" echo "##################################################" echo "Creating MSI transforms for Aspia Console" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\aspia-console-de-de.msi" -out "%TMP_DIR%\console-de-de.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\aspia-console-it-it.msi" -out "%TMP_DIR%\console-it-it.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\aspia-console-nl-nl.msi" -out "%TMP_DIR%\console-nl-nl.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\aspia-console-pt-br.msi" -out "%TMP_DIR%\console-pt-br.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\aspia-console-ru-ru.msi" -out "%TMP_DIR%\console-ru-ru.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\aspia-console-uk-ua.msi" -out "%TMP_DIR%\console-uk-ua.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\aspia-console-zh-cn.msi" -out "%TMP_DIR%\console-zh-cn.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\aspia-console-zh-tw.msi" -out "%TMP_DIR%\console-zh-tw.mst" +"%WIX%\bin\torch" -p -t language "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\aspia-console-de-de.msi" -out "%TMP_DIR%\console-de-de.mst" +"%WIX%\bin\torch" -p -t language "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\aspia-console-it-it.msi" -out "%TMP_DIR%\console-it-it.mst" +"%WIX%\bin\torch" -p -t language "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\aspia-console-nl-nl.msi" -out "%TMP_DIR%\console-nl-nl.mst" +"%WIX%\bin\torch" -p -t language "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\aspia-console-pt-br.msi" -out "%TMP_DIR%\console-pt-br.mst" +"%WIX%\bin\torch" -p -t language "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\aspia-console-ru-ru.msi" -out "%TMP_DIR%\console-ru-ru.mst" +"%WIX%\bin\torch" -p -t language "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\aspia-console-uk-ua.msi" -out "%TMP_DIR%\console-uk-ua.mst" +"%WIX%\bin\torch" -p -t language "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\aspia-console-zh-cn.msi" -out "%TMP_DIR%\console-zh-cn.mst" +"%WIX%\bin\torch" -p -t language "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\aspia-console-zh-tw.msi" -out "%TMP_DIR%\console-zh-tw.mst" echo "##################################################" echo "Integration of transforms for Aspia Console" -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\console-de-de.mst" 1031 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\console-it-it.mst" 1040 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\console-nl-nl.mst" 1043 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\console-pt-br.mst" 1046 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\console-ru-ru.mst" 1049 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\console-uk-ua.mst" 1058 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\console-zh-cn.mst" 2052 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-console-en-us.msi" "%TMP_DIR%\console-zh-tw.mst" 1028 - -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 -xcopy %TMP_DIR%\aspia-console-en-us.msi %ASPIA_BIN_DIR%\ -ren %ASPIA_BIN_DIR%\aspia-console-en-us.msi aspia-console-%ASPIA_VERSION%-%ASPIA_ARCH%.msi +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\console-de-de.mst" 1031 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\console-it-it.mst" 1040 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\console-nl-nl.mst" 1043 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\console-pt-br.mst" 1046 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\console-ru-ru.mst" 1049 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\console-uk-ua.mst" 1058 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\console-zh-cn.mst" 2052 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CONSOLE_EN_US_MSI%" "%TMP_DIR%\console-zh-tw.mst" 1028 + +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wilangid.vbs" "%CONSOLE_EN_US_MSI%" Package 1033,1031,1040,1043,1046,1049,1058,2052,1028,0 echo "##################################################" echo "Creating MSI packages for Aspia Client" +set CLIENT_EN_US_MSI=%ASPIA_BIN_DIR%\aspia-client-%EN_US_POSTFIX%.msi "%WIX%\bin\candle" -out "%TMP_DIR%\\" -ext WixUtilExtension -ext WixUIExtension client.wxs +"%WIX%\bin\light" -sval -out "%CLIENT_EN_US_MSI%" -cultures:en-us -ext WixUtilExtension -ext WixUIExtension -loc translations\client.en-us.wxl "%TMP_DIR%\client.wixobj" "%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-client-de-de.msi" -cultures:de-de -ext WixUtilExtension -ext WixUIExtension -loc translations\client.de-de.wxl "%TMP_DIR%\client.wixobj" -"%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-client-en-us.msi" -cultures:en-us -ext WixUtilExtension -ext WixUIExtension -loc translations\client.en-us.wxl "%TMP_DIR%\client.wixobj" "%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-client-it-it.msi" -cultures:it-it -ext WixUtilExtension -ext WixUIExtension -loc translations\client.it-it.wxl "%TMP_DIR%\client.wixobj" "%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-client-nl-nl.msi" -cultures:nl-nl -ext WixUtilExtension -ext WixUIExtension -loc translations\client.nl-nl.wxl "%TMP_DIR%\client.wixobj" "%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-client-pt-br.msi" -cultures:pt-br -ext WixUtilExtension -ext WixUIExtension -loc translations\client.pt-br.wxl "%TMP_DIR%\client.wixobj" @@ -96,35 +97,34 @@ echo "Creating MSI packages for Aspia Client" echo "##################################################" echo "Creating MSI transforms for Aspia Client" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\aspia-client-de-de.msi" -out "%TMP_DIR%\client-de-de.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\aspia-client-it-it.msi" -out "%TMP_DIR%\client-it-it.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\aspia-client-nl-nl.msi" -out "%TMP_DIR%\client-nl-nl.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\aspia-client-pt-br.msi" -out "%TMP_DIR%\client-pt-br.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\aspia-client-ru-ru.msi" -out "%TMP_DIR%\client-ru-ru.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\aspia-client-uk-ua.msi" -out "%TMP_DIR%\client-uk-ua.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\aspia-client-zh-cn.msi" -out "%TMP_DIR%\client-zh-cn.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\aspia-client-zh-tw.msi" -out "%TMP_DIR%\client-zh-tw.mst" +"%WIX%\bin\torch" -p -t language "%CLIENT_EN_US_MSI%" "%TMP_DIR%\aspia-client-de-de.msi" -out "%TMP_DIR%\client-de-de.mst" +"%WIX%\bin\torch" -p -t language "%CLIENT_EN_US_MSI%" "%TMP_DIR%\aspia-client-it-it.msi" -out "%TMP_DIR%\client-it-it.mst" +"%WIX%\bin\torch" -p -t language "%CLIENT_EN_US_MSI%" "%TMP_DIR%\aspia-client-nl-nl.msi" -out "%TMP_DIR%\client-nl-nl.mst" +"%WIX%\bin\torch" -p -t language "%CLIENT_EN_US_MSI%" "%TMP_DIR%\aspia-client-pt-br.msi" -out "%TMP_DIR%\client-pt-br.mst" +"%WIX%\bin\torch" -p -t language "%CLIENT_EN_US_MSI%" "%TMP_DIR%\aspia-client-ru-ru.msi" -out "%TMP_DIR%\client-ru-ru.mst" +"%WIX%\bin\torch" -p -t language "%CLIENT_EN_US_MSI%" "%TMP_DIR%\aspia-client-uk-ua.msi" -out "%TMP_DIR%\client-uk-ua.mst" +"%WIX%\bin\torch" -p -t language "%CLIENT_EN_US_MSI%" "%TMP_DIR%\aspia-client-zh-cn.msi" -out "%TMP_DIR%\client-zh-cn.mst" +"%WIX%\bin\torch" -p -t language "%CLIENT_EN_US_MSI%" "%TMP_DIR%\aspia-client-zh-tw.msi" -out "%TMP_DIR%\client-zh-tw.mst" echo "##################################################" echo "Integration of transforms for Aspia Client" -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\client-de-de.mst" 1031 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\client-it-it.mst" 1040 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\client-nl-nl.mst" 1043 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\client-pt-br.mst" 1046 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\client-ru-ru.mst" 1049 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\client-uk-ua.mst" 1058 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\client-zh-cn.mst" 2052 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-client-en-us.msi" "%TMP_DIR%\client-zh-tw.mst" 1028 - -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 -xcopy %TMP_DIR%\aspia-client-en-us.msi %ASPIA_BIN_DIR%\ -ren %ASPIA_BIN_DIR%\aspia-client-en-us.msi aspia-client-%ASPIA_VERSION%-%ASPIA_ARCH%.msi +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CLIENT_EN_US_MSI%" "%TMP_DIR%\client-de-de.mst" 1031 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CLIENT_EN_US_MSI%" "%TMP_DIR%\client-it-it.mst" 1040 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CLIENT_EN_US_MSI%" "%TMP_DIR%\client-nl-nl.mst" 1043 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CLIENT_EN_US_MSI%" "%TMP_DIR%\client-pt-br.mst" 1046 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CLIENT_EN_US_MSI%" "%TMP_DIR%\client-ru-ru.mst" 1049 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CLIENT_EN_US_MSI%" "%TMP_DIR%\client-uk-ua.mst" 1058 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CLIENT_EN_US_MSI%" "%TMP_DIR%\client-zh-cn.mst" 2052 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%CLIENT_EN_US_MSI%" "%TMP_DIR%\client-zh-tw.mst" 1028 + +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wilangid.vbs" "%CLIENT_EN_US_MSI%" Package 1033,1031,1040,1043,1046,1049,1058,2052,1028,0 echo "##################################################" echo "Creating MSI packages for Aspia Host" +set HOST_EN_US_MSI=%ASPIA_BIN_DIR%\aspia-host-%EN_US_POSTFIX%.msi "%WIX%\bin\candle" -out "%TMP_DIR%\\" -ext WixUtilExtension -ext WixUIExtension host.wxs +"%WIX%\bin\light" -sval -out "%HOST_EN_US_MSI%" -cultures:en-us -ext WixUtilExtension -ext WixUIExtension -loc translations\host.en-us.wxl "%TMP_DIR%\host.wixobj" "%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-host-de-de.msi" -cultures:de-de -ext WixUtilExtension -ext WixUIExtension -loc translations\host.de-de.wxl "%TMP_DIR%\host.wixobj" -"%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-host-en-us.msi" -cultures:en-us -ext WixUtilExtension -ext WixUIExtension -loc translations\host.en-us.wxl "%TMP_DIR%\host.wixobj" "%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-host-it-it.msi" -cultures:it-it -ext WixUtilExtension -ext WixUIExtension -loc translations\host.it-it.wxl "%TMP_DIR%\host.wixobj" "%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-host-nl-nl.msi" -cultures:nl-nl -ext WixUtilExtension -ext WixUIExtension -loc translations\host.nl-nl.wxl "%TMP_DIR%\host.wixobj" "%WIX%\bin\light" -sval -out "%TMP_DIR%\aspia-host-pt-br.msi" -cultures:pt-br -ext WixUtilExtension -ext WixUIExtension -loc translations\host.pt-br.wxl "%TMP_DIR%\host.wixobj" @@ -135,43 +135,37 @@ echo "Creating MSI packages for Aspia Host" echo "##################################################" echo "Creating MSI transforms for Aspia Host" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\aspia-host-de-de.msi" -out "%TMP_DIR%\host-de-de.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\aspia-host-it-it.msi" -out "%TMP_DIR%\host-it-it.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\aspia-host-nl-nl.msi" -out "%TMP_DIR%\host-nl-nl.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\aspia-host-pt-br.msi" -out "%TMP_DIR%\host-pt-br.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\aspia-host-ru-ru.msi" -out "%TMP_DIR%\host-ru-ru.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\aspia-host-uk-ua.msi" -out "%TMP_DIR%\host-uk-ua.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\aspia-host-zh-cn.msi" -out "%TMP_DIR%\host-zh-cn.mst" -"%WIX%\bin\torch" -p -t language "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\aspia-host-zh-tw.msi" -out "%TMP_DIR%\host-zh-tw.mst" +"%WIX%\bin\torch" -p -t language "%HOST_EN_US_MSI%" "%TMP_DIR%\aspia-host-de-de.msi" -out "%TMP_DIR%\host-de-de.mst" +"%WIX%\bin\torch" -p -t language "%HOST_EN_US_MSI%" "%TMP_DIR%\aspia-host-it-it.msi" -out "%TMP_DIR%\host-it-it.mst" +"%WIX%\bin\torch" -p -t language "%HOST_EN_US_MSI%" "%TMP_DIR%\aspia-host-nl-nl.msi" -out "%TMP_DIR%\host-nl-nl.mst" +"%WIX%\bin\torch" -p -t language "%HOST_EN_US_MSI%" "%TMP_DIR%\aspia-host-pt-br.msi" -out "%TMP_DIR%\host-pt-br.mst" +"%WIX%\bin\torch" -p -t language "%HOST_EN_US_MSI%" "%TMP_DIR%\aspia-host-ru-ru.msi" -out "%TMP_DIR%\host-ru-ru.mst" +"%WIX%\bin\torch" -p -t language "%HOST_EN_US_MSI%" "%TMP_DIR%\aspia-host-uk-ua.msi" -out "%TMP_DIR%\host-uk-ua.mst" +"%WIX%\bin\torch" -p -t language "%HOST_EN_US_MSI%" "%TMP_DIR%\aspia-host-zh-cn.msi" -out "%TMP_DIR%\host-zh-cn.mst" +"%WIX%\bin\torch" -p -t language "%HOST_EN_US_MSI%" "%TMP_DIR%\aspia-host-zh-tw.msi" -out "%TMP_DIR%\host-zh-tw.mst" echo "##################################################" echo "Integration of transforms for Aspia Host" -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\host-de-de.mst" 1031 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\host-it-it.mst" 1040 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\host-nl-nl.mst" 1043 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\host-pt-br.mst" 1046 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\host-ru-ru.mst" 1049 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\host-uk-ua.mst" 1058 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\host-zh-cn.mst" 2052 -cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%TMP_DIR%\aspia-host-en-us.msi" "%TMP_DIR%\host-zh-tw.mst" 1028 - -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 -xcopy %TMP_DIR%\aspia-host-en-us.msi %ASPIA_BIN_DIR%\ -ren %ASPIA_BIN_DIR%\aspia-host-en-us.msi aspia-host-%ASPIA_VERSION%-%ASPIA_ARCH%.msi +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%HOST_EN_US_MSI%" "%TMP_DIR%\host-de-de.mst" 1031 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%HOST_EN_US_MSI%" "%TMP_DIR%\host-it-it.mst" 1040 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%HOST_EN_US_MSI%" "%TMP_DIR%\host-nl-nl.mst" 1043 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%HOST_EN_US_MSI%" "%TMP_DIR%\host-pt-br.mst" 1046 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%HOST_EN_US_MSI%" "%TMP_DIR%\host-ru-ru.mst" 1049 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%HOST_EN_US_MSI%" "%TMP_DIR%\host-uk-ua.mst" 1058 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%HOST_EN_US_MSI%" "%TMP_DIR%\host-zh-cn.mst" 2052 +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wisubstg.vbs" "%HOST_EN_US_MSI%" "%TMP_DIR%\host-zh-tw.mst" 1028 + +cscript "%ProgramFiles(x86)%\Windows Kits\10\bin\%SDK_VERSION%\x86\wilangid.vbs" "%HOST_EN_US_MSI%" Package 1033,1031,1040,1043,1046,1049,1058,2052,1028,0 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" -xcopy %TMP_DIR%\aspia-router.msi %ASPIA_BIN_DIR%\ -ren %ASPIA_BIN_DIR%\aspia-router.msi aspia-router-%ASPIA_VERSION%-%ASPIA_ARCH%.msi +"%WIX%\bin\light" -sval -out "%ASPIA_BIN_DIR%\aspia-router-%ASPIA_VERSION%-%ASPIA_ARCH%.msi" -cultures:en-us -ext WixUtilExtension -ext WixUIExtension -loc translations\router.en-us.wxl "%TMP_DIR%\router.wixobj" 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" -xcopy %TMP_DIR%\aspia-relay.msi %ASPIA_BIN_DIR%\ -ren %ASPIA_BIN_DIR%\aspia-relay.msi aspia-relay-%ASPIA_VERSION%-%ASPIA_ARCH%.msi +"%WIX%\bin\light" -sval -out "%ASPIA_BIN_DIR%\aspia-relay-%ASPIA_VERSION%-%ASPIA_ARCH%.msi" -cultures:en-us -ext WixUtilExtension -ext WixUIExtension -loc translations\relay.en-us.wxl "%TMP_DIR%\relay.wixobj" rem Restore working directory popd