Welcome to Macrobject Community Login | Register | Faq  

    Macrobject Community
  Macrobject Software Knowledge Management and Collaboration Platform
Search    
   

Re: Problem with manifest file
Started by microsmith at 02-09-2009 4:09 PM. Topic has 4 replies.

Print Search « Previous Thread
  02-09-2009, 4:09 PM
microsmith is not online. Last active: 2/13/2009 1:06:20 AM microsmith

Top 75 Posts
Joined on 02-10-2009
Posts 2
Problem with manifest file
Reply Quote
I'm using Visual Studio 2008 to create a Word add-in.  I set up the command line parameters in the post-build event to obfuscate the dll using your product.  The build suceeds but when I try to install the custumization I get the following error:

Name: Formula Builder AE 2007
From: file:///C:/Users/Brad/Documents/Visual Studio 2008/Projects/Formula Builder AE 2007/Formula Builder AE 2007/bin/Release/Formula Builder AE 2007.vsto

File, Formula Builder AE 2007.dll, has a different computed hash than specified in manifest.

************** Exception Text **************
System.Deployment.Application.InvalidDeploymentException: File, Formula Builder AE 2007.dll, has a different computed hash than specified in manifest.
   at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.DownloadAddIn(TimeSpan timeout)
   at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

It seems that the manifest is built before the obfuscation is complete.  How can I get around this?

Thanks

Microsmith
   Report 
  02-10-2009, 8:59 PM
David is not online. Last active: 3/11/2012 2:40:55 PM David

Top 10 Posts
Joined on 01-26-2008
Posts 195
Re: Problem with manifest file
Reply Quote
Do you have any method to regenerate the manifest file according to the obfuscated dll?
Or you could remove the hash check from the manifest?
Please send us the manifest if you can't solve the problem, thanks.
   Report 
  02-12-2009, 9:09 AM
microsmith is not online. Last active: 2/13/2009 1:06:20 AM microsmith

Top 75 Posts
Joined on 02-10-2009
Posts 2
Re: Problem with manifest file
Reply Quote
I worked it out.  I needed to regenerate the application and deployment manifests.  I used MAGEUI to do this. You first need to regenearte the application manifest, then the deployment manifest. 
   Report 
  02-12-2009, 6:26 PM
David is not online. Last active: 3/11/2012 2:40:55 PM David

Top 10 Posts
Joined on 01-26-2008
Posts 195
Re: Problem with manifest file
Reply Quote
That is a good message.

Any further questions please feel free to contact us, thanks.
   Report 
  06-15-2011, 8:40 AM
csasdfasfsaf is not online. Last active: 6/16/2011 3:14:03 PM csasdfasfsaf

Top 100 Posts
Joined on 06-16-2011
Switzerland
Posts 2
Re: Problem with manifest file
Reply Quote
hello

at first, sorry about my username, it didn't work correctly.

i have made an outlook addin on windows 7 with Visual Studio 2010 and office 2007.
now i want it install on windows xp with the office 2010.

I have always this error:

Name: AddinTest
Von: file:///C:/Dokumente und Einstellungen/christian/Desktop/veroeffenlichung/AddinTest.vsto

************** Ausnahmetext **************
System.Deployment.Application.InvalidDeploymentException: Die Datei 'AddinTest.dll' hat einen anderen berechneten Hash, als im Manifest angegeben ist.
   bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.DownloadAddIn(TimeSpan timeout)
   bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()


what should i do?


   Report 
Post
Macrobject Comm... » Developing Tool... » Obfuscator.NET » Re: Problem with manifest file

Powered by Community Server, by Telligent Systems