Condition either the component or the feature that contains the CopyFile
element.

-----Original Message-----
From: Sam K [mailto:sam.re...@gmail.com] 
Sent: Thursday, September 10, 2009 1:58 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Copying folders from the target directory to a
folderin ProgramFiles

Thanks David. I did it this way by putting them in a component and adding
the component as a feature.
But, can I do this based on a condition, like a property value set from the
ui?
Thanks a lot.

On Fri, Sep 4, 2009 at 11:29 AM, David Watson <dwat...@sdl.com> wrote:

> Not sure what you want exactly but have you looked at the copyfile
> element ?
>
> http://wix.sourceforge.net/manual-wix3/wix_xsd_copyfile.htm
>
> Dave
>
> -----Original Message-----
> From: Sam K [mailto:sam.re...@gmail.com]
> Sent: 04 September 2009 15:29
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Copying folders from the target directory to a
> folderin ProgramFiles
>
>  Hi There,
> I need to copy files from a folder, say targetdir\xxx to
> programfilesfolder\yyy. The targetdir (for ex d:\) is different than the
> programfilesfolder (c:\) and there can only be one targetdir.
> Is there a way to do that? Can I do it using a Custom action? Can
> somebody please reply?
> Thanks a lot.
> ------------------------------------------------------------------------
> ------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day trial. Simplify your report design, integration and deployment -
> and focus on what you do best, core application coding. Discover what's
> new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> SDL PLC confidential, all rights reserved.
> If you are not the intended recipient of this mail SDL requests and
> requires that you delete it without acting upon or copying any of its
> contents, and we further request that you advise us.
> SDL PLC is a public limited company registered in England and Wales.
>  Registered number: 02675207.
> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
> 7DY, UK.
>
>
>
>
----------------------------------------------------------------------------
--
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/wix-users
>
----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to