This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- OpenFile URL 404 errors
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 20, 2008
06:30 PM
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
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
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 25, 2008
02:07 PM
Is there anyone that can help with this?
Thanks.
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 25, 2008
02:56 PM
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?
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)