IIRC, this is a bug in ICE57. The Windows Installer team didn't look at
ALLUSERS property when evaluating these values... that was a long time ago
though so my memory may have decayed a bit. <smile/>

On Thu, Dec 2, 2010 at 12:39 AM, Fredrik Staxäng <fst...@gmail.com> wrote:

> With both Wix 3.0 and 3.5 I get ICE57 errors:
>
> R:\quantlab-wix\Quantlab.wxs(46) : error LGHT0204 : ICE57: Component
> 'AppShortcut' has both per-user data and a keypath that can be either
> per-user or per-machine.
>
> If I use HKCU, wix does not complain, but the  shortcuts get into all users
> and the key paths goes into HKCU.
>
> The relevant parts of the wxs file are
>
>    <Property Id='ALLUSERS'>1</Property>
>
>    <Property Id="ApplicationFolderName" Value="Algorithmica Research" />
>    <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
>
>    <Directory Id='TARGETDIR' Name='SourceDir'>
>
>      <Directory Id="ProgramMenuFolder">
>        <Directory Id="ProgramMenuDir" Name="Algorithmica Research"/>
>      </Directory>
>
>    </Directory>
>
>    <DirectoryRef Id="ProgramMenuDir">
>      <Component Id="AppShortcut"
>  Guid="DC51AA6F-6633-4B00-B8F2-2BF3F6BD684B">
> <RemoveFolder Id='ProgramMenuDir' On='uninstall' />
> <RegistryValue Root='HKMU'
>       Key='Software\[Manufacturer]\[ProductName]'
>       Name='QLShortcut'
>       Type='string'
>       Value='t'
>       KeyPath='yes' />
> <Shortcut Id="startmenuQuantlab310"
>  Name="Quantlab 3.0"
>  Description="Quantlab 3.0 Description"
>  Target="[APPLICATIONFOLDER]Quantlab.exe"
>  WorkingDirectory='APPLICATIONFOLDER'
>  Icon="QuantlabIcon"/>
>      </Component>
>    <DirectoryRef Id="ProgramMenuDir">
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to