In a NSIS script, I use the following command to download the MCR.exe file from a microsoft server:
inetc::get "http://ntcpc-009373:8080/MCRInstaller.exe" "$INSTDIR\MCRInstaller.exe"
The command works and downloads the file on a machine using Windows XP.
The same command running on a machine using Windows 7 generates the following error:
url parts error
I display the message returned by running the command and displaying the contents of register $R0.
I am using the latest version of NSIS.
Thanks for your help.
inetc::get command returns url parts error
4 posts
Put /end on the end.
Stu
Stu
I'm new to NSIS and I'm trying to use the inetc::get command to download a file. Here's the code:
inetc::get /caption "MariaDB Installer" /popup /TIMEOUT 300 /PROGRESS /URL "https://dlm.mariadb.com/3361684/MariaDB/mariadb-10.4.31/winx64-packages/mariadb-10.4.31-winx64.msi" "$INSTDIR\mariadb-installer.msi" /end
Pop $1
Despite adding the /end at the end, i am still getting the "URL parts error." How to fix this issue?
Thank you
inetc::get /caption "MariaDB Installer" /popup /TIMEOUT 300 /PROGRESS /URL "https://dlm.mariadb.com/3361684/MariaDB/mariadb-10.4.31/winx64-packages/mariadb-10.4.31-winx64.msi" "$INSTDIR\mariadb-installer.msi" /end
Pop $1
Despite adding the /end at the end, i am still getting the "URL parts error." How to fix this issue?
Thank you
Remove /URL