Page 1 of 1

Downloading from a URL with Authentication

Posted: Mon Aug 17, 2020 11:32 pm
by DaveB
There are two Plug-ins provided by InstallAware.

1) Download File
2) Multi Part Download File

I require the ability to download files form a user supplied server at Install time. The user would provide the URL. The "Download File" Plug-in works fine in the simple case, but can anyone tell me whether it supports user authentication?

If not, then what would be the recommended approach?

Would I need to develop my own Plug-in?

I have read the 'Help' documentation but it doesn't provide any clues.

Thank you.

Re: Downloading from a URL with Authentication

Posted: Tue Aug 18, 2020 11:49 am
by FrancescoT
Both the two IA plugins accept an URL as download parameter.
The problem here it's not because the two IA plugins don't support authentication. But because isn't allowed anymore to pass authentication credentials as URL parameters.
https://www.installaware.com/forums/viewtopic.php?f=2&t=8648

Would I need to develop my own Plug-in?

This is the only solution. Unless you decide to encrypt your downloadable files, and then to use a personal user certificate (stored locally) to decrypt them.

I have read the 'Help' documentation but it doesn't provide any clues.

InstallAware comes with ready to use Plugin sample projects.
plugin_templates.jpg
plugin_templates.jpg (54.07 KiB) Viewed 2285 times

Then the documentation has all the necessary information. The InstallAware Plug-In Authoring is essentially based on a simple SDK. This mainly consists on developing two custom DLL's ..and of course, a minimum knowledge on how to develop a custom DLL it's certainly more than helpful.
https://www.installaware.com/mh52/desktop/pluginauthoringoverview.htm

<THIS POST HAS BEEN MOVED TO THE MORE APPROPRIATE "Technical Support" forum>