dyadica.net

Fun and Games in the Dyadic Sea

Posts Tagged ‘setup’

permalink image comments image
Sunday, 21 June '09: Creating an MSI Uninstall Program Shortcut

As a general rule, Microsoft expect you to uninstall MSI applications from the Add/Remove Programs tool in the Control Panel.

Sometimes however, its nice to add a Start->Programs Menu – ‘Uninstall Shortcut’ to facilitate this action, for user convenience.

The following post details adding such a shortcut to a simple MSI build in Visual Studio 2008.

Browse to the MSI project folder (using Windows Explorer), right click and select New->Shortcut from the context menu. In the Create Shortcut Wizard dialog that pops up type ‘%windir%\system32\msiexec.exe -x {prodCode} ‘ as the location of the shortcut, where prodCode is the Product Code of the MSI package.

create_shortcut_uninstallerproduct_code_uninstaller

This Product Code can be identified from the Project Properties of the MSI Project in Visual Studio. Also, provide a proper name for the shortcut Read..

Tags: , , , ,

poll tags

css | xhtml | dyadica.net © admin 2010 | powered: wordpress | fuel: ps-wii-elite | top | sign-up