Hi,
I'm trying to create shortcut on desktop to shortcut folder in the Start 
Menu. But after I try the installation, the shortcut has only generic 
file icon and when clicked it opens "Open With" dialog.

When I open the shortcut's properties dialog and try change it's icon 
and close the properties dialog with the OK button everyhting starts to 
work as expected.

I'm using WiX 3.0.5419 and testing on Windows XP SP3.

        <Directory Id="ProgramMenuFolder">
            <Directory Id="Shortcuts">
                <Component Id="ShortcutsRemove" 
Guid="d417f0a4-3375-4506-a571-5bcd0611dec3">
                    <RemoveFolder Id="ProgramsFolder" On="uninstall" />
                    <RegistryValue Root="HKCU" Key="Software\Fine" 
Name="Shortcuts" Type="integer" Value="1" KeyPath="yes" />
                </Component>
            </Directory>
        </Directory>

        <Directory Id="DesktopFolder">
            <Component Id="Folder.pif" 
Guid="9ca28040-2b49-434c-a130-7ea7e52931d2">
                <Shortcut Id="Folder.pif" 
Name="$(var.ShortcutFolderName)" Description="$(var.PackageComments)" 
Target="[Shortcuts]" />
                <RegistryValue Root="HKCU" Key="Software\Fine" 
Name="Folder.pif" Type="integer" Value="1" KeyPath="yes" />
            </Component>
        </Directory>

Can you please help me create shortcut on Dektop to our shortcuts 
folder? It should have the Windows default shortcuts folder icon and it 
should be installed for "All Users". When I tried to change the HKCU 
root to HKLM Candle throws many errors...

Thank you
Ondrej Zarevucky

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to