Re: [WiX-users] Where is DesktopFolder?

2011-01-26 Thread Pally Sandher
Yes you do have a directory with Id=DesktopFolder.

DirectoryRef Id=DesktopFolder 

A cursory search for Id=DesktopFolder found that in seconds in your
code. That should be Directory not DirectoryRef which is what the error
is telling you. You're trying to reference something which doesn't exist
as far as your code is concerned. 

I would suggest looking into contracting out your installation
development if basic things like this are tripping you up to the extent
that you're asking the list users for help.

Palbinder Sandher 
Software Deployment  IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the Virtual Environment**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer


-Original Message-
From: Kevin Burton [mailto:kev...@buyseasons.com] 
Sent: 26 January 2011 15:30
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Where is DesktopFolder?

No, I don't have a directory with Id=DesktopFolder. I have included
the WiX source that I am using below (sorry about the length but I it
looks like I cannot attached a file) The applicable source is toward the
end.



I still get the error:



C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\BsiServic
es\Product.wxs(318,0): error LGHT0094: Unresolved reference to symbol
'Directory:DesktopFolder' in section
'Product:{8D768A77-71B5-432F-86F2-BCD197617A79}'.



Thank you.



Kevin






-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: Wednesday, January 26, 2011 1:00 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Where is DesktopFolder?



DesktopFolder has been part of the Windows Installer as long as I can
remember. I don't htink this is the problem.



Kevin, do you have a Directory with Id=DesktopFolder?



On Tue, Jan 25, 2011 at 3:38 PM, Chris Lord
chris.l...@atterotech.commailto:chris.l...@atterotech.comwrote:



 Kevin,



 What version of Windows Installer that is installed on your machine

 has absolutely no effect when you are building the MSI.  This is not

 the version you are targeting but what your machine happens to be
using.



 The reason I asked about what version you are targeting is that one

 possible reason for the problem is that WiX is trying to create an

 Installer based around features for an earlier version of Windows

 Installer.  If thats the case, the DesktopFolder feature won't exist

 as it was introduced in Windows Installer 4 and hence the error.



 Unless this installer is purely for you, everyone else who may install

 your MSI may not have your version of OS and your version of Windows

 Installer and if a users PC has a version of Windows installer that

 doesn't support your feature then that will spell trouble.



 Your MSI should target a version of windows installer that supports

 the feature you are using that means setting the InstallerVersion key

 which is part of your package data in WiX.



 For version 4, it needs to be at least 400.  Be mindful though that

 newer versions of Windows Installer may not be supported on older

 operating systems so by setting it to a higher version, you may be

 limit the OS's the MSI can be installed upon.



 Chris



 On 01/25/2011 05:32 PM, Kevin Burton wrote:

  If I invoke msiexec it says that I am using Windows (r) Installer. V

 5.0.7600.16385.

 

  Kevin Burton

  Senior Software Engineer

  BUYSEASONS

  262-901-2000 Office

  262-901-2312 Fax

  kev...@buyseasons.commailto:kev...@buyseasons.com

 

 

  -Original Message-

  From: Chris Lord [mailto:chris.l...@atterotech.com]

  Sent: Tuesday, January 25, 2011 2:50 PM

  To: General discussion for Windows Installer XML toolset.

  Subject: Re: [WiX-users] Where is DesktopFolder?

 

  Kevin

 

  What version of windows installer are you targeting.  Looks like

  this

 parameter is only available in Windows Installer 4 and onwards.

 

  http://msdn.microsoft.com/en-us/library/aa368276%28v=vs.85%29.aspx

 

  Chris

 

  On 01/25/2011 03:34 PM, Kevin Burton wrote:

  I am trying to reference DesktopFolder and I get the error:

 

 


C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\BsiServic
es\Product.wxs(318,0):

 error LGHT0094: Unresolved reference to symbol

 'Directory:DesktopFolder' in section
'Product:{8D768A77-71B5-432F-86F2-BCD197617A79}'.

 

  Any idea on how to use the desktop?

 

  Kevin

  ---

  ---

   Special Offer-- Download ArcSight Logger for FREE (a $49

  USD value)!

  Finally, a world-class log management solution at an even better

 price-free!

  Download using promo code Free_Logger_4_Dev2Dev. Offer expires

  February 28th, so secure your free ArcSight Logger TODAY!

  http

Re: [WiX-users] Where is DesktopFolder?

2011-01-26 Thread Kevin Burton
But that is a DirectoryRef. The way I understood it is this should reference 
DesktopFolder not define it.

Kevin Burton
Senior Software Engineer
BUYSEASONS
262-901-2000 Office
262-901-2312 Fax
kev...@buyseasons.com 

-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: Wednesday, January 26, 2011 10:06 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Where is DesktopFolder?

Yes you do have a directory with Id=DesktopFolder.

DirectoryRef Id=DesktopFolder 

A cursory search for Id=DesktopFolder found that in seconds in your code. 
That should be Directory not DirectoryRef which is what the error is telling 
you. You're trying to reference something which doesn't exist as far as your 
code is concerned. 

I would suggest looking into contracting out your installation development if 
basic things like this are tripping you up to the extent that you're asking the 
list users for help.

Palbinder Sandher
Software Deployment  IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501 

http://www.iesve.com
**Design, Simulate + Innovate with the Virtual Environment** Integrated 
Environmental Solutions Limited. Registered in Scotland No.
SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP Email Disclaimer


-Original Message-
From: Kevin Burton [mailto:kev...@buyseasons.com]
Sent: 26 January 2011 15:30
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Where is DesktopFolder?

No, I don't have a directory with Id=DesktopFolder. I have included the WiX 
source that I am using below (sorry about the length but I it looks like I 
cannot attached a file) The applicable source is toward the end.



I still get the error:



C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\BsiServic
es\Product.wxs(318,0): error LGHT0094: Unresolved reference to symbol 
'Directory:DesktopFolder' in section 
'Product:{8D768A77-71B5-432F-86F2-BCD197617A79}'.



Thank you.



Kevin






-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: Wednesday, January 26, 2011 1:00 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Where is DesktopFolder?



DesktopFolder has been part of the Windows Installer as long as I can remember. 
I don't htink this is the problem.



Kevin, do you have a Directory with Id=DesktopFolder?



On Tue, Jan 25, 2011 at 3:38 PM, Chris Lord
chris.l...@atterotech.commailto:chris.l...@atterotech.comwrote:



 Kevin,



 What version of Windows Installer that is installed on your machine

 has absolutely no effect when you are building the MSI.  This is not

 the version you are targeting but what your machine happens to be
using.



 The reason I asked about what version you are targeting is that one

 possible reason for the problem is that WiX is trying to create an

 Installer based around features for an earlier version of Windows

 Installer.  If thats the case, the DesktopFolder feature won't exist

 as it was introduced in Windows Installer 4 and hence the error.



 Unless this installer is purely for you, everyone else who may install

 your MSI may not have your version of OS and your version of Windows

 Installer and if a users PC has a version of Windows installer that

 doesn't support your feature then that will spell trouble.



 Your MSI should target a version of windows installer that supports

 the feature you are using that means setting the InstallerVersion key

 which is part of your package data in WiX.



 For version 4, it needs to be at least 400.  Be mindful though that

 newer versions of Windows Installer may not be supported on older

 operating systems so by setting it to a higher version, you may be

 limit the OS's the MSI can be installed upon.



 Chris



 On 01/25/2011 05:32 PM, Kevin Burton wrote:

  If I invoke msiexec it says that I am using Windows (r) Installer. V

 5.0.7600.16385.

 

  Kevin Burton

  Senior Software Engineer

  BUYSEASONS

  262-901-2000 Office

  262-901-2312 Fax

  kev...@buyseasons.commailto:kev...@buyseasons.com

 

 

  -Original Message-

  From: Chris Lord [mailto:chris.l...@atterotech.com]

  Sent: Tuesday, January 25, 2011 2:50 PM

  To: General discussion for Windows Installer XML toolset.

  Subject: Re: [WiX-users] Where is DesktopFolder?

 

  Kevin

 

  What version of windows installer are you targeting.  Looks like

  this

 parameter is only available in Windows Installer 4 and onwards.

 

  http://msdn.microsoft.com/en-us/library/aa368276%28v=vs.85%29.aspx

 

  Chris

 

  On 01/25/2011 03:34 PM, Kevin Burton wrote:

  I am trying to reference DesktopFolder and I get the error:

 

 


C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\BsiServic
es\Product.wxs(318,0):

 error LGHT0094: Unresolved reference to symbol

 'Directory:DesktopFolder' in section
'Product:{8D768A77-71B5

Re: [WiX-users] Where is DesktopFolder?

2011-01-26 Thread Kevin Burton
When I change the DirectoryRef to Directory I get two errors:

Directory with Id 'DesktopFolder' is not a valid root directory.  There may 
only be a single root directory per product or module and its Id attribute 
value must be 'TARGETDIR' and its Name attribute value must be 'SourceDir'. 

The Directory element requires the Name attribute because there is no parent 
Directory element.

-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com]
Sent: Wednesday, January 26, 2011 10:06 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Where is DesktopFolder?

Yes you do have a directory with Id=DesktopFolder.

DirectoryRef Id=DesktopFolder 

A cursory search for Id=DesktopFolder found that in seconds in your code. 
That should be Directory not DirectoryRef which is what the error is telling 
you. You're trying to reference something which doesn't exist as far as your 
code is concerned. 

I would suggest looking into contracting out your installation development if 
basic things like this are tripping you up to the extent that you're asking the 
list users for help.

Palbinder Sandher
Software Deployment  IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501 

http://www.iesve.com
**Design, Simulate + Innovate with the Virtual Environment** Integrated 
Environmental Solutions Limited. Registered in Scotland No.
SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP Email Disclaimer


-Original Message-
From: Kevin Burton [mailto:kev...@buyseasons.com]
Sent: 26 January 2011 15:30
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Where is DesktopFolder?

No, I don't have a directory with Id=DesktopFolder. I have included the WiX 
source that I am using below (sorry about the length but I it looks like I 
cannot attached a file) The applicable source is toward the end.



I still get the error:



C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\BsiServic
es\Product.wxs(318,0): error LGHT0094: Unresolved reference to symbol 
'Directory:DesktopFolder' in section 
'Product:{8D768A77-71B5-432F-86F2-BCD197617A79}'.



Thank you.



Kevin






-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: Wednesday, January 26, 2011 1:00 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Where is DesktopFolder?



DesktopFolder has been part of the Windows Installer as long as I can remember. 
I don't htink this is the problem.



Kevin, do you have a Directory with Id=DesktopFolder?



On Tue, Jan 25, 2011 at 3:38 PM, Chris Lord
chris.l...@atterotech.commailto:chris.l...@atterotech.comwrote:



 Kevin,



 What version of Windows Installer that is installed on your machine

 has absolutely no effect when you are building the MSI.  This is not

 the version you are targeting but what your machine happens to be
using.



 The reason I asked about what version you are targeting is that one

 possible reason for the problem is that WiX is trying to create an

 Installer based around features for an earlier version of Windows

 Installer.  If thats the case, the DesktopFolder feature won't exist

 as it was introduced in Windows Installer 4 and hence the error.



 Unless this installer is purely for you, everyone else who may install

 your MSI may not have your version of OS and your version of Windows

 Installer and if a users PC has a version of Windows installer that

 doesn't support your feature then that will spell trouble.



 Your MSI should target a version of windows installer that supports

 the feature you are using that means setting the InstallerVersion key

 which is part of your package data in WiX.



 For version 4, it needs to be at least 400.  Be mindful though that

 newer versions of Windows Installer may not be supported on older

 operating systems so by setting it to a higher version, you may be

 limit the OS's the MSI can be installed upon.



 Chris



 On 01/25/2011 05:32 PM, Kevin Burton wrote:

  If I invoke msiexec it says that I am using Windows (r) Installer. V

 5.0.7600.16385.

 

  Kevin Burton

  Senior Software Engineer

  BUYSEASONS

  262-901-2000 Office

  262-901-2312 Fax

  kev...@buyseasons.commailto:kev...@buyseasons.com

 

 

  -Original Message-

  From: Chris Lord [mailto:chris.l...@atterotech.com]

  Sent: Tuesday, January 25, 2011 2:50 PM

  To: General discussion for Windows Installer XML toolset.

  Subject: Re: [WiX-users] Where is DesktopFolder?

 

  Kevin

 

  What version of windows installer are you targeting.  Looks like

  this

 parameter is only available in Windows Installer 4 and onwards.

 

  http://msdn.microsoft.com/en-us/library/aa368276%28v=vs.85%29.aspx

 

  Chris

 

  On 01/25/2011 03:34 PM, Kevin Burton wrote:

  I am trying to reference DesktopFolder and I get the error:

 

 


C:\Projects\BuySeasonsIT\Source

Re: [WiX-users] Where is DesktopFolder?

2011-01-26 Thread Castro, Edwin G. (Hillsboro)
The first error tells you what you must do.

There may only be a single root directory per product or module and its Id 
attribute value must be 'TARGETDIR' and its Name attribute value must be 
'SourceDir'.

I assume you already have one of these otherwise you would not be able to 
install any files:

Directory Id=TARGETDIR Name=SourceDir

/Directory

You have two options:

1) Add the Directory/ declaration for DesktopFolder in the existing TARGETDIR 
Directory/

Directory Id=TARGETDIR Name=SourceDir

Directory Id=DesktopFolder /
/Directory

2) Add the Directory/ declaration for DesktopFolder under a DirectoryRef/ 
for TARGETDIR

DirectoryRef Id=TARGETDIR
Directory Id=DesktopFolder /
/DirectoryRef

All errors I see already tell you what to do... just read them more carefully.

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail


 -Original Message-
 From: Kevin Burton [mailto:kev...@buyseasons.com]
 Sent: Wednesday, January 26, 2011 10:09 AM
 To: 'General discussion for Windows Installer XML toolset.'
 Subject: Re: [WiX-users] Where is DesktopFolder?
 
 When I change the DirectoryRef to Directory I get two errors:
 
 Directory with Id 'DesktopFolder' is not a valid root directory.  There may 
 only
 be a single root directory per product or module and its Id attribute value
 must be 'TARGETDIR' and its Name attribute value must be 'SourceDir'.
 
 The Directory element requires the Name attribute because there is no
 parent Directory element.
 
 -Original Message-
 From: Pally Sandher [mailto:pally.sand...@iesve.com]
 Sent: Wednesday, January 26, 2011 10:06 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Where is DesktopFolder?
 
 Yes you do have a directory with Id=DesktopFolder.
 
 DirectoryRef Id=DesktopFolder
 
 A cursory search for Id=DesktopFolder found that in seconds in your code.
 That should be Directory not DirectoryRef which is what the error is telling
 you. You're trying to reference something which doesn't exist as far as your
 code is concerned.
 
 I would suggest looking into contracting out your installation development if
 basic things like this are tripping you up to the extent that you're asking 
 the
 list users for help.
 
 Palbinder Sandher
 Software Deployment  IT Administrator
 T: +44 (0) 141 945 8500
 F: +44 (0) 141 945 8501
 
 http://www.iesve.com
 **Design, Simulate + Innovate with the Virtual Environment** Integrated
 Environmental Solutions Limited. Registered in Scotland No.
 SC151456
 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow
 G20 0SP Email Disclaimer
 
 
 -Original Message-
 From: Kevin Burton [mailto:kev...@buyseasons.com]
 Sent: 26 January 2011 15:30
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Where is DesktopFolder?
 
 No, I don't have a directory with Id=DesktopFolder. I have included the WiX
 source that I am using below (sorry about the length but I it looks like I
 cannot attached a file) The applicable source is toward the end.
 
 
 
 I still get the error:
 
 
 
 C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\BsiServi
 c
 es\Product.wxs(318,0): error LGHT0094: Unresolved reference to symbol
 'Directory:DesktopFolder' in section 'Product:{8D768A77-71B5-432F-86F2-
 BCD197617A79}'.
 
 
 
 Thank you.
 
 
 
 Kevin
 
 
 
 
 
 
 -Original Message-
 From: Rob Mensching [mailto:r...@robmensching.com]
 Sent: Wednesday, January 26, 2011 1:00 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Where is DesktopFolder?
 
 
 
 DesktopFolder has been part of the Windows Installer as long as I can
 remember. I don't htink this is the problem.
 
 
 
 Kevin, do you have a Directory with Id=DesktopFolder?
 
 
 
 On Tue, Jan 25, 2011 at 3:38 PM, Chris Lord
 chris.l...@atterotech.commailto:chris.l...@atterotech.comwrote:
 
 
 
  Kevin,
 
 
 
  What version of Windows Installer that is installed on your machine
 
  has absolutely no effect when you are building the MSI.  This is not
 
  the version you are targeting but what your machine happens to be
 using.
 
 
 
  The reason I asked about what version you are targeting is that one
 
  possible reason for the problem is that WiX is trying to create an
 
  Installer based around features for an earlier version of Windows
 
  Installer.  If thats the case, the DesktopFolder feature won't exist
 
  as it was introduced in Windows Installer 4 and hence the error.
 
 
 
  Unless this installer is purely for you, everyone else who may install
 
  your MSI may not have your version of OS and your version of Windows
 
  Installer and if a users PC has a version of Windows installer that
 
  doesn't support your feature then that will spell trouble.
 
 
 
  Your MSI should target

Re: [WiX-users] Where is DesktopFolder?

2011-01-26 Thread Kevin Burton
So what does it mean to have DesktopFolder underneath the TARGETDIR. That is 
certainly not the hierarchy that is on my computer.

-Original Message-
From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] 
Sent: Wednesday, January 26, 2011 5:51 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Where is DesktopFolder?

The first error tells you what you must do.

There may only be a single root directory per product or module and its Id 
attribute value must be 'TARGETDIR' and its Name attribute value must be 
'SourceDir'.

I assume you already have one of these otherwise you would not be able to 
install any files:

Directory Id=TARGETDIR Name=SourceDir

/Directory

You have two options:

1) Add the Directory/ declaration for DesktopFolder in the existing TARGETDIR 
Directory/

Directory Id=TARGETDIR Name=SourceDir

Directory Id=DesktopFolder /
/Directory

2) Add the Directory/ declaration for DesktopFolder under a DirectoryRef/ 
for TARGETDIR

DirectoryRef Id=TARGETDIR
Directory Id=DesktopFolder /
/DirectoryRef

All errors I see already tell you what to do... just read them more carefully.

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
P Please consider the environment before printing this e-mail


 -Original Message-
 From: Kevin Burton [mailto:kev...@buyseasons.com]
 Sent: Wednesday, January 26, 2011 10:09 AM
 To: 'General discussion for Windows Installer XML toolset.'
 Subject: Re: [WiX-users] Where is DesktopFolder?
 
 When I change the DirectoryRef to Directory I get two errors:
 
 Directory with Id 'DesktopFolder' is not a valid root directory.  
 There may only be a single root directory per product or module and 
 its Id attribute value must be 'TARGETDIR' and its Name attribute value must 
 be 'SourceDir'.
 
 The Directory element requires the Name attribute because there is no 
 parent Directory element.
 
 -Original Message-
 From: Pally Sandher [mailto:pally.sand...@iesve.com]
 Sent: Wednesday, January 26, 2011 10:06 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Where is DesktopFolder?
 
 Yes you do have a directory with Id=DesktopFolder.
 
 DirectoryRef Id=DesktopFolder
 
 A cursory search for Id=DesktopFolder found that in seconds in your code.
 That should be Directory not DirectoryRef which is what the error is 
 telling you. You're trying to reference something which doesn't exist 
 as far as your code is concerned.
 
 I would suggest looking into contracting out your installation 
 development if basic things like this are tripping you up to the 
 extent that you're asking the list users for help.
 
 Palbinder Sandher
 Software Deployment  IT Administrator
 T: +44 (0) 141 945 8500
 F: +44 (0) 141 945 8501
 
 http://www.iesve.com
 **Design, Simulate + Innovate with the Virtual Environment** 
 Integrated Environmental Solutions Limited. Registered in Scotland No.
 SC151456
 Registered Office - Helix Building, West Of Scotland Science Park, 
 Glasgow
 G20 0SP Email Disclaimer
 
 
 -Original Message-
 From: Kevin Burton [mailto:kev...@buyseasons.com]
 Sent: 26 January 2011 15:30
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Where is DesktopFolder?
 
 No, I don't have a directory with Id=DesktopFolder. I have included 
 the WiX source that I am using below (sorry about the length but I it 
 looks like I cannot attached a file) The applicable source is toward the end.
 
 
 
 I still get the error:
 
 
 
 C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\BsiServ
 i
 c
 es\Product.wxs(318,0): error LGHT0094: Unresolved reference to symbol 
 'Directory:DesktopFolder' in section 
 'Product:{8D768A77-71B5-432F-86F2-
 BCD197617A79}'.
 
 
 
 Thank you.
 
 
 
 Kevin
 
 
 
 
 
 
 -Original Message-
 From: Rob Mensching [mailto:r...@robmensching.com]
 Sent: Wednesday, January 26, 2011 1:00 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Where is DesktopFolder?
 
 
 
 DesktopFolder has been part of the Windows Installer as long as I can 
 remember. I don't htink this is the problem.
 
 
 
 Kevin, do you have a Directory with Id=DesktopFolder?
 
 
 
 On Tue, Jan 25, 2011 at 3:38 PM, Chris Lord
 chris.l...@atterotech.commailto:chris.l...@atterotech.comwrote:
 
 
 
  Kevin,
 
 
 
  What version of Windows Installer that is installed on your machine
 
  has absolutely no effect when you are building the MSI.  This is not
 
  the version you are targeting but what your machine happens to be
 using.
 
 
 
  The reason I asked about what version you are targeting is that one
 
  possible reason for the problem is that WiX is trying to create an
 
  Installer based around features for an earlier version of Windows
 
  Installer.  If thats the case, the DesktopFolder feature won't

Re: [WiX-users] Where is DesktopFolder?

2011-01-26 Thread Alexander Shevchuk (Volt)
Kevin Burton wrote:
So what does it mean to have DesktopFolder underneath the TARGETDIR. That is 
certainly not the hierarchy that is on my computer.

Kevin,

Let me try to explain this one.  Think of it as default directory hierarchy 
with possibility to override default entirely or partially.  Windows installer 
demands directory hierarchy to have one root and in Wix it is represented as 
Directory element with Id attribute set to TARGETDIR and Name attribute to 
SourceDir.  Casing has to be exactly same as typed.  All other folders have 
to be child elements of the root Directory element with any level of nesting.

Now, it is very important to understand and remember that all Id attributes of 
Directory elements refer to properties in the Property table. There are two 
types of properties: defined by Windows Installer and defined by user.  If Id 
attribute contains property defined by Windows Installer, it will be always 
resolved to a proper value this property represents.  In our example, 
DesktopFolder is a property defined by Windows Installer and it will always 
have a value which is the path to user's Desktop folder on target computer 
regardless of where in Directory hierarchy it will be placed.  This is one 
way to override default directory hierarchy.

Second way is to use public user (or Windows Installer) defined property (all 
uppercase) as the value of Id attribute (TARGETDIR can also be used that way) 
and set its value in the command line.  In this case, during CostFinalize 
action the value constructed from the Directory hierarchy will be updated 
with the value passed in the command line.  We can also use Custom Action Type 
51 before CostFinalize or Custom Action Type 35 after CostFinalize to set the 
path to some other value.  There are also few options to achieve the same in 
the UI.  Bottom line is that directory structure in Windows Installer is not 
necessarily what you see is what you get, so to speak.

Obviously, there are lot more other things need to be considered in regard to 
directory structure, but this should be enough to answer your question.

Hope that helps,

Alex Shevchuk


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Where is DesktopFolder?

2011-01-25 Thread Chris Lord
Kevin

What version of windows installer are you targeting.  Looks like this 
parameter is only available in Windows Installer 4 and onwards.

http://msdn.microsoft.com/en-us/library/aa368276%28v=vs.85%29.aspx

Chris

On 01/25/2011 03:34 PM, Kevin Burton wrote:
 I am trying to reference DesktopFolder and I get the error:

 C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\BsiServices\Product.wxs(318,0):
  error LGHT0094: Unresolved reference to symbol 'Directory:DesktopFolder' in 
 section 'Product:{8D768A77-71B5-432F-86F2-BCD197617A79}'.

 Any idea on how to use the desktop?

 Kevin
 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Where is DesktopFolder?

2011-01-25 Thread Kevin Burton
If I invoke msiexec it says that I am using Windows (r) Installer. V 
5.0.7600.16385.

Kevin Burton
Senior Software Engineer
BUYSEASONS
262-901-2000 Office
262-901-2312 Fax
kev...@buyseasons.com 


-Original Message-
From: Chris Lord [mailto:chris.l...@atterotech.com] 
Sent: Tuesday, January 25, 2011 2:50 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Where is DesktopFolder?

Kevin

What version of windows installer are you targeting.  Looks like this parameter 
is only available in Windows Installer 4 and onwards.

http://msdn.microsoft.com/en-us/library/aa368276%28v=vs.85%29.aspx

Chris

On 01/25/2011 03:34 PM, Kevin Burton wrote:
 I am trying to reference DesktopFolder and I get the error:

 C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\BsiServices\Product.wxs(318,0):
  error LGHT0094: Unresolved reference to symbol 'Directory:DesktopFolder' in 
 section 'Product:{8D768A77-71B5-432F-86F2-BCD197617A79}'.

 Any idea on how to use the desktop?

 Kevin
 --
  Special Offer-- Download ArcSight Logger for FREE (a $49 USD 
 value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, 
so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Where is DesktopFolder?

2011-01-25 Thread Chris Lord
Kevin,

What version of Windows Installer that is installed on your machine has 
absolutely no effect when you are building the MSI.  This is not the 
version you are targeting but what your machine happens to be using.

The reason I asked about what version you are targeting is that one 
possible reason for the problem is that WiX is trying to create an 
Installer based around features for an earlier version of Windows 
Installer.  If thats the case, the DesktopFolder feature won't exist as 
it was introduced in Windows Installer 4 and hence the error.

Unless this installer is purely for you, everyone else who may install 
your MSI may not have your version of OS and your version of Windows 
Installer and if a users PC has a version of Windows installer that 
doesn't support your feature then that will spell trouble.

Your MSI should target a version of windows installer that supports the 
feature you are using that means setting the InstallerVersion key which 
is part of your package data in WiX.

For version 4, it needs to be at least 400.  Be mindful though that 
newer versions of Windows Installer may not be supported on older 
operating systems so by setting it to a higher version, you may be limit 
the OS's the MSI can be installed upon.

Chris

On 01/25/2011 05:32 PM, Kevin Burton wrote:
 If I invoke msiexec it says that I am using Windows (r) Installer. V 
 5.0.7600.16385.

 Kevin Burton
 Senior Software Engineer
 BUYSEASONS
 262-901-2000 Office
 262-901-2312 Fax
 kev...@buyseasons.com


 -Original Message-
 From: Chris Lord [mailto:chris.l...@atterotech.com]
 Sent: Tuesday, January 25, 2011 2:50 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Where is DesktopFolder?

 Kevin

 What version of windows installer are you targeting.  Looks like this 
 parameter is only available in Windows Installer 4 and onwards.

 http://msdn.microsoft.com/en-us/library/aa368276%28v=vs.85%29.aspx

 Chris

 On 01/25/2011 03:34 PM, Kevin Burton wrote:
 I am trying to reference DesktopFolder and I get the error:

 C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\BsiServices\Product.wxs(318,0):
  error LGHT0094: Unresolved reference to symbol 'Directory:DesktopFolder' in 
 section 'Product:{8D768A77-71B5-432F-86F2-BCD197617A79}'.

 Any idea on how to use the desktop?

 Kevin
 --
  Special Offer-- Download ArcSight Logger for FREE (a $49 USD
 value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, 
 so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Where is DesktopFolder?

2011-01-25 Thread Rob Mensching
DesktopFolder has been part of the Windows Installer as long as I can
remember. I don't htink this is the problem.

Kevin, do you have a Directory with Id=DesktopFolder?

On Tue, Jan 25, 2011 at 3:38 PM, Chris Lord chris.l...@atterotech.comwrote:

 Kevin,

 What version of Windows Installer that is installed on your machine has
 absolutely no effect when you are building the MSI.  This is not the
 version you are targeting but what your machine happens to be using.

 The reason I asked about what version you are targeting is that one
 possible reason for the problem is that WiX is trying to create an
 Installer based around features for an earlier version of Windows
 Installer.  If thats the case, the DesktopFolder feature won't exist as
 it was introduced in Windows Installer 4 and hence the error.

 Unless this installer is purely for you, everyone else who may install
 your MSI may not have your version of OS and your version of Windows
 Installer and if a users PC has a version of Windows installer that
 doesn't support your feature then that will spell trouble.

 Your MSI should target a version of windows installer that supports the
 feature you are using that means setting the InstallerVersion key which
 is part of your package data in WiX.

 For version 4, it needs to be at least 400.  Be mindful though that
 newer versions of Windows Installer may not be supported on older
 operating systems so by setting it to a higher version, you may be limit
 the OS's the MSI can be installed upon.

 Chris

 On 01/25/2011 05:32 PM, Kevin Burton wrote:
  If I invoke msiexec it says that I am using Windows (r) Installer. V
 5.0.7600.16385.
 
  Kevin Burton
  Senior Software Engineer
  BUYSEASONS
  262-901-2000 Office
  262-901-2312 Fax
  kev...@buyseasons.com
 
 
  -Original Message-
  From: Chris Lord [mailto:chris.l...@atterotech.com]
  Sent: Tuesday, January 25, 2011 2:50 PM
  To: General discussion for Windows Installer XML toolset.
  Subject: Re: [WiX-users] Where is DesktopFolder?
 
  Kevin
 
  What version of windows installer are you targeting.  Looks like this
 parameter is only available in Windows Installer 4 and onwards.
 
  http://msdn.microsoft.com/en-us/library/aa368276%28v=vs.85%29.aspx
 
  Chris
 
  On 01/25/2011 03:34 PM, Kevin Burton wrote:
  I am trying to reference DesktopFolder and I get the error:
 
 
 C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\BsiServices\Product.wxs(318,0):
 error LGHT0094: Unresolved reference to symbol 'Directory:DesktopFolder' in
 section 'Product:{8D768A77-71B5-432F-86F2-BCD197617A79}'.
 
  Any idea on how to use the desktop?
 
  Kevin
  --
   Special Offer-- Download ArcSight Logger for FREE (a $49 USD
  value)!
  Finally, a world-class log management solution at an even better
 price-free!
  Download using promo code Free_Logger_4_Dev2Dev. Offer expires
  February 28th, so secure your free ArcSight Logger TODAY!
  http://p.sf.net/sfu/arcsight-sfd2d
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 --
  Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
  Finally, a world-class log management solution at an even better
 price-free!
  Download using promo code Free_Logger_4_Dev2Dev. Offer expires February
 28th, so secure your free ArcSight Logger TODAY!
  http://p.sf.net/sfu/arcsight-sfd2d
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 --
  Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
  Finally, a world-class log management solution at an even better
 price-free!
  Download using promo code Free_Logger_4_Dev2Dev. Offer expires
  February 28th, so secure your free ArcSight Logger TODAY!
  http://p.sf.net/sfu/arcsight-sfd2d
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users


 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better
 price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually, Rob Mensching - http://RobMensching.com LLC