Hi David.

"david adams" <[EMAIL PROTECTED]> writes:

> Jarl:
>
> Try using the CopyFile in this way:
>
> <Component>
>    <File>
>       <CopyFile />
>    </File>
> </Component>
>
> I believe that CopyFile as a child to a Component element is for a
> file that already exists on the machine. 

No, actually the problem cuts down to this:
A product consisting of 
one file "MyFile.xsd" <File Id="MyFile.xsd" />
two components:
   one component ("CompInstall") installing "MyFile.xsd",
   one component ("CompCopy") copies the file to VS2005 schema directory.
two features; one for each component: "FeaInstall", "FeaCopy"


"FeaInstall" will always be installed, i.e. it installs the
"MyFile.xsd".

"FeaCopy" will be installed if and only if VS2005 is present.

So the the file to be copied in the <CopyFile> is specified by FileId,
which points to the file in the CompInstall component; <CopyFile
FileId="MyFile.xsd">

Jarl

-- 
Jarl Friis
Softace ApS
Omøgade 8, 2.sal
2100 København Ø.
Denmark
Phone:  +45 26 13 20 90
E-mail: [EMAIL PROTECTED]
LinkedIn: https://www.linkedin.com/in/jarlfriis


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to