MoveFile Table & MoveFiles Action
I am trying to copy and move files from source loc to destination using MoveFile table but the process which i follow to do so is unsuccessful, so kindly suggest.
Task: Copying file abc.htm from Program Files\ABC Folder to Program Files\ABC\Copy.
->Creating a row in MoveFile table with the following details:
Component_: MoveFile (Created a empty component)
DestName: (The field was left blank)
SourceFolder: INSTALLDIR1 (which gets resolved to Program Files\ABC)
DestFolder: Copy (which gets resolved to Program Files\ABC\Copy)
Options: 0 or 1
Position of standard action"MoveFiles": Not changed
** INSTALLDIR1 and Copy are the directory names fetched from directory table.
Even relocated the position of MoveFiles standard action(placing it after InstallFiles) couldnt solved the issue.
**Note: The Task needs to achieved using MoveFile table and not using any custom action.
#Finally MoveFile table can
#Finally MoveFile table can be used to copy file#
Tried once and It worked but tried again it didnt and now after a long time it worked again:
MoveFileTable: Copying file from current directory(where MSI file is present) to INSTALLDIR.
1. Added the standard action ResolveSource after CostFinalize in UI and Immediate mode.
2. Placed the the file Abb.vbs in current directory along with the MSI.
3. Added the following entry in MoveFile table(image below).
4. Saved the MSI and it worked.