Check this out
http://www.tramontana.co.hu/wix/lesson1.php
About half a page down..

<*Directory* Id="DesktopFolder" Name="Desktop" />
    </*Directory*>





On Mon, Mar 8, 2010 at 7:53 PM, lewisv <le...@nitorco.com> wrote:

>
> I am trying to put a few desktop shortcuts on the users screen, but I
> really
> don't know why they are not working.
>
>        <Component Id="comp_jail_20" DiskId="1"
> Guid="6EFE8924-927A-4731-9C8D-437F2C5F81EA">
>          <File Id="file_jail_20" Checksum="yes" Source="c:\bin\jail.exe"
> KeyPath="yes">
>            <Shortcut Id="sm_jail" Directory="ProgramMenuDir" Name="Jail
> Guardian" WorkingDirectory="INSTALLDIR" Advertise="yes" Icon="jail.exe"
> IconIndex="0"/>
>            <Shortcut Id="dt_jail" Directory="DesktopDir" Name="Jail
> Guardian" WorkingDirectory="INSTALLDIR" Advertise="yes" Icon="jail.exe"
> IconIndex="0"/>
>          </File>
>        </Component>
>
>
>    <Directory Id="TARGETDIR" Name="SourceDir">
>       ....
>      <Directory Id="DesktopDir" Name="Desktop" />
>
>    </Directory>
>
> The program menu shortcut works fine, but the desktop shortcut does not.
> I have tried both
>      <Directory Id="DesktopDir" Name="Desktop" />
> and
>      <Directory Id="DesktopDir" Name="DesktopFolder" />
>
> But neither seemed to work
>
> Thanks
>
>
> --
> View this message in context:
> http://n2.nabble.com/desktop-shortcuts-not-working-tp4695442p4695442.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
Best Regards.

Ricky
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to