PDA

View Full Version : Copying Files



mikedoris
12-05-2005, 09:17 AM
In addition to my earlier post I've noticed the my custom action which I've placed in "After file transfer" occurs before the files are written to the disk. I know this as my action pops up a dialog. Inspecting the disk with windows explorer shows that the files haven't arrived at their final resting place.

After my dialog completes the Install Wizard interface indicates that it is copying the files.

This behaviour cannot be by design? I'm trying to copy some files which I have placed in the users Temp directory to a destination specified by the user at run time.

As a work around I'm going to move the event into the future. Maybe even after "Setup complete".

Thanks,

Mike D.

MartinMarkevics
12-05-2005, 03:55 PM
Make sure your custom action is defered. The first time throught the execute sequence, MSI generates a script of what it is going to do. The second time through, it executes the script. Chance are, your CA is firing during the script generation phase.