diff --git a/tools/msvs/msi/nodemsi/product.wxs b/tools/msvs/msi/nodemsi/product.wxs index 991b8176554f0a..ff66ade6816aaa 100644 --- a/tools/msvs/msi/nodemsi/product.wxs +++ b/tools/msvs/msi/nodemsi/product.wxs @@ -88,8 +88,10 @@ Description="!(loc.npm_Description)"> + + @@ -224,6 +226,10 @@ + + + + @@ -232,6 +238,10 @@ + + + + diff --git a/vcbuild.bat b/vcbuild.bat index 75f0850b015d93..ea930a8b031b6d 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -435,6 +435,10 @@ if not defined nonpm ( if errorlevel 1 echo Cannot copy npx && goto package_error copy /Y ..\deps\npm\bin\npx.cmd %TARGET_NAME%\ > nul if errorlevel 1 echo Cannot copy npx.cmd && goto package_error + copy /Y ..\deps\npm\bin\npm.ps1 %TARGET_NAME%\ > nul + if errorlevel 1 echo Cannot copy npm.ps1 && goto package_error + copy /Y ..\deps\npm\bin\npx.ps1 %TARGET_NAME%\ > nul + if errorlevel 1 echo Cannot copy npx.ps1 && goto package_error ) if not defined nocorepack (