deploy fixes

This commit is contained in:
pokamest 2021-06-02 00:49:42 +03:00
parent 435ee58d40
commit 9376df8703
5 changed files with 72 additions and 30 deletions

View file

@ -68,7 +68,13 @@ Component.prototype.createOperations = function()
"workingDirectory=@TargetDir@", "iconPath=@TargetDir@\\" + appExecutableFileName(), "iconId=0");
if (!vcRuntimeIsInstalled()) {
component.addElevatedOperation("Execute", "@TargetDir@\\" + "vc_redist.x86.exe", "/install", "/quiet", "/norestart", "/log", "vc_redist_2017_x86.log");
if (systemInfo.currentCpuArchitecture.search("64") < 0) {
component.addElevatedOperation("Execute", "@TargetDir@\\" + "vc_redist.x86.exe", "/install", "/quiet", "/norestart", "/log", "vc_redist.log");
}
else {
component.addElevatedOperation("Execute", "@TargetDir@\\" + "vc_redist.x64.exe", "/install", "/quiet", "/norestart", "/log", "vc_redist.log");
}
} else {
console.log("Microsoft Visual C++ 2017 Redistributable already installed");
}

View file

@ -2,8 +2,8 @@
<Package>
<DisplayName>AmneziaVPN</DisplayName>
<Description>Installation package for AmneziaVPN</Description>
<Version>1.6.0.0</Version>
<ReleaseDate>2021-03-31</ReleaseDate>
<Version>1.7.0.0</Version>
<ReleaseDate>2021-05-31</ReleaseDate>
<Default>true</Default>
<ForcedInstallation>true</ForcedInstallation>
<RequiresAdminRights>true</RequiresAdminRights>