Re: [WiX-users] WiX missing 'Start In' property in desktop shortcut

2014-04-30 Thread Satbir Singh
Hi Guys,
I tried what Jeremiahf said but that didn't worked too.
Herehttp://pastebin.com/W8C6njgvI have added a demo of my installer
with Jeremiahf's additions.
Please Help.






On Wed, Apr 30, 2014 at 3:47 AM, Jeremiahf jeremi...@gmail.com wrote:

 Try this

  DirectoryRef Id=DesktopFolder
   Component Id=ShortcutComponentID Guid=YOUR-GUID-HERE
 Shortcut Id=ShortcutID
  Name=Shortcutname
Description=Shortcutname
 Target=[INSTALLDIR]myapplication.EXE
   WorkingDirectory=INSTALLDIR/
 RegistryValue Root=HKCU
 Key='Software\[Manufacturer]\[ProductName]' Name=installed Type=integer
 Value=1 KeyPath=yes/
   /Component
 /DirectoryRef


 Feature Id=YourFeatureID Title=YourFeatureTitle Level=1
   ComponentGroupRef Id=NamedComponentGroup /
   ComponentRef Id =ShortcutComponentID/


 On Mon, Apr 28, 2014 at 1:18 AM, Satbir Singh ig.sat...@gmail.com wrote:

  I am working with WiX from last 5 month with no issues. Recently, i am in
  need to have StartIn property in App Desktop shortcut. By default, its
  empty.
 
  I am working with below code:
 
 
 
 
 
 
 
  *Component Id=myapplication.EXE DiskId=1
  Guid=D42BBB80-579B-42B3-A65D-130829F2982D   File
 Id=myapplication.EXE
  Name=My Application.exe Source=D:\My Application\My Application.exe
   Shortcut Id=desktopShortcut Directory=DesktopFolder
 Name=My
  Application WorkingDirectory=INSTALLDIR Icon=DesktopIcon.exe
  IconIndex=0 Description=My Application Description /
   Shortcut Id=ExeShortcut Directory=ProgramMenuDir Name=My
  Application Icon=StartMenuIcon.exe IconIndex=0 /
  /File/Component*
  But didn't worked.
 
 
  I have also tried adding Target property:
 
 
  *Shortcut Target= INSTALLDIR Id=desktopShortcut
  Directory=DesktopFolder Name=Virtual Sim Center Beta
  WorkingDirectory=INSTALLDIR Icon=DesktopIcon.exe IconIndex=0
  Description=My Application Description  /*
  but getting error message:
  The Shortcut/@Target attribute cannot be specified when the Shortcut
  element is nested underneath a File element.
 
  Please Help.
 
 
 --
  Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
  Instantly run your Selenium tests across 300+ browser/OS combos.  Get
  unparalleled scalability from the best Selenium testing platform
 available.
  Simple to use. Nothing to install. Get started now for free.
  http://p.sf.net/sfu/SauceLabs
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 



 --
 They may forget what you said but they will never forget how you made them
 feel. -- Anonymous

 --
 Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
 Instantly run your Selenium tests across 300+ browser/OS combos.  Get
 unparalleled scalability from the best Selenium testing platform available.
 Simple to use. Nothing to install. Get started now for free.
 http://p.sf.net/sfu/SauceLabs
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 

Satbir Singh
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WiX missing 'Start In' property in desktop shortcut

2014-04-28 Thread Satbir Singh
I am working with WiX from last 5 month with no issues. Recently, i am in
need to have StartIn property in App Desktop shortcut. By default, its
empty.

I am working with below code:







*Component Id=myapplication.EXE DiskId=1
Guid=D42BBB80-579B-42B3-A65D-130829F2982D   File Id=myapplication.EXE
Name=My Application.exe Source=D:\My Application\My Application.exe
 Shortcut Id=desktopShortcut Directory=DesktopFolder Name=My
Application WorkingDirectory=INSTALLDIR Icon=DesktopIcon.exe
IconIndex=0 Description=My Application Description /
 Shortcut Id=ExeShortcut Directory=ProgramMenuDir Name=My
Application Icon=StartMenuIcon.exe IconIndex=0 /
/File/Component*
But didn't worked.


I have also tried adding Target property:


*Shortcut Target= INSTALLDIR Id=desktopShortcut
Directory=DesktopFolder Name=Virtual Sim Center Beta
WorkingDirectory=INSTALLDIR Icon=DesktopIcon.exe IconIndex=0
Description=My Application Description  /*
but getting error message:
The Shortcut/@Target attribute cannot be specified when the Shortcut
element is nested underneath a File element.

Please Help.
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users