Copy Local Files recursively?

Got a problem you cannot solve? Try here.
Post Reply
stefan
Posts: 10
Joined: Wed Apr 25, 2007 10:41 am

Copy Local Files recursively?

Post by stefan »

Hi everyone,

is there a possibility to copy local files recursively, the same way delete files recursively is intended to work?
I intend to copy library files from multiple cds, which are quite a lot.
I really need a way of doing that, copying file by file is really no option. But so far, I could not find anything about it.

Thanks for any help.
Stefan
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

This isn't covered by Windows Installer. That's why the existing MSIcode command is non-recursive.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
stefan
Posts: 10
Joined: Wed Apr 25, 2007 10:41 am

Post by stefan »

So there is no way to copy files from multiple cds to the hard drive without specifiyng each file separately? Seems like this could be a strong argument against InstallAware for us.


Stefan
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

As I have already explained, you won't be able to do this with any Windows Installer tool, regardless of vendor, if the files aren't an original part of your setup package.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
stefan
Posts: 10
Joined: Wed Apr 25, 2007 10:41 am

Post by stefan »

Yes, I understood your post. It's just that it's a bit weird that there is no workaround, custom action or anything that can be done.

Thanks for your answers,
Stefan
Tinus
Posts: 209
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Post by Tinus »

Stefan,

you can always create a custom plug-in and you can exactly match your requirements.
Martin Rothschink

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware
stefan
Posts: 10
Joined: Wed Apr 25, 2007 10:41 am

Post by stefan »

Well, so I would need to write a program that does recursive file copy and export that function, so I can call it with Call DLL? Why isn't something like that included with InstallAware?

What about calling xcopy?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

A custom action would involve writing your own code anyway.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
klavelle
Posts: 8
Joined: Tue Jul 01, 2008 2:04 pm

Post by klavelle »

What if the files WERE apart of the setup package, via the File Bag plugin. Would it be possible to copy and entire directory structure without having to manually create each individual directory?
Post Reply