Archive: How to download a dynamic page


How to download a dynamic page
Hey guys,

I have been playing with nsisdl for a little bit now, but have been running into problems. Basically, I'd like to generate and install a unique key (from the server) for each download. I figured that the easiest way to do this would be to have the install process contact the server and download a file containing this key. This leads to my difficulties:

It looks like the nsisdl cannot download a dynamic page (with server-side code, redirects, etc.). More specifically, it won't retrieve a *.cfm page (I'm using Cold Fusion) which outputs this key. Is this a known issue? Am I going about this the wrong way?

Thanks for any help you can give. It's much appreciated.

-tmulle-


I had the same problem.

I was using a dynamic php script which was a build of lots of information for my program.

Do you have a content header length code in your script?

-Stu


No, I haven't explicitly set the http header-length in the server-side script (not sure I even know how to do that).

Thanks, I'll look into it a little more from that angle.

-tmulle


That's all you need in now to allow NSISdl at your dynamic page.

-Stu