Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

URLDownloadToCacheFile from Custom Action


3 replies to this topic

odl455

odl455
  • Members
  • 3 posts

Posted 08 November 2003 - 13:19

Hi! Sorry for my Eng :-)

In my Custom Action i call URLDownloadToCacheFile to download MDAC redist for Installing him. But URLDownloadToCacheFile return error 0x80040155

I try immediate and deffered custom action, and also deffered in system context, but get error always.

If this code run from test EXE-app, i don't get error and downloading success.

Any ideas. Thank you.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 08 November 2003 - 14:27

The error codes means "interface not registered"

odl455

odl455
  • Members
  • 3 posts

Posted 09 November 2003 - 13:47


/*

FACILITY_ITF 4

For most status codes returned from interface methods. The actual meaning of the error is defined by the interface. That is, two HRESULTs with exactly the same 32-bit value returned from two different interfaces might have different meanings.

*/

I have other assumption.

URLDownloadToCacheFile use various COM-servers to do his work. But MSIEXEC use CoInitialiseSecurity to control security. But how to override default security behaviour?

Any comments?


odl455

odl455
  • Members
  • 3 posts

Posted 10 November 2003 - 14:20

WinInet functions work fine. But how to resolve problem with URLDownloadTocacheFile?

Edited by odl455, 10 November 2003 - 17:23.