Extension for CopyFolder??

119 views
Skip to first unread message

Farrukh

unread,
Aug 17, 2012, 6:10:22 AM8/17/12
to msi...@googlegroups.com
Hi,
Is there any extension method to Copy Folders instead of CopyFiles?

I actually need some Wix examples for doing this.

I'm working on a project in which I have to make a backup of a folder upon uninstall. I saw msiext and wished to use these.
Found CopyFiles which seems to be doing similar action. So how to use it?
Or if there is any CopyFolder kind of thing, please let me know with any example wix

Thanks
Farrukh

Daniel Doubrovkine

unread,
Aug 17, 2012, 11:59:36 AM8/17/12
to msi...@googlegroups.com
The CopyFiles extension supports directories, so you can do this:

<AppSecInc:CopyFiles Id="CopyAll" CopyOnInstall="yes" Recurse="yes" Source="[INSTALLLOCATION]" Overwrite="yes" Target="[INSTALLLOCATION]\CopyOfAllFiles" Wildcard="*.*" />

Reference here: http://dblock.github.com/msiext/docs/1.3/class_wix_1_1_extensions_1_1_system_tools_1_1_copy_files.html
Demo here: https://github.com/dblock/msiext/blob/master/src/Demos/SystemToolsMsi/SystemToolsMsi.wxs

cheers
dB.


Farrukh

--
You received this message because you are subscribed to the Google Groups "msiext" group.
To view this discussion on the web visit https://groups.google.com/d/msg/msiext/-/Sv2AcMEF9hEJ.
To post to this group, send email to msi...@googlegroups.com.
To unsubscribe from this group, send email to msiext+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/msiext?hl=en.



--

dB. | Moscow - Geneva - Seattle - New York
dblock.org - @dblockdotorg


Farrukh

unread,
Aug 18, 2012, 2:16:06 AM8/18/12
to msi...@googlegroups.com
Hi DB,
Thanks a lot. I will test these soon.

BTW, Is there any Tutorial site to msiext? I still have to start with it. Although, I know I will have to reference its schema in my WIX, but still need precisely.

Best regards
Farrukh

Daniel Doubrovkine

unread,
Aug 18, 2012, 8:17:51 PM8/18/12
to msi...@googlegroups.com
There's no tutorial. Please feel free to contribute.

To view this discussion on the web visit https://groups.google.com/d/msg/msiext/-/poXiVV2gnP4J.

To post to this group, send email to msi...@googlegroups.com.
To unsubscribe from this group, send email to msiext+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/msiext?hl=en.

Me I Myself

unread,
Jan 18, 2013, 4:34:32 PM1/18/13
to msi...@googlegroups.com
How about this... Is there anything anywhere publicly available that tells people how to get started with this.  The documentation would be great for someone that knows how to get started, but I cannot find anything anywhere on how to use this stuff in the first place.  I am pretty frustrated and guess I will give up on this product.  Going back to use WiX Extensions I guess.... :|

Daniel Doubrovkine

unread,
Jan 18, 2013, 5:59:03 PM1/18/13
to msi...@googlegroups.com
You're still asking for a tutorial, which takes time to write, *someone* has to make the effort. 

There's a ton of examples in https://github.com/dblock/msiext/tree/master/src/Demos, they all work.

I wrote an old blog post on getting started with database extensions - http://code.dblock.org/msi-community-extensions-deploying-databases, if that helps.

Ultimately I welcome more "getting started" content, but I am not planning to write it.

To view this discussion on the web visit https://groups.google.com/d/msg/msiext/-/3EEHxGKl4A4J.

To post to this group, send email to msi...@googlegroups.com.
To unsubscribe from this group, send email to msiext+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/msiext?hl=en.
Reply all
Reply to author
Forward
0 new messages