UAB - Custom Downloader - UNC

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,

I am using the Updater Application Block Version 2.
I am trying to follow the instructions at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/updaterv2.asp
to a custom downloader (UNC )

So far I was not successfull.
Firstly,
As it was stated I added
<includeTypes>
<includeType name="UNCDownloader"
type="MyApp.Downloaders.UNCDownloaderProviderData, MyApp" />
</includeTypes> to app.config. But I am getting "Unrecognized element
IncludeTypes" error.

Secondly,
it says section
<downloaders>
<downloader xsi:type="UNCDownloaderProviderData"
name="UNCDownloader">
</downloader>
</downloaders>
should be added to Updaterconfiguration.config file. However I do not
have this file. Should I create it?

ServerManifest.xml
Looks like
....
<files base="\\MyApp\Server"
hashComparison="Yes" hashProvider="MD5CryptoServiceProvider" >
<file hash="a5aqUnlIyzu670VDJW8lSwXJdJM=" source="MyApp.exe"
transient="No" />
<file hash="0UOXi/+fNtBihjD9Vv8WS+1NBCo="
source="MyApp.Forms.dll" transient="No" />
</files>
<downloader name="UNCDownloader" />
....

App.Config file

....
<UpdaterConfiguration defaultDownloader="UNCDownloader"
applicationId="{345E1AD7-9ABA-432f-A458-24BABA556908}"
manifestUri="http://localhost/Servermanifest.xml";>
<includeTypes>
<includeType name="UNCDownloader"
type="MyApp.UNCDownloaderProviderData, MyApp" />
</includeTypes>

</UpdaterConfiguration>
....
Has anybody had any idea what it is wrong here...
Thanks in advance,

Olgu.

.



Relevant Pages

  • Custom downloader - UNC
    ... I am trying to follow the instructions at ... to build a custom downloader (UNC) ... IncludeTypes" error. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Custom downloader - UNC
    ... I am using the Updater Application Block Version 2. ... I am trying to follow the instructions at ... to build a custom downloader ... IncludeTypes" error. ...
    (microsoft.public.dotnet.languages.csharp)