Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Creating ClickOnce with Mage.exe removes 4 characters in .application
 

Creating ClickOnce with Mage.exe removes 4 characters in .application

Hi,

when I try to create a ClickOnce Installation with mage.exe (from WinSDK) the ABCDEF.application file should contain a tag like
<dependentAssembly dependencyType="install" codebase="ABCDEF.exe.manifest" size="20719">

but when I look at the .application file it always removes the first 4 characters of the codebase attribute-value....while the .application-filename and .exe.manifest-filename etc. are all fine.
That's the result. Any Application name I tried, the first 4 characters are always missing like below.........
<dependentAssembly dependencyType="install" codebase="EF.exe.manifest" size="20719">

By the way I tried to post this in "Setup and Deployment Projects" Forum, but didn't know how to set it there...its not available in the list.

Thanks and Best Regards
nhale  Thursday, July 30, 2009 1:17 PM

Hi nhale,

Could you please send the project as an attachment of a email to me? This is my email:

Alala666888@hotmail.com. This would help me to test and figure out the root cause of the issue.

Best regards,
Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Monday, August 03, 2009 3:44 AM
Hi,

sorry but this is not possible because of company reasons.

The problem is, that it is working on several local machines but it is doint sth. like above on the server.

Best Regards

nhale  Thursday, August 06, 2009 3:34 PM

Hi nhale,

Thanks for your reply, it does not matter. You said
it is working on several local machines but it is doint sth. like above on the server.

We can check the differences between the local machines and the server, especially the network connections. The issue is also possible related to the security. This link discusses about how to use Mage.exe:
http://msdn.microsoft.com/en-us/library/acz3y3te(VS.80).aspx.

Please search this line to check the security:
http://msdn.microsoft.com/en-us/library/acz3y3te(VS.80).aspx .

You can also publish your program directly using ClickOnce. This some information about ClickOnce:
http://msdn.microsoft.com/en-us/library/t71a733d(VS.80).aspx.

http://msdn.microsoft.com/en-us/library/wh45kb66.aspx.

This is a walkthrough:
http://msdn.microsoft.com/en-us/library/xc3tc5xx.aspx.

Let me know if this helps.
Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Friday, August 07, 2009 2:51 AM

You can use google to search for other answers

Custom Search

More Threads

• How to choose the dir to place the program by click once?
• how to run cacls.exe only if its not a mapped drive
• Prerequisites
• Another Icon in ClickOnce Deplyment?
• Pause main code for input via text box & button press
• mage -sign via command line is unable to open certificate
• Running Installed application after finishing installation
• ClickOnce Bootstrapper Incompatible with UAC?!
• How to stop installation?
• Can ClickOnce provide an 'Uninstall' method?