2013-10-29 112 views
0

我有需要4个先决条件的应用程序:dotnetfx40ReportViewervbpowerpackswindowsinstaller3_1publishing后,我把clickonce文件夹上local network,创造新的applicationIIS从服务器安装由我们的团队使用。点击一次异常安装时

当我尝试在任何计算机上安装它时,首先安装所有先决条件,然后安装应用程序启动。在安装过程中

,出现错误信息Application Installation corrupted,2个按钮OK和“详细资料”如果我点击OK,并尝试从中安装和自安装的所有先决条件正常工作一样URL安装。

,但如果我点击Details一个文本文件,其中显示以下:

PLATFORM VERSION INFO 
Windows    : 5.1.2600.196608 (Win32NT) 
Common Language Runtime  : 2.0.50727.3649 
System.Deployment.dll  : 2.0.50727.3053 (netfxsp.050727-3000) 
mscorwks.dll   : 2.0.50727.3649 (GDR.050727-3600) 
dfdll.dll   : 2.0.50727.3053 (netfxsp.050727-3000) 
dfshim.dll   : 4.0.31106.0 (Main.031106-0000) 

SOURCES 
Deployment url   : http://myhost/myAppl/myAppl.application 
        Server  : Microsoft-IIS/7.5 
        X-Powered-By : ASP.NET 
Deployment Provider url  : http://myhost/myAppl/myAppl.application 
Application url   : http://myhost/myAppl/Application%20Files/myAppl_1_0_0_54/myAppl.exe.manifest 
        Server  : Microsoft-IIS/7.5 
        X-Powered-By : ASP.NET 

IDENTITIES 
Deployment Identity  : myAppl.application, Version=1.0.0.54, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil 
Application Identity  : myAppl.exe, Version=1.0.0.54, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil, type=win32 

APPLICATION SUMMARY 
* Installable application. 
* Trust url parameter is set. 
ERROR SUMMARY 
Below is a summary of the errors, details of these errors are listed later in the log. 
* Activation of http://myhost/myAppl/myAppl.application resulted in exception. Following failure messages were detected: 
    + Exception occurred loading manifest from file myAppl.resources.dll: the manifest may not be valid or the file could not be opened. 
    + Cannot load internal manifest from component file. 

COMPONENT STORE TRANSACTION FAILURE SUMMARY 
No transaction error was detected. 

WARNINGS 
* The manifest for this application does not have a signature. Signature validation will be ignored. 
* The manifest for this application does not have a signature. Signature validation will be ignored. 

OPERATION PROGRESS STATUS 
* [10/29/2013 3:32:58 PM] : Activation of http://myhost/myAppl/myAppl.application has started. 
* [10/29/2013 3:32:59 PM] : Processing of deployment manifest has successfully completed. 
* [10/29/2013 3:32:59 PM] : Installation of the application has started. 
* [10/29/2013 3:33:02 PM] : Processing of application manifest has successfully completed. 
* [10/29/2013 3:33:27 PM] : Request of trust and detection of platform is complete. 

ERROR DETAILS 
Following errors were detected during this operation. 
* [10/29/2013 3:34:45 PM] System.Deployment.Application.InvalidDeploymentException (ManifestLoad) 
    - Exception occurred loading manifest from file myAppl.resources.dll: the manifest may not be valid or the file could not be opened. 
    - Source: System.Deployment 
    - Stack trace: 
     at System.Deployment.Application.Manifest.AssemblyManifest.ManifestLoadExceptionHelper(Exception exception, String filePath) 
     at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath) 
     at System.Deployment.Application.Manifest.AssemblyManifest..ctor(String filePath) 
     at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e) 
     at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e) 
     at System.Deployment.Application.FileDownloader.OnModified() 
     at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next) 
     at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles() 
     at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState) 
     at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options) 
     at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp) 
     at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc) 
     at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl) 
     at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state) 
    --- Inner Exception --- 
    System.Deployment.Application.DeploymentException (InvalidManifest) 
    - Cannot load internal manifest from component file. 
    - Source: 
    - Stack trace: 


COMPONENT STORE TRANSACTION DETAILS 
No transaction information is available. 

注:我试图设置应用到工作,任何CPU,并试图不manifest创建应用程序,但没有改变

任何帮助

在此先感谢

回答

0

似乎您需要签署我们的ClickOnce清单的警告。这可以在签名部分的项目设置中完成。还要确保您的部署中包含resources.dll,请确保它包含在ClickOnce设置的应用程序文件中。