What I am trying to achieve is to move files ( sort of a backup feature of all dlls) and then install new dlls. I do not know what files I will be moving so i use Move Files and wild card to specify them.
Can I call Move Local Files and Install Files (and if yes in what order) before issuing Apply Install?
When I do that some of the files are not getting installed. When I do not move files and install to the new directory then everything is OK.
Thank you
Paul
Install Files and Move Local Files
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Instead of using the MSI command for moving local files, you should directly execute that step as native Win32 calls using the Call DLL Function plug-in on the CopyFileA/MoveFileA commands in kernel32.dll, the Find All Files command to find the actual files to execute the native calls on, as well as the Label, GoTo, and Parse String commands to loop through the list of matching files that Find All Files returns.
Otherwise, you will run into timing issues when calling both Install Files and Copy/Move Local Files with the same target paths.
Otherwise, you will run into timing issues when calling both Install Files and Copy/Move Local Files with the same target paths.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 96 guests