WiX doesn't support making a companion file the KeyPath because the MSI SDK 
says not to.  From the Companion Files topic: "Note that a file that is the key 
path for its component must not be a companion file."

-----Original Message-----
From: jnewton [mailto:jonathan.new...@ni.com]
Sent: Tuesday, January 27, 2009 06:15
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Dealing with Components with Only Non-Versioned Files


For those few components that have these non-versioned files, I just choose
one of the fonts or message files. I'm really not sure what the behavior
will be when using companion files and setting a keypath in that component
(i.e. which WiX doesn't let you which is why I have to do a post-build
step.). Maybe I don't really need to do this, but this code has just been
this way for years (i.e. in Wise). As I was converting over, I noticed this
but wasn't sure how to handle it.

-Jonathan


Bob Arnson-6 wrote:
>
> jnewton wrote:
>> I have a few components that only contain non-versioned files (i.e.
>> message
>> files, fonts). Currently I am using a core DLL that I install as the
>> companion file for the files in those components. However, this means
>> that I
>> don't have a keypath for these components. I'm not sure if this is a
>> problem
>> or not, and if so, any suggestions? Currently I am just doing a
>> post-build
>> step to insert a keypath back into this component.
>>
>
> What keypath are you putting in?
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> 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/Dealing-with-Components-with-Only-Non-Versioned-Files-tp2218510p2225933.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to