My client wants his installer to have an "uninstall" shortcut , but I can't seem to quite get it right... after reading some posts I ended up with this:
<Property Id="UNINSTALLCMD" Value="MSIEXEC.EXE /x [!PRODUCTID]" /> And also... <Component Id="Uninstaller" Guid="F72CE94D-8E6E-4b9e-95BC-7DC80C3641B6"> <Shortcut Target="[UNINSTALLCMD]" Id="UninstallIcon" Name="Uninstall" Description="Uninstall My Application" Directory="ProgramMenuDir" /> </Component> However when I compile I get these errors (below)... what's the right way to do it? Cheers, - Alex Error LGHT0204: ICE18: KeyPath for Component: 'Uninstaller' is Directory: 'BINDIR'. The Directory/Component pair must be listed in the CreateFolders table. Error LGHT0204: ICE43: Component Uninstaller has non-advertised shortcuts. It should use a registry key under HKCU as its KeyPath, not a file. Error LGHT0204: ICE43: Component StandAloneApplication has non-advertised shortcuts. It should use a registry key under HKCU as its KeyPath, not a file. Error LGHT0204: ICE57: Component 'Uninstaller' has both per-user and per-machine data with a per-machine KeyPath. Error LGHT0204: ICE57: Component 'StandAloneApplication' has both per-user and per-machine data with a per-machine KeyPath. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users