title: click Once Exception when installing it
body: <p>i have an application that takes 4 prerequisites: <code>dotnetfx40</code> and <code>ReportViewer</code> and <code>vbpowerpacks</code> and <code>windowsinstaller3_1</code> after <code>publishing</code> it, i put the <code>clickonce</code> folder on a <code>local network</code> and create new <code>application</code> on the <code>IIS</code> to install it from the server to be used by our team.</p>
  
  <p>when i try to install it on any computer, first it install all prerequisites and then installing of the application starts.</p>
  
  <p>during installation, error message appears <code>Application Installation corrupted</code> with 2 buttons <code>OK</code> and 'Details' if i click <code>OK</code> and try to install it from the same <code>URL</code>it installed and works fine since all prerequisites was installed.</p>
  
  <p>but if i click <code>Details</code> a text documents appears with the following:</p>
  
  <pre><code>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&amp; downloadTemp)
          at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState&amp; subState, ActivationDescription actDesc)
          at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String&amp; 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.
  </code></pre>
  
  <p><b>Note:</b> I tried to set application to work to any <code>CPU</code> and tried to create application without <code>manifest</code> but nothing change</p>
  
  <p>any help</p>
  
  <p>thanks in advance</p>