diff options
Diffstat (limited to 'tools/msvs/msi/product.wxs')
-rw-r--r-- | tools/msvs/msi/product.wxs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/msvs/msi/product.wxs b/tools/msvs/msi/product.wxs index d924a4dfef5..b8b53b0be41 100644 --- a/tools/msvs/msi/product.wxs +++ b/tools/msvs/msi/product.wxs @@ -4,7 +4,7 @@ <?define repoDir="$(var.ProjectDir)..\..\..\" ?> <?define sourcedir="$(var.repoDir)\$(var.Configuration)\" ?> - <Product Id="cc6c176e-e26c-48ec-8970-f58bd1d046cf" + <Product Id="$(var.ProductId)" Name="node.js" Language="1033" Version="$(var.ProductVersion)" @@ -14,6 +14,9 @@ <Package InstallerVersion="200" Compressed="yes" Platform="x86" /> <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> + + <MajorUpgrade AllowSameVersionUpgrades="yes" + DowngradeErrorMessage="A later version of node.js is already installed. Setup will now exit." /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> |