Ignore return code 3010 from vcredist package.
This commit is contained in:
parent
274921cd4a
commit
e408422b36
@ -13,8 +13,10 @@ changeLicenseLabels = function()
|
||||
Component.prototype.createOperations = function()
|
||||
{
|
||||
component.createOperations();
|
||||
// Ignoring return code 1638, which means a newer version of the redist is already installed
|
||||
component.addOperation("Execute", "{0,1638}", "@TargetDir@/vc_redist.x64.exe", "/quiet", "/norestart");
|
||||
// Ignoring return codes:
|
||||
// 1638: A newer version of the redist is already installed. Given the other application may remove the redist package upon uninstall, let's not bother and still use our own.
|
||||
// 3010: The system requires a restart. May be triggered if the machine already had a reboot pending before starting us.
|
||||
component.addOperation("Execute", "{0,1638,3010}", "@TargetDir@/vc_redist.x64.exe", "/quiet", "/norestart");
|
||||
if (systemInfo.productType === "windows") {
|
||||
component.addOperation("CreateShortcut", "@TargetDir@/nymea-app.exe", "@StartMenuDir@/nymea app.lnk",
|
||||
"workingDirectory=@TargetDir@", "iconPath=@TargetDir@/logo.ico",
|
||||
|
||||
Reference in New Issue
Block a user