Copy Files did not copy subfolder and files recursively

Got a problem you cannot solve? Try here.
ramu2020
Posts: 36
Joined: Tue Jan 06, 2015 2:31 am

Copy Files did not copy subfolder and files recursively

Postby ramu2020 » Thu Jan 15, 2015 4:39 am

I use Copy Local FIles from a files bag (which have files, subfolder & files inside the subfolders), I check the copy recursively but it turn out it did not copy recursively, just the outside file copy, the subfolders and inside subfolders files not copy.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Copy Files did not copy subfolder and files recursively

Postby FrancescoT » Thu Jan 15, 2015 1:16 pm

The "Copy/Move Local Files" command only includes sub-folders when used with the Native Engine (as reported by the documentation).

To force the command to be executed under NATIVE ENGINE, place the command within a Native Engine On/Off sequence.

Code: Select all

Set Variable NATIVE_ENGINE to TRUE
Copy Local Files \ to \ (include subfolders)
Set Variable NATIVE_ENGINE to FALSE

The above code executes the Copy Local Files command immediately .... instead of the expected deferred execution as it happens using the Windows Installer Engine.

Please refer to the link below for more details on Windows Installer Commands (PURPLE COMMANDS).
http://www.installaware.com/forum/viewtopic.php?f=2&t=4338

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 130 guests