André,

I have a very similar issue whereby Vista Logo testing automatically fails
any component that has more than one shortcut within it.  As such I have
removed a shortcut from the component containing the app's main executable
and have created a new component that installs an LNK file (a copy of the
advertised shortcut) into the second location - the Desktop, for argument's
sake.  The code looks like this...

<DirectoryRef Id="DesktopFolder">
        <Component Id="DesktopSC" Guid="YOURGUID-????-????-????-????????????"
DiskId="1">
                <Registry Root="HKMU" 
Key="SOFTWARE\[Company]\[App]\[Version]\Install">
                        <Registry Name="DesktopSC" Value="1" Type="integer" />
                </Registry>
                <File Id="DesktopSC" Name="ShortCut.lnk" Compressed="yes"
src="Installs\ShortCut.lnk" />
        </Component>
</DirectoryRef>

The problem is that I now get a validation error in ICE57 thinking that the
"DesktopFolder" is a per-user location and that the "HKMU" keypath can be
either per-user or per-machine.  Whereas, we all know that the
"DesktopFolder" will resolve to either a per-user or per-machine location
just as the "HKMU" keypath will - depending on the value of ALLUSERS.

The validation is very dumb, but Vista Logo relies upon it.  I have a
workaround, but it's very untidy and I hate it... at the end of the day, the
"HKMU" keypath should satisfy validation's need for a keypath that matches
the component's per-user/per-machine state.

Regards,
Gareth
-- 
View this message in context: 
http://www.nabble.com/Shortcuts--tf2668046.html#a7511682
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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

Reply via email to