windows-build-tools icon indicating copy to clipboard operation
windows-build-tools copied to clipboard

Not installing on Windows 7

Open PaquitoSoft opened this issue 8 years ago • 2 comments

Hello,

First of all, thanks a lot for developing this module. It's a total time saver for windows users.

I'm having this issue trying to install this package as it download all of its dependencies but gets stuck when trying to install them. With a little debug messages into the launch.js file I finally saw this error:

File C:\...\node_modules\windows-build-tools\ps1\launch-installer.ps1 
    cannot be loaded. 
The file C:\...\node_modules\windows-build-tools\ps1\launch-installer.ps1
    is not digitally signed. 
    The script will not execute on the system. 
    Please see "get-help about_signing" for more details..
At line:1 char:5
+ & {& <<<<  'C:\Users\...\node_modules\windows-build-tools\ps1\launch-installer.ps1' - path 'C:\Users\...\.windows-build-tools' }
    + CategoryInfo          : NotSpecified: (:) [], PSSecurityException
    + FullyQualifiedErrorId : RuntimeException

 +1ms

Any ideas about to how to get this solved?

PaquitoSoft avatar Sep 15 '16 16:09 PaquitoSoft

After reading the details from the "get-help about_signing" command, I tried to change my ExecutionPollicy to run unsigned scripts, but I'm working on my company computer and don't have permission to change it. The only thing left for my is to try to generate a self-signed certificate and try to sign your scripts with them (as my current execution policy is AllSigned. It could be gret if the scripts downloaded by this nodejs module could be already signed.

Thanks.

PaquitoSoft avatar Sep 16 '16 06:09 PaquitoSoft

I am having the same problem. I do have some questions, though. Where is launch.js? And how did you attach a console to debug it?

ssimo3lsuhsc avatar Aug 01 '17 20:08 ssimo3lsuhsc