Hi,
In my installer I have a number of shortcuts installed on the Start Menu that I
don't want to appear on the Windows 8 start screen. I therefore set both the
System.AppUserModel.StartPinOption and
System.AppUserModel.ExcludeFromShowInNewInstall properties for each of these
shortcuts. My code looks like this:
<?define var.Prop_System_AppUserModel_NoPin =
"{9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 12" ?>
<Component Id="index.chm" Guid="{17C863A4-E982-492F-9F76-6E5A09BC65E8}">
<File Id="index.chm" Name="index.chm" KeyPath="yes">
<Shortcut Id="Shortcut.Help"
Directory="StartMenu.Help"
Name="XJTAG Help"
Show="normal"
Advertise="no">
<ShortcutProperty
Key="System.AppUserModel.ExcludeFromShowInNewInstall" Value="1" />
<ShortcutProperty Key="$(var.Prop_System_AppUserModel_NoPin)"
Value="1" />
</Shortcut>
</File>
<RemoveFile Id="Remove.index.chw" Name="index.chw" On="uninstall" />
</Component>
Every now and then an installation on Windows 7 will display a dialog saying:
Warning 1946.Property '{9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 12' for shortcut
'XJTAG Help' could not be set.
The warning ultimately seems benign, but it is not a good user experience. It
warning is not consistent or reproducible. Any ideas?
Thanks,
John
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users