Launching wyUpdate from LocalSystem account

I need to pick the brains of the forum members for a sec.

The test download location provided to me by the company I work for is actually an Intranet site. That means that credentials are needed to access the sites. When I tested wyUpdate in our desktop applications, the updates worked fine because, I assume, the apps run within my Windows account that has access that intranet site.

Now I'm testing the update from a web application, hosted on my computer under Ultidev's Cassini Pro web server. From what I gather from reading wyBuild help pages, the host process needs to be under LocalSystem but that account does not have access to the intranet site and I therefore receive an "The remote server returned an error: (401) Unauthorized" error from wyUpdate.

I also tried hosting under the NetworkService account and wyUpdate can check for update but just hangs when comes the time to download and install, not too sure why.

The questions are: how do you gain access to a web site that requires credentials? Is there an option in the parameters to wyUpdate that would allows to do that? Or how can wyupdate be started using the logged on windows account from a process that run in LocalSystem? Or am I completely off track??

Thanks!

It sounds like when you run wyUpdate as a regular user all the proxies and network credentials are already cached and set up to access the local or remote download site. However when you run wyUpdate in a LocalSystem user you're not using the correct proxy and/or HTTP credentials to connect to the website.

Firstly, if connecting to the site requires proxy access then make sure the proxies are either passed to wyUpdate or are configured for that user (LocalSystem).

Next, regarding HTTP credientials, you can just pass these in as part of the download site. For example:

http://username:password@yoursite.com/updates/%file%

You need to use wyUpdate 2.6.16.4 (or newer) for that to work.