Questions tagged [mage]

The Manifest Generation and Editing Tool (Mage.exe) is a command-line tool that supports the creation and editing of application and deployment manifests for Windows applications.

The Manifest Generation and Editing Tool (Mage.exe) is a command-line tool that supports the creation and editing of application and deployment manifests for Microsoft ClickOnce deployment of applications.

A graphical client (MageUI.exe) exists for this tool.

More information is available on MSDN.

198 questions
14
votes
2 answers

Why does Mage.exe not generate a compatibleFrameworks attribute?

We are using Mage.exe to generate our application's manifests as part of our build process. Upon upgrading to .NET 4 we now find it generates an invalid manifest. The reason is there isn't a compatibleFrameworks attribute being set in the…
Kev Hunter
  • 2,565
  • 4
  • 25
  • 39
14
votes
1 answer

How to migrate from Visual Studio ClickOnce "Publish" wizard to MSBuild/mage deployment?

Up until now our app has been published using ClickOnce via the Visual Studio "Publish" wizard. This has been rather painful, and we've automated the process using msbuild/mage. Unfortunately, the new deployment does not appear to be compatible with…
Roman Starkov
  • 59,298
  • 38
  • 251
  • 324
14
votes
1 answer

Custom icon for ClickOnce application in 'Add or Remove Programs'

A ClickOnce application created using Mage is not showing the icon that was specified in for the Mage command-line parameter in control panel Add or Remove Programs. I read some blogs, like: Application icon is not displayed in Add/Remove Programs…
Raghu
  • 141
  • 1
  • 4
13
votes
5 answers

Clickonce signed application fails with "has a different computed hash than specified in manifest". Mage fails to resolve issue

I've been really struggling with this one for days. I've seen other posts like ClickOnce Deployment Error: different computed hash than specified in manifest, but the solutions do not seem to work for me. I have a valid code signing certificate,…
TheFIXGuy
  • 181
  • 1
  • 1
  • 6
10
votes
4 answers

How to Sign ClickOnce with Sha256 Cert for .NET 4.0 like Visual Studio Update 3

I am trying to deploy an outlook add-in using a clickonce installer. I have a batch file that almost works, however, I get the error "xml signature is not valid" when trying to install on Windows XP. It is pretty well known that XP fails with SHA256…
OtotheA
  • 513
  • 4
  • 12
10
votes
1 answer

Magento Ajax Based Attributes Filters

I need to place dropdowns which will be connected to each other e.g Truck Brand, Truck Model, Model Years. So There will be one drop down for Brand. which contains all the attribute options of Truck Brands. Once Selected Brand, another dropdown will…
Asif
  • 258
  • 1
  • 6
  • 19
9
votes
1 answer

Changing product name with mage.exe

I need to update the application's manifest with a new value for 'product'. With mage.exe I can update the name and publisher but NOT the product. In MageUI you can do this, but I need to do it on the commandline. Is there a solution or workaround…
Martin
  • 1,521
  • 3
  • 18
  • 35
9
votes
4 answers

ClickOnce VSTO solution signed with mage.exe - certificate not trusted error

I'm trying to deploy a VSTO solution, which are 2 addins for Word and for Outlook, using ClickOnce. Due to our deployment infrastructure/practices, I cannot publish it using Visual Studio, it is instead built on a build server and deployed via a…
Martin
  • 257
  • 1
  • 3
  • 11
9
votes
1 answer

The application is improperly formatted

I get this error while starting the ClickOnce setup. It says 'Cannot continue. The application is improperly formatted.' EDIT: This happened after the Visual Studio 2013 Update 4 (2013.4) Here's how I create the files: mage -New Application -ToFile…
ldrdl
  • 446
  • 1
  • 3
  • 16
8
votes
0 answers

Automate Extended Validation (EV) code signing with mage.exe

I try to sign a WPF ClickOnce application with EV certificate stored on a HSM from Gemalto. I have a Continuous Deployment (CD) configured and I want to sign automatically without user interaction, like with PFX files before. With the article…
Flow
  • 81
  • 2
8
votes
3 answers

What is Mage and in what way is it useful?

I keep seeing references to Mage, but I don't understand specifically what it does and why it's useful/popular. If someone could give a quick rundown of it, it would be much appreciated! Thanks ~
MrGreggles
  • 6,113
  • 9
  • 42
  • 48
7
votes
5 answers

Magento: Fatal error: Call to a member function getModelInstance() on a non-object in app\Mage.php on line 432

I want to call a PHP file using ajax where in that PHP i will place order by the ajax call. But it throws error while i am using app/Mage.php from that file require_once '../../../../../../../../../../app/Mage.php'; $customer =…
itsazzad
  • 6,868
  • 7
  • 69
  • 89
7
votes
3 answers

Resign Clickonce manifest using mage.exe

Simple scenario. Visual studio generates and signs things as part of the publish process. I then go to the MyApp.dll.config.deploy file and update some settings. Now when I try to install the application the clickonce installer says the…
The Muffin Man
  • 19,585
  • 30
  • 119
  • 191
7
votes
2 answers

Mage.exe deployment problems

I have a config file that needs changed on a per-server basis, so that once a server has our software installed on it, the config file for a client installer is set up to match that server's particular settings, and then copied to a public folder on…
Nathan Wheeler
  • 5,896
  • 2
  • 29
  • 48
7
votes
1 answer

Magento - Set product attribute to use default values

This has been asked many times before but with no working answer. I have multiple stores and some attributes have been overridden. I want to change these attributes to 'use default value' with a script. Here is an image showing store views and 'use…
Jacob Dorman
  • 341
  • 1
  • 4
  • 16
1
2 3
13 14