我点击一次应用程序,通过VS 2010部署/发布时工作正常。 但我有一个要求,当我的应用程序需要一些文件更改或部署后更新。所以我希望安装该应用程序的每个客户都获得更新的文件,我不想为此使用VS.
为了达到同样的目的,我正在使用mageUI.exe。所以例如我的文件结构是这样的:
MyAppIISFolder
Web.xml
MyApp.application
Setup.exe
Application Files(folder)
MyAppVersion(folder)
Some.dll.deploy
MyApp.exe.manifest
myApp.application
fileToChange.txt.deploy
按照以下步骤实现相同目标:
打开文件“MyAppIISFolder \ Application Files \ MyAppVersion \ MyApp.exe.manifest”
a. Went to “Files” tab and clicked on populate.
b. Got Following error message MyApp.application.deploy found with deploy extension. Overwrite?
c. I clicked “Yes”
d. The Went to “Name” tab and increased the version number
e. Saved the file and selected new sign certificate
打开文件“MyAppIISFolder \ MyApp.application”
a. Went to “Application Reference” tab
b. Selected Manifest and saved the file
c. Gone to “Name” folder and updated the version number
现在,当其中一个已安装的客户端尝试更新时,我收到以下错误:
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\me\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\MyApp\MyApp.appref-ms| resulted in exception. Following failure messages were detected:
+ Exception reading manifest from
http://me/ MyAppIISFolder/Application%20Files/ MyAppVersion /MyApp.exe.manifest: the manifest may not be valid or the file could not be opened.
+ Parsing and DOM creation of the manifest resulted in error. Following parsing errors were noticed:
-HRESULT: 0x80070c81
Start line: 0
Start column: 0
Host file:
+ Exception from HRESULT: 0x80070C81
我想,我错过了导致此错误的一两步。关于mageUI.exe的博客非常少,所以无法找到与之相关的东西......