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 versioned file per directory to avoid this. But
then there would be no use for a companion file since the versioned file can
act as the keypath file.


Rob Mensching-2 wrote:
> 
> If you have a dummy file that has a version resource in it, you can
> companion all of the non-versioned files to the dummy file and implicitly
> provide them a version.  It may work out well.
> 
> -----Original Message-----
> 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.
> 
> 
> 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 PROTECTED]
>> Sent: Thursday, November 06, 2008 10:08 AM
>> To: wix-users@lists.sourceforge.net
>> Subject: [WiX-users] Upgrade problems when using directory as keypath
>>
>>
>> I'm using the scheme described at MSDN
>> (http://msdn.microsoft.com/en-us/library/aa368269(VS.85).aspx) to
>> organize
>> my setup into components.
>> Given a single directory, all files without version information (e.g.
>> *.jpg,
>> etc.) are grouped together into a single component which has the
>> directory
>> as its keypath (i. e. <Component KeyPath="yes" .../>).
>>
>> First installation works as expected.
>> The problem arises when I try to upgrade the installed product by
>> re-installing a newer version (Minor Upgrade with REINSTALL="ALL"
>> REINSTALLMODE="vomus"). Sometimes the files in components, which have the
>> directory as keypath, won't be upgraded.
>> But adding files to the component always works.
>>
>> So my question is: Is it wise to use directory keypathes at all? If not,
>> should I create one dummy file per directory which acts as the keypath
>> for
>> non-versioned files? This idea doesn't look very clean.
>> But I would like to avoid choosing any of the real files as keypath,
>> because
>> component rules say that in an upgrade, a keypath file can never be
>> deleted
>> without deleting the whole component.
>> --
>> View this message in context:
>> http://n2.nabble.com/Upgrade-problems-when-using-directory-as-keypath-tp1466141p1466141.html
>> Sent from the wix-users mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
> 
> --
> View this message in context:
> http://n2.nabble.com/Upgrade-problems-when-using-directory-as-keypath-tp1466141p1468864.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Upgrade-problems-when-using-directory-as-keypath-tp1466141p1468993.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to