mage

Changing product name with mage.exe

二次信任 提交于 2019-12-08 15:58:16
问题 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 for this? 回答1: I played around and it seems the command line tool indeed lacks this capability. I guess it was done for keeping it lightweight (or maybe cost issues). Alternative would be to use the GenerateApplicationManifest MSBuild task: Example:

Magento event observer not working on some machines

自闭症网瘾萝莉.ら 提交于 2019-12-08 01:54:57
问题 I cannot seem to figure out why my event observer works from my machine (and another coworkers) but not from other machines in the office. For example, I have an observer that listens for the event: controller_action_postdispatch_adminhtml_process_reindexProcess My code detects the event and runs some code. When I run the re-index process, my code executes. When certain other machines here in the office run the re-index, either the event is not fired, or my observer isn't detecting it. Why

Manual XBAP publishing

烈酒焚心 提交于 2019-12-06 05:10:41
I found a method to manually publish a regular WPF Application, but i need the same instructions for a WPF Browser app instead. Here is the regular WPF App howto: http://msdn.microsoft.com/en-us/library/xc3tc5xx(VS.80).aspx . If anyone knows what changes I need to make to my mage commands to make it work for XBAP please let me know. Thanks. I had to alter the name of the default "Application Files" folder for one of our customers who doesn't like spaces in file or folder names and this meant re-signing the xbap after the publish. Here's the msbuild script I use to automate the process: <Target

add a new column for special price in grid in admin panel in magento

怎甘沉沦 提交于 2019-12-05 02:47:25
问题 I am designing an admin module in Magento 1.4.2. I am developing a grid layout displaying the product details (product name, SKU, price, special price, qty) I displayed all the columns. I cannot figure out how to display the special price in one column. I cannot retrieve the special price. Help me to solve this. I used this code for getting the price. $collection->joinAttribute('price', 'catalog_product/price', 'entity_id', null, 'left', $store->getId()); This code I used for adding a column

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

房东的猫 提交于 2019-12-04 18:19:08
问题 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 certificates example. It is also known that Update 3 for Visual Studio 2013 fixes the issue when you publish using Visual Studio interface. I am wondering how I can accomplish the same fix using signtool or mage on the command line. Here is my

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

感情迁移 提交于 2019-12-04 10:27:59
问题 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, and have been using it to sign my ClickOnce application for months. I realized I wasn't signing the executable and dlls themselves, so I attempt to do so. Now every time I publish and run the setup.exe, it fails with: "File, xxxxxx.dll, has a

Why does Mage.exe not generate a compatibleFrameworks attribute?

我怕爱的太早我们不能终老 提交于 2019-12-04 02:50:50
问题 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 application manifest which we generate every build. Is there a way we can make Mage.exe add this element or should we only ever update existing manifests? 回答1: Add this to your GenerateDeploymentManifest MSBuild task TargetFrameworkMoniker=".NETFramework

add a new column for special price in grid in admin panel in magento

筅森魡賤 提交于 2019-12-03 17:16:50
I am designing an admin module in Magento 1.4.2. I am developing a grid layout displaying the product details (product name, SKU, price, special price, qty) I displayed all the columns. I cannot figure out how to display the special price in one column. I cannot retrieve the special price. Help me to solve this. I used this code for getting the price. $collection->joinAttribute('price', 'catalog_product/price', 'entity_id', null, 'left', $store->getId()); This code I used for adding a column for price. $this->addColumn('price', array( 'header' => Mage::helper('catalog')->__('Price'), 'type' =>

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

十年热恋 提交于 2019-12-03 11:59:52
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 certificates example . It is also known that Update 3 for Visual Studio 2013 fixes the issue when you publish using Visual Studio interface. I am wondering how I can accomplish the same fix using signtool or mage on the command line. Here is my current batch file that works for everything except Windows XP: :: Build and publish msbuild /target

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

99封情书 提交于 2019-12-03 05:51:37
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, and have been using it to sign my ClickOnce application for months. I realized I wasn't signing the executable and dlls themselves, so I attempt to do so. Now every time I publish and run the setup.exe, it fails with: "File, xxxxxx.dll, has a different computed hash than specified in manifest." If I do not sign the exe and Dlls, I can redeploy. I made