Old 31st August 2009, 18:02   #1
BoscoBilly
Junior Member
 
Join Date: May 2009
Posts: 43
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.
BoscoBilly is offline   Reply With Quote
Old 31st August 2009, 20:14   #2
Takhir
Major Dude
 
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
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.
Takhir is offline   Reply With Quote
Old 1st September 2009, 02:13   #3
BoscoBilly
Junior Member
 
Join Date: May 2009
Posts: 43
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 is offline   Reply With Quote
Old 2nd September 2009, 00:32   #4
BoscoBilly
Junior Member
 
Join Date: May 2009
Posts: 43
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.
BoscoBilly is offline   Reply With Quote
Old 13th December 2012, 09:08   #5
MMSA
Junior Member
 
Join Date: Dec 2012
Posts: 10
(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.
MMSA is offline   Reply With Quote
Old 14th December 2012, 02:19   #6
BoscoBilly
Junior Member
 
Join Date: May 2009
Posts: 43
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.
BoscoBilly is offline   Reply With Quote
Old 14th December 2012, 23:11   #7
MMSA
Junior Member
 
Join Date: Dec 2012
Posts: 10
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.
MMSA is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump