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

OpenFile URL 404 errors

Hello,

I'm attempting to do something strange by visiting URLs and expecting a 404 response. It looks like installshield automatically retries 6 times when it hits a url and gets a 404 response. Is there any way to prevent retries like this and just attempt a URL once? It only runs the OpenFile function once as you expect, but somewhere inside there it sends 6 URL requests.

I've tried a number of different methods, such as OpenFile, CopyFile, ExistsDir, GetFileInfo, and they either retry 6 times or 12 times in the case of Copy.

Or, is there another way of hitting a URL within installshield that is different?


Thanks
Labels (1)
0 Kudos
(2) Replies
Taytay
Level 2

Is there anyone that can help with this?

Thanks.
0 Kudos
RobertDickau
Flexera Alumni

I'm not aware of a way to configure this (and I see the same six-requests behavior with Is(FILE_EXISTS, "http://example.org/testing.html")). Perhaps look into prototyping and calling the InternetOpen, InternetOpenUrl, and InternetCloseHandle API functions directly from wininet.dll in your InstallScript code?
0 Kudos