Well a folder isn't an application, when you "open" a folder it's
being shown using Explorer.exe - try as a parameter to that


On Thu, Apr 22, 2010 at 12:26 PM, Sach <sachinth...@gmail.com> wrote:
>
> I changed the code as follows:
>
> <!-- Desktop Shortcut Test -->
>      <Directory Id="DesktopFolder" Name="Desktop"/>
>      <Directory Id="CommonAppDataFolder" Name="ProgramDataFolder"/>
>      <Component Id="ComponentBSStrageShortcut"
> Guid="{8436995c-2e76-4030-b92d-c6b4bc243c43}">
>        <Shortcut Id="ComponentBSStrageShortcut"
>                  Directory="DesktopFolder"
>                  WorkingDirectory="APPLICATIONFOLDER"
>                  Target="[CommonAppDataFolder]/MTK/BSStrage"
>                  Name="BSStrage"
>                  Show="normal"/>
>        <RegistryValue Action="write"
>                       Key="SOFTWARE/MTK/BS"
>                       Root="HKCU"
>                       Type="string"
>                       KeyPath="yes"
>                       Value="ApplicationFolderName"/>
>      </Component>
>
> Now it places a shortcut on desktop, however there is a problem. It actually
> creates a Shortcut to "BSStrage" thinking that it is an application.
> However, "BSStrage" is actually a folder and I need to create a shortcut to
> this folder. So how can I tell Wix that BSStrage is a folder and I need a
> shortcut to it so that I'll be able to open it by double clicking it?
> --
> View this message in context: 
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Desktop-Shortcut-to-a-Folder-tp4906239p4940633.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to