BoscoBilly
31st August 2009 18:02 UTC
Inetc 302 Redirect failure with Inetc::get
I am redirecting, at my server, a inetc::get request from my install app. On server 2003 as localhost and XPPro SP2 using the LAN IP for the server it works fine - the file is downloaded and is properly installed..
When I try it on w2k sp4 using the LAN IP for the server, the request fails with the message returned to inetc::get - 302 Redirection.
And there it stops.
Can anyone advise me on special considerations when using redirect with intec::get?
Thanks.
Takhir
31st August 2009 20:14 UTC
Inetc does nothing for redirection, if possible WinInet.dll does this. Or returns 3xx status. Probably WinInet is different on comps where yor tested redirection. This may be OS or IE dependant difference.
BoscoBilly
1st September 2009 02:13 UTC
Thanks for the quick response, Takhir.
I checked wininet versions: server version is '08 while W2k version is '04.
I copied the server wininet.dll version to the install dir on the 2K machine. According to LoadLibrary specs, with only filename given in call, first look is in current dir.
Unfortunately, this did not work.
Is my assumption correct about this?
The old (orig.) wininet.dll on 2K machine works fine on redirects if i paste an URL into IE 6 or FF 3.52 or dbl clk it from Outlook mail msg.Any other ideas?
BoscoBilly
2nd September 2009 00:32 UTC
Possible Computer/Network Issue
I was not able to get any change in redirect behavior after putting wininet.dll from working machine in exec. path/cur dir of install app on "bad" machine.
I have since got the redirects in the installer working on another old W2k sp4 machine - with the identical wininet.ddl located in sys32.
Conclusion: 2 days wasted on chimera.
So I declare this "not a problem" with inetc.
Takhir, thanks for the assistance.
MMSA
13th December 2012 09:08 UTC
(sorry for bringing up an old issue)
I will be happy to know what you found.
I am facing the same problem: http://forums.winamp.com/showthread.php?t=353362
Will be happy to get some help.
BoscoBilly
14th December 2012 02:19 UTC
Glad to help if I could but 3.5 years later, after all the stuff I've done since, I cannot recall.
As you know, my last msg stated NOT inetc:GET problem since I got it working on another W2k box.
Good luck.
MMSA
14th December 2012 23:11 UTC
Thanks for the update.
Not so great that there is no solution for that :(
I tried to look around. no luck so far.
It will be great if someone can help to solve that issue.