2

We are using regedit npm module to save values into windows registry. And we are generating .exe file using pkg node module.

When we run this .exe file, it is throwing the following error

"Input Error: Can not find script file "D:\snapshot[My Folder]\node_modules\regedit\vbs\regList.wsf"

So here the issue is pkg is not packaging .wsf files. It is throwing the same error even when we configured "**/regedit/vbs/*.wsf" as part of pkg assets in the package.json file. Any one have solution for this

smnth90
  • 750
  • 5
  • 14

0 Answers0