Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-07 Thread zett42
; we're just trying to give you options to consider. > > -Original Message- > From: zett42 [mailto:[EMAIL PROTECTED] > Sent: Friday, November 07, 2008 01:53 > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Upgrade problems when using directory as keypath

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-07 Thread Rob Mensching
2008 01:53 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Upgrade problems when using directory as keypath Wouldn't Windows Installer then want to update ALL non-versioned files instead of only the components which actually have changes in them? I would rather use one dummy

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-07 Thread zett42
> From: zett42 [mailto:[EMAIL PROTECTED] > Sent: Friday, November 07, 2008 00:57 > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Upgrade problems when using directory as keypath > > > I don't really see how companion files would help in this situation. >

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-07 Thread Rob Mensching
: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Upgrade problems when using directory as keypath I don't really see how companion files would help in this situation. Alexander Shevchuk wrote: > > You may want to use Companion files > (http://msdn.microsoft.com/en-us/li

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-07 Thread zett42
I don't really see how companion files would help in this situation. Alexander Shevchuk wrote: > > You may want to use Companion files > (http://msdn.microsoft.com/en-us/library/aa367997(VS.85).aspx) in this > situation. > > > > -Original Message- > From: zett42 [mailto:[EMAIL PROTEC

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-06 Thread Alexander Shevchuk
You may want to use Companion files (http://msdn.microsoft.com/en-us/library/aa367997(VS.85).aspx) in this situation. -Original Message- From: zett42 [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2008 10:08 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Upgrade pr

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-06 Thread Rob Mensching
directory as keypath Yes spot on, I have pedantic on. As a natural pendant why wouldn't I! Neil -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: 06 November 2008 18:35 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Upgrade problems

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-06 Thread Neil Sleightholm
Yes spot on, I have pedantic on. As a natural pendant why wouldn't I! Neil -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: 06 November 2008 18:35 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Upgrade problems when

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-06 Thread Rob Mensching
Sent: Thursday, November 06, 2008 11:36 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Upgrade problems when using directory as keypath Rob Mensching-2 wrote: > > 1. The Windows Installer evaluates the KeyPaths when deciding to repair > existing installed Components. If you u

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-06 Thread zett42
Rob Mensching-2 wrote: > > 1. The Windows Installer evaluates the KeyPaths when deciding to repair > existing installed Components. If you use a Directory as the KeyPath then > the Directory just has to exist for the Component to skip being repaired. > There are lots of variables in this that

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-06 Thread Bob Arnson
zett42 wrote: > Thanks for your reply. Could you please shed some light on why exactly this > behaviour occurs? Knowing something is a good thing - understanding is even > better. > MSI uses the keypath to determine whether a component needs to be updated. > And yes, I have marked the componen

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-06 Thread Bob Arnson
Neil Sleightholm wrote: > Rob, is that true - if you don't specify a KeyPath you get this error: > "Files.wxs(5) : error CNDL0099 : The component 'Test.dll' does not have > an explicit key path specified. If the ordering of the elements under > the Component element changes, the key path will also

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-06 Thread Rob Mensching
default would behave this way. 2. And that's why it is recommended to make very, very small Components. -Original Message- From: zett42 [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2008 10:28 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Upgrade problems

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-06 Thread Rob Mensching
I think that error comes up only if you are running "pedantic", right? -Original Message- From: Neil Sleightholm [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2008 10:26 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Upgrade problems

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-06 Thread zett42
Thanks for your reply. Could you please shed some light on why exactly this behaviour occurs? Knowing something is a good thing - understanding is even better. And yes, I have marked the component directory explicitly as the keypath. I wanted to avoid choosing a keypath file, because in an upgra

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-06 Thread Neil Sleightholm
>> the WiX toolset will default to the first File or Registry key in the Component as the KeyPath Rob, is that true - if you don't specify a KeyPath you get this error: "Files.wxs(5) : error CNDL0099 : The component 'Test.dll' does not have an explicit key path specified. If the ordering of the e

Re: [WiX-users] Upgrade problems when using directory as keypath

2008-11-06 Thread Rob Mensching
Unless your Component only creates a Directory then I would always recommend using something else as the KeyPath. The behavior your seeing doesn't surprise me at all. BTW, the WiX toolset will default to the first File or Registry key in the Component as the KeyPath to avoid this sort of probl