Copy Files did not copy subfolder and files recursively
Copy Files did not copy subfolder and files recursively
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.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Copy Files did not copy subfolder and files recursively
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.
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
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
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
Who is online
Users browsing this forum: No registered users and 130 guests