Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - I just find out I miss a step to update the deployment manifestmage

Reply
 
Old 2 Weeks Ago   #1 (permalink)
gnanaprakash rajamanickam


 
 

I just find out I miss a step to update the deployment manifestmage

Hi AngelaCha,

Can you please send me the code snippet which is working for you to my email id.

Thanks in advance.

Regards,
Prakash



AngelaCha wrote:

I just find out I miss a step to update the deployment manifestmage -Update
05-Apr-07

I just find out I miss a step to update the deployment manifest

mage -Update GUI.application -AppManifest C:\Inetpub\wwwroot\GUI.exe.manifest

It works after that step.

"Angela Chan" wrote:

Previous Posts In This Thread:

On Thursday, April 05, 2007 1:50 PM
AngelaCha wrote:

Question on Mage.exe
I'm not sure this is the group that I should post my questions, if not,
please refer me to the right one. Thanks

I have .net 2.0 in Microsoft Window Server 2003 Web Edition server, I'm
using mage.exe to update the manifest for my ClickOnce application. The
following is the commands that I use to update and sign

mage -Update GUI.exe.manifest -fd .\temp -Version 5.0.2.6
mage -Sign GUI.exe.manifest -CertFile tempkey.pfx -Password test
mage -Sign GUI.application -CertFile tempkey.pfx -Password test

However, when I click on GUI.application file, I got "Application manifest
has either a different computed hash than the one specified or no hash
specified at all. " and "File, GUI.exe.manifest, has a different computed
hash than specified in manifest."

The following is the detail error, does anyone know how to fix it? Thanks

Angela

ERROR DETAILS
Following errors were detected during this operation.
* [4/5/2007 1:30:50 PM]
System.Deployment.Application.InvalidDeploymentException (HashValidation)
- Application manifest has either a different computed hash than the one
specified or no hash specified at all.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest
deploymentManifest, String targetDir, Uri deploymentUri,
IDownloadNotification notification, DownloadOptions options, Uri&
appSourceUri, String& appManifestPath)
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)
at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (HashValidation)
- File, GUI.exe.manifest, has a different computed hash than specified in
manifest.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String
filePath, Hash hash)
at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String
filePath, HashCollection hashCollection)
at
System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest
deploymentManifest, String targetDir, Uri deploymentUri,
IDownloadNotification notification, DownloadOptions options, Uri&
appSourceUri, String& appManifestPath)

On Thursday, April 05, 2007 4:14 PM
AngelaCha wrote:

I just find out I miss a step to update the deployment manifestmage -Update
I just find out I miss a step to update the deployment manifest

mage -Update GUI.application -AppManifest C:\Inetpub\wwwroot\GUI.exe.manifest

It works after that step.

"Angela Chan" wrote:

EggHeadCafe - Software Developer Portal of Choice
ASP.NET Membership and Roles in Silverlight 3
http://www.eggheadcafe.com/tutorials...ip-and-ro.aspx

My System SpecsSystem Spec
Old 2 Weeks Ago   #2 (permalink)
gnanaprakash rajamanickam


 
 

I just find out I miss a step to update the deployment manifestmage

Hi My email id is rgnanaprakash@newsgroup



gnanaprakash rajamanickam wrote:

I just find out I miss a step to update the deployment manifestmage
06-Nov-09

Hi AngelaCha,

Can you please send me the code snippet which is working for you to my email id.

Thanks in advance.

Regards,
Prakash

Previous Posts In This Thread:

EggHeadCafe - Software Developer Portal of Choice
Slipstreaming and Unattended Windows Media Creation
http://www.eggheadcafe.com/tutorials...d-unatten.aspx
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Recent update Windows Vista - It boots up with the third step 0% (and stop there.) - Please help! THANKS! Vista mail
Vista step-by-step deployment Vista General
Fed up with Vista? Here are step-by-step instructions for downgrading back to the warm familiarity of Windows XP Vista General
Request for a Simple Step-By-Step Guide to Networking Vista and XP Vista networking & sharing
Request for a Simple Step-By-Step Guide to Networking Vista and XP Vista networking & sharing


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46