Re: [WiX-users] Shortcut Question

2008-06-25 Thread Rob Mensching
Yes, you can.  If your Shortcut is Advertised then it will always point at the 
KeyPath.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Will Burton
Sent: Wednesday, June 25, 2008 08:36
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Shortcut Question

Can you have multiple shortcuts per component?
Mine all link to the same program as the first shortcut in the component.
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shortcut Question

2008-06-25 Thread Will Burton
Hmm...then I'm doing something else wrong...Do they have to be advertised?

On Wed, Jun 25, 2008 at 11:52 AM, Rob Mensching [EMAIL PROTECTED]
wrote:

 Yes, you can.  If your Shortcut is Advertised then it will always point at
 the KeyPath.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Will Burton
 Sent: Wednesday, June 25, 2008 08:36
 To: General discussion for Windows Installer XML toolset.
 Subject: [WiX-users] Shortcut Question

 Can you have multiple shortcuts per component?
 Mine all link to the same program as the first shortcut in the component.
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shortcut Question

2008-06-25 Thread Rob Mensching
No.  Can you share out your code to make this a little less theoretical 
conversation?  smile/

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Will Burton
Sent: Wednesday, June 25, 2008 09:55
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Shortcut Question

Hmm...then I'm doing something else wrong...Do they have to be advertised?

On Wed, Jun 25, 2008 at 11:52 AM, Rob Mensching [EMAIL PROTECTED]
wrote:

 Yes, you can.  If your Shortcut is Advertised then it will always point at
 the KeyPath.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Will Burton
 Sent: Wednesday, June 25, 2008 08:36
 To: General discussion for Windows Installer XML toolset.
 Subject: [WiX-users] Shortcut Question

 Can you have multiple shortcuts per component?
 Mine all link to the same program as the first shortcut in the component.
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shortcut Question

2008-06-25 Thread Will Burton
The GUID is NOT a *.

Component Id=Diff Guid=*
   File Id=DiffFile Name=Diff.exe ShortName=DIFF.EXE
Source=$(var.Diff.TargetPath)
  Shortcut Id=DiffShortcut Directory=DevPMF Name=Diff
Advertise=yes WorkingDirectory=INSTALLDIR
 Icon Id=Diff.exe SourceFile=$(var.Diff.TargetPath) /
  /Shortcut
   /File
   File Id=EditorFile Name=$(var.Editor.TargetFileName)
Source=$(var.Editor.TargetPath)
  Shortcut Id=EditorShortcut Advertise=yes Directory=DevPMF
Name=Editor WorkingDirectory=INSTALLDIR Description=Editor
Icon=Editor.exe
 Icon Id=Editor.exe SourceFile=$(var.Editor.TargetPath) /
  /Shortcut
   /File
/Component

The Editor shortcut links to the Diff.

On Wed, Jun 25, 2008 at 12:56 PM, Rob Mensching [EMAIL PROTECTED]
wrote:

 No.  Can you share out your code to make this a little less theoretical
 conversation?  smile/

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Will Burton
 Sent: Wednesday, June 25, 2008 09:55
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Shortcut Question

 Hmm...then I'm doing something else wrong...Do they have to be advertised?

 On Wed, Jun 25, 2008 at 11:52 AM, Rob Mensching 
 [EMAIL PROTECTED]
 wrote:

  Yes, you can.  If your Shortcut is Advertised then it will always point
 at
  the KeyPath.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:
  [EMAIL PROTECTED] On Behalf Of Will Burton
  Sent: Wednesday, June 25, 2008 08:36
  To: General discussion for Windows Installer XML toolset.
  Subject: [WiX-users] Shortcut Question
 
  Can you have multiple shortcuts per component?
  Mine all link to the same program as the first shortcut in the component.
  -
  Check out the new SourceForge.net Marketplace.
  It's the best place to buy or sell services for
  just about anything Open Source.
  http://sourceforge.net/services/buy/index.php
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
  -
  Check out the new SourceForge.net Marketplace.
  It's the best place to buy or sell services for
  just about anything Open Source.
  http://sourceforge.net/services/buy/index.php
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shortcut Question

2008-06-25 Thread Rob Mensching
Both of your Shortcuts are marked Advertise=yes.  That means they are both 
pointing at the KeyPath of the Component.  By default the KeyPath of the 
Component is the first valid KeyPath (File, Registry, 
ODBCThingIForGetBecauseINeverUseIt) child element after the Component.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Will Burton
Sent: Wednesday, June 25, 2008 11:20
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Shortcut Question

The GUID is NOT a *.

Component Id=Diff Guid=*
   File Id=DiffFile Name=Diff.exe ShortName=DIFF.EXE
Source=$(var.Diff.TargetPath)
  Shortcut Id=DiffShortcut Directory=DevPMF Name=Diff
Advertise=yes WorkingDirectory=INSTALLDIR
 Icon Id=Diff.exe SourceFile=$(var.Diff.TargetPath) /
  /Shortcut
   /File
   File Id=EditorFile Name=$(var.Editor.TargetFileName)
Source=$(var.Editor.TargetPath)
  Shortcut Id=EditorShortcut Advertise=yes Directory=DevPMF
Name=Editor WorkingDirectory=INSTALLDIR Description=Editor
Icon=Editor.exe
 Icon Id=Editor.exe SourceFile=$(var.Editor.TargetPath) /
  /Shortcut
   /File
/Component

The Editor shortcut links to the Diff.

On Wed, Jun 25, 2008 at 12:56 PM, Rob Mensching [EMAIL PROTECTED]
wrote:

 No.  Can you share out your code to make this a little less theoretical
 conversation?  smile/

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Will Burton
 Sent: Wednesday, June 25, 2008 09:55
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Shortcut Question

 Hmm...then I'm doing something else wrong...Do they have to be advertised?

 On Wed, Jun 25, 2008 at 11:52 AM, Rob Mensching 
 [EMAIL PROTECTED]
 wrote:

  Yes, you can.  If your Shortcut is Advertised then it will always point
 at
  the KeyPath.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:
  [EMAIL PROTECTED] On Behalf Of Will Burton
  Sent: Wednesday, June 25, 2008 08:36
  To: General discussion for Windows Installer XML toolset.
  Subject: [WiX-users] Shortcut Question
 
  Can you have multiple shortcuts per component?
  Mine all link to the same program as the first shortcut in the component.
  -
  Check out the new SourceForge.net Marketplace.
  It's the best place to buy or sell services for
  just about anything Open Source.
  http://sourceforge.net/services/buy/index.php
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
  -
  Check out the new SourceForge.net Marketplace.
  It's the best place to buy or sell services for
  just about anything Open Source.
  http://sourceforge.net/services/buy/index.php
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shortcut Question

2008-06-25 Thread Will Burton
So, I can have multiple shortcuts, but they will all point to the same
keypath?

On Wed, Jun 25, 2008 at 2:30 PM, Rob Mensching [EMAIL PROTECTED]
wrote:

 Both of your Shortcuts are marked Advertise=yes.  That means they are
 both pointing at the KeyPath of the Component.  By default the KeyPath of
 the Component is the first valid KeyPath (File, Registry,
 ODBCThingIForGetBecauseINeverUseIt) child element after the Component.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Will Burton
 Sent: Wednesday, June 25, 2008 11:20
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Shortcut Question

 The GUID is NOT a *.

 Component Id=Diff Guid=*
   File Id=DiffFile Name=Diff.exe ShortName=DIFF.EXE
 Source=$(var.Diff.TargetPath)
  Shortcut Id=DiffShortcut Directory=DevPMF Name=Diff
 Advertise=yes WorkingDirectory=INSTALLDIR
 Icon Id=Diff.exe SourceFile=$(var.Diff.TargetPath) /
  /Shortcut
   /File
   File Id=EditorFile Name=$(var.Editor.TargetFileName)
 Source=$(var.Editor.TargetPath)
  Shortcut Id=EditorShortcut Advertise=yes Directory=DevPMF
 Name=Editor WorkingDirectory=INSTALLDIR Description=Editor
 Icon=Editor.exe
 Icon Id=Editor.exe SourceFile=$(var.Editor.TargetPath) /
  /Shortcut
   /File
 /Component

 The Editor shortcut links to the Diff.

 On Wed, Jun 25, 2008 at 12:56 PM, Rob Mensching 
 [EMAIL PROTECTED]
 wrote:

  No.  Can you share out your code to make this a little less theoretical
  conversation?  smile/
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:
  [EMAIL PROTECTED] On Behalf Of Will Burton
  Sent: Wednesday, June 25, 2008 09:55
  To: General discussion for Windows Installer XML toolset.
  Subject: Re: [WiX-users] Shortcut Question
 
  Hmm...then I'm doing something else wrong...Do they have to be
 advertised?
 
  On Wed, Jun 25, 2008 at 11:52 AM, Rob Mensching 
  [EMAIL PROTECTED]
  wrote:
 
   Yes, you can.  If your Shortcut is Advertised then it will always point
  at
   the KeyPath.
  
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:
   [EMAIL PROTECTED] On Behalf Of Will Burton
   Sent: Wednesday, June 25, 2008 08:36
   To: General discussion for Windows Installer XML toolset.
   Subject: [WiX-users] Shortcut Question
  
   Can you have multiple shortcuts per component?
   Mine all link to the same program as the first shortcut in the
 component.
  
 -
   Check out the new SourceForge.net Marketplace.
   It's the best place to buy or sell services for
   just about anything Open Source.
   http://sourceforge.net/services/buy/index.php
   ___
   WiX-users mailing list
   WiX-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wix-users
  
  
  
 -
   Check out the new SourceForge.net Marketplace.
   It's the best place to buy or sell services for
   just about anything Open Source.
   http://sourceforge.net/services/buy/index.php
   ___
   WiX-users mailing list
   WiX-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wix-users
  
  -
  Check out the new SourceForge.net Marketplace.
  It's the best place to buy or sell services for
  just about anything Open Source.
  http://sourceforge.net/services/buy/index.php
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
  -
  Check out the new SourceForge.net Marketplace.
  It's the best place to buy or sell services for
  just about anything Open Source.
  http://sourceforge.net/services/buy/index.php
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net

Re: [WiX-users] Shortcut Question

2008-06-25 Thread Rob Mensching
If you make the Shortcut Advertise=yes and you put them all in one Component 
then yes, they will all point at the same file.  You have a couple options.  
Make at least one of your Shortcuts not Advertised, or put the Files in 
different Components so that each of them are a KeyPath.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Will Burton
Sent: Wednesday, June 25, 2008 12:03
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Shortcut Question

So, I can have multiple shortcuts, but they will all point to the same
keypath?

On Wed, Jun 25, 2008 at 2:30 PM, Rob Mensching [EMAIL PROTECTED]
wrote:

 Both of your Shortcuts are marked Advertise=yes.  That means they are
 both pointing at the KeyPath of the Component.  By default the KeyPath of
 the Component is the first valid KeyPath (File, Registry,
 ODBCThingIForGetBecauseINeverUseIt) child element after the Component.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Will Burton
 Sent: Wednesday, June 25, 2008 11:20
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Shortcut Question

 The GUID is NOT a *.

 Component Id=Diff Guid=*
   File Id=DiffFile Name=Diff.exe ShortName=DIFF.EXE
 Source=$(var.Diff.TargetPath)
  Shortcut Id=DiffShortcut Directory=DevPMF Name=Diff
 Advertise=yes WorkingDirectory=INSTALLDIR
 Icon Id=Diff.exe SourceFile=$(var.Diff.TargetPath) /
  /Shortcut
   /File
   File Id=EditorFile Name=$(var.Editor.TargetFileName)
 Source=$(var.Editor.TargetPath)
  Shortcut Id=EditorShortcut Advertise=yes Directory=DevPMF
 Name=Editor WorkingDirectory=INSTALLDIR Description=Editor
 Icon=Editor.exe
 Icon Id=Editor.exe SourceFile=$(var.Editor.TargetPath) /
  /Shortcut
   /File
 /Component

 The Editor shortcut links to the Diff.

 On Wed, Jun 25, 2008 at 12:56 PM, Rob Mensching 
 [EMAIL PROTECTED]
 wrote:

  No.  Can you share out your code to make this a little less theoretical
  conversation?  smile/
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:
  [EMAIL PROTECTED] On Behalf Of Will Burton
  Sent: Wednesday, June 25, 2008 09:55
  To: General discussion for Windows Installer XML toolset.
  Subject: Re: [WiX-users] Shortcut Question
 
  Hmm...then I'm doing something else wrong...Do they have to be
 advertised?
 
  On Wed, Jun 25, 2008 at 11:52 AM, Rob Mensching 
  [EMAIL PROTECTED]
  wrote:
 
   Yes, you can.  If your Shortcut is Advertised then it will always point
  at
   the KeyPath.
  
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:
   [EMAIL PROTECTED] On Behalf Of Will Burton
   Sent: Wednesday, June 25, 2008 08:36
   To: General discussion for Windows Installer XML toolset.
   Subject: [WiX-users] Shortcut Question
  
   Can you have multiple shortcuts per component?
   Mine all link to the same program as the first shortcut in the
 component.
  
 -
   Check out the new SourceForge.net Marketplace.
   It's the best place to buy or sell services for
   just about anything Open Source.
   http://sourceforge.net/services/buy/index.php
   ___
   WiX-users mailing list
   WiX-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wix-users
  
  
  
 -
   Check out the new SourceForge.net Marketplace.
   It's the best place to buy or sell services for
   just about anything Open Source.
   http://sourceforge.net/services/buy/index.php
   ___
   WiX-users mailing list
   WiX-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wix-users
  
  -
  Check out the new SourceForge.net Marketplace.
  It's the best place to buy or sell services for
  just about anything Open Source.
  http://sourceforge.net/services/buy/index.php
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
  -
  Check out the new SourceForge.net Marketplace.
  It's the best place to buy or sell services for
  just about anything Open Source.
  http://sourceforge.net/services/buy/index.php
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php