Updater Application Block组件及详细文档
微软的一个自动更新组件、压缩包里面有详细的源码、例子及文档
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 192 2003-05-29 21:33 UpdaterCodeBUILD_SLN.BAT
文件 247 2003-05-29 21:34 UpdaterCodeCOPY_FILES.BAT
文件 576 2013-04-26 16:30 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartApp.config
文件 1078 2003-05-13 18:33 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartApp.ico
文件 4305 2003-06-11 18:53 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartAppStart.cs
文件 5369 2013-04-26 16:26 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartAppStart.csproj
文件 592 2013-04-26 16:26 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartAppStart.exe.config
文件 5315 2003-05-13 18:33 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartAppStart.resx
文件 920 2003-06-05 09:32 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartAssemblyInfo.cs
文件 20480 2013-04-26 16:26 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugAppStart.exe
文件 576 2013-04-26 16:30 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugAppStart.exe.config
文件 19968 2013-04-26 16:26 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugAppStart.pdb
文件 11592 2013-04-26 16:39 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugAppStart.vshost.exe
文件 576 2013-04-26 16:30 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugAppStart.vshost.exe.config
文件 490 2009-06-11 05:14 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugAppStart.vshost.exe.manifest
文件 106496 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ApplicationUpdater.dll
文件 16384 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ApplicationUpdater.Interfaces.dll
文件 7680 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ApplicationUpdater.Interfaces.pdb
文件 159232 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ApplicationUpdater.pdb
文件 36864 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ExceptionManagement.dll
文件 16384 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ExceptionManagement.Interfaces.dll
文件 7680 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ExceptionManagement.Interfaces.pdb
文件 54784 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ExceptionManagement.pdb
文件 3563 2003-06-11 18:53 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartConfigSectionHandler.cs
文件 1917 2013-04-26 16:39 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartobjDebugAppStart.csproj.FileListAbsolute.txt
文件 20480 2013-04-26 16:26 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartobjDebugAppStart.exe
文件 19968 2013-04-26 16:26 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartobjDebugAppStart.pdb
文件 14153 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartobjDebugResolveAssemblyReference.cache
文件 1078 2003-05-13 18:33 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterManifestUtilityApp.ico
文件 845 2003-05-13 18:33 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterManifestUtilityAssemblyInfo.cs
............此处省略464个文件信息
//============================================================================================================
// Microsoft Updater Application Block for .NET
// http://msdn.microsoft.com/library/en-us/dnbda/html/updater.asp
//
// ManifestCreator.cs
//
// Exposes a command-line interface for creating manifest files.
//
// For more information see the Updater Application Block Implementation Overview.
//
//============================================================================================================
// Copyright (C) 2000-2001 Microsoft Corporation
// All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED “AS IS“ WITHOUT WARRANTY
// OF ANY KIND EITHER EXPRESSED OR IMPLIED INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR
// FITNESS FOR A PARTICULAR PURPOSE.
//============================================================================================================
using System;
using System.IO;
using System.xml;
using System.Security.Cryptography;
using System.Diagnostics;
namespace QSManifestTool
{
class ManifestCreator
{
[STAThread]
static void Main(string[] args)
{
Console.WriteLine(args[0]);
string _key;
StreamReader sr = new System.IO.StreamReader(args[3]);
_key = sr.ReadToEnd();
sr.Close();
bool _usePP = false;
if(args[6] == “true“)
{
_usePP = true;
}
ManifestSettings manifest = new ManifestSettings();
manifest.FolderPath = args[0];
manifest.UpdateLocation = args[1];
manifest.Version = args[2];
manifest.Key = _key;
manifest.ValidatorAssembly = args[4];
manifest.ValidatorClass = args[5];
manifest.UsePostProcessor = _usePP;
manifest.PostProcessorAssembly = args[7];
manifest.PostProcessorClass = args[8];
xmlDocument manifestDoc = manifest.Create();
manifestDoc.Save(args[9]);
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 192 2003-05-29 21:33 UpdaterCodeBUILD_SLN.BAT
文件 247 2003-05-29 21:34 UpdaterCodeCOPY_FILES.BAT
文件 576 2013-04-26 16:30 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartApp.config
文件 1078 2003-05-13 18:33 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartApp.ico
文件 4305 2003-06-11 18:53 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartAppStart.cs
文件 5369 2013-04-26 16:26 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartAppStart.csproj
文件 592 2013-04-26 16:26 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartAppStart.exe.config
文件 5315 2003-05-13 18:33 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartAppStart.resx
文件 920 2003-06-05 09:32 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartAssemblyInfo.cs
文件 20480 2013-04-26 16:26 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugAppStart.exe
文件 576 2013-04-26 16:30 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugAppStart.exe.config
文件 19968 2013-04-26 16:26 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugAppStart.pdb
文件 11592 2013-04-26 16:39 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugAppStart.vshost.exe
文件 576 2013-04-26 16:30 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugAppStart.vshost.exe.config
文件 490 2009-06-11 05:14 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugAppStart.vshost.exe.manifest
文件 106496 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ApplicationUpdater.dll
文件 16384 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ApplicationUpdater.Interfaces.dll
文件 7680 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ApplicationUpdater.Interfaces.pdb
文件 159232 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ApplicationUpdater.pdb
文件 36864 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ExceptionManagement.dll
文件 16384 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ExceptionManagement.Interfaces.dll
文件 7680 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ExceptionManagement.Interfaces.pdb
文件 54784 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartinDebugMicrosoft.ApplicationBlocks.ExceptionManagement.pdb
文件 3563 2003-06-11 18:53 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartConfigSectionHandler.cs
文件 1917 2013-04-26 16:39 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartobjDebugAppStart.csproj.FileListAbsolute.txt
文件 20480 2013-04-26 16:26 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartobjDebugAppStart.exe
文件 19968 2013-04-26 16:26 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartobjDebugAppStart.pdb
文件 14153 2013-04-24 16:16 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterAppStartobjDebugResolveAssemblyReference.cache
文件 1078 2003-05-13 18:33 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterManifestUtilityApp.ico
文件 845 2003-05-13 18:33 UpdaterCodeCSMicrosoft.ApplicationBlocks.UpdaterManifestUtilityAssemblyInfo.cs
............此处省略464个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)