cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is It Possible to Download a File Using the HTTPS Protocol by Using the CopyFile InstallScript function?

Is It Possible to Download a File Using the HTTPS Protocol by Using the CopyFile InstallScript function?

Summary: This article discusses whether it is possible to download a file using the HTTPS protocol by using the CopyFile InstallScript function.

Discussion: There is no option from an InstallScript point of view.

The CopyFile InstallScript function, discussed in the documentation here, only supports the HTTP protocol, not HTTPS.

If you receive a certificate error like the following:

cert.PNG

we can override this type of certificate error from a C++ or .NET DLL using a managed or unmanaged code custom action. Or we can use the UseDLL InstallScript function, in the documentation here, for unmanaged code and DotNetCoCreateObject for .NET, in the documentation here, to load / call a DLL from InstallScript, which has a custom download mechanism implementation.

Labels (4)
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Feb 11, 2021 10:56 AM
Updated by: