I'm not aware that Wix supports any more than MSI does, namely <CopyFile>,
<CreateFolder> and <RemoveFile>, <RemoveFolder>. If you put these in
components in your feature, they will run when your feature is installed or
removed. 
If your directory structure has subdirectories and the structure is not known
at build-time, these probably won't help you but you can write a CA (if you
can't find one) to write temporary rows to the associated tables at install
time.

You might also want to evaluate whether the copy part is something best done
in the application.

-----Original Message-----
From: Sean Farrow [mailto:[email protected]] 
Sent: 25 March 2011 05:42
To: [email protected]
Subject: [WiX-users] copying one folder including sub folders to another

Hi:
Is there a custom action in Wix to copy one folder to another, and remove the
folder on uninstallation. I need to do this only if a feature is selected.
I remember there was something in the community extensions, but carn't
remember whether this allowed feature selection to be taken in to account.
Any help appreciated.
Regards
Sean.
-----------------------------------------------------------------------------
-
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
[email protected]
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.


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to