0
votes

In my NSIS script, I am attempting to download a file from our web server using the following command:

NSISdl::download /NOIEPROXY http://ntcpc-004158:8080 MCRInstaller.exe

I get a HTTP 403 access denied error. I am sure that server address is correct and the file is on the server.

I've researched this issue and heard that the inetc plug-in is beter. I wrote a test script and got an error that the inetc::get command was not recognized.

I didn't find that many details on how to install a plug-in except for any dll files go in the plugins subfolder beneath the NSIS installation folder. Any nsh files go in the include subfolder beneath the NSIS installation folder. However, I did not see any nsh files in the inetc zip file.

Excuse me if my issue seems like a dumb quesiton. I have been using NSIS for a few months.

Thank you for any help.

1

1 Answers

0
votes

NSISdl uses basic sockets and custom HTTP handling, INetC uses the same engine as Internet Explorer.

To install a plugin you place the .dll file in the plugins directory or use !addplugindir in your script. Not all plugins have a .nsh file, if they don't it means that you use the dll::function plugin syntax to call the plugin directly...