felixrieseberg / windows-build-tools

:package: Install C++ Build Tools for Windows using npm
MIT License
3.4k stars 237 forks source link

Not installing on Windows 7 #24

Open PaquitoSoft opened 8 years ago

PaquitoSoft commented 8 years ago

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 commented 8 years ago

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.

ssimo3lsuhsc commented 7 years ago

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?