Hi,
I've been struggeling for far to many hours now, so have to ask; how do i add clsid and amuid to a shortcut?
Found this in another post, guess this works for the amuid, but apperantly not for com clsid?
- Go to "Files and Folders" page and create a shortcut to an installed file (e.g. MyShortcutName).
- In the "Edit Shortcut Properties" dialog enable "Disable Pin to Taskbar" option.
- Go to "Table Editor" page, select "MsiShortcutProperty" table and add a new row like this:
MsiShortcutProperty: unique_key
Shortcut_: MyShortcutName
PropertyKey: System.AppUserModel.ID
PropVariantValue: desired value
The instructions on technet says this;
If you're using WiX for your installer, edit the Product.wxs file to add the two shortcut properties to your Start menu shortcut as seen below. Be sure that your GUID from step #4 is enclosed in {} as seen below.
Product.wxs
-----------------------
XML
----------------------
<Shortcut Id="ApplicationStartMenuShortcut" Name="Wix Sample" Description="Wix Sample" Target="[INSTALLFOLDER]WixSample.exe" WorkingDirectory="INSTALLFOLDER">
<!--AUMID-->
<ShortcutProperty Key="System.AppUserModel.ID" Value="YourCompany.YourApp"/>
<!--COM CLSID-->
<ShortcutProperty Key="System.AppUserModel.ToastActivatorCLSID" Value="{replaced-with-your-guid-C173E6ADF0C3}"/>
</Shortcut>
It doesnt seem possible to exactly that in Advanced Installer, so I'm hoping you can help me come up with a solution:)