Copy Files did not copy subfolder and files recursively
Posted: Thu Jan 15, 2015 4:39 am
by ramu2020
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.
Re: Copy Files did not copy subfolder and files recursively
Posted: Thu Jan 15, 2015 1:16 pm
by FrancescoT
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=4338Regards