Rob,

I am using the GUID - it appears in the error message. I've got a define called 
var.Prop_System_AppUserModel_NoPin that I use.

Regards,
John

-----Original Message-----
From: Rob Mensching [mailto:r...@firegiant.com] 
Sent: 16 September 2014 16:59
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Intermittent errors setting Windows 8 properties on 
shortcuts

Know Windows Installer issue. Use the GUID of the property instead of the name.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: John Hall [mailto:john.h...@cambridgetechgroup.com] 
Sent: Tuesday, September 16, 2014 3:11 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Intermittent errors setting Windows 8 properties on 
shortcuts

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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to