Actions sequence order
Posted 21 May 2001 - 17:15
Posted 21 May 2001 - 18:31
What about type of your custom action?
It should be Deferred execution. Go to Action View select Custom action and run Wizard.
Posted 22 May 2001 - 14:04
Example: I try to put the custom action after the InstallFiles, expecting to find the files in their place when my custom action starts to execute.
Posted 22 May 2001 - 14:13
Try to use full path of yours executable file in CA such as [INSTALLDIR]File.exe. Create another custom action to set property [INSTALLDIR] available in your deffered CA.
Or put message box before exetution CA and see what do you have at this moment.
Posted 22 May 2001 - 14:18
And, of course, I use the full path, but again, the files are still not there - this is the problem.
Posted 22 May 2001 - 14:49
There are several types of custom actions. The simplest are executed immediately. The second type are called deferred customs actions. Most actions placed between the InstallInitialize and InstallFinalize actions are of this type. These deferred actions are not executed until the InstallFinalize action is performed. If you are using an immediate action between InstallInitialize and InstallFinalize it will be executed before any of the deferred actions.
Posted 22 May 2001 - 15:05
This explains very well why I have to do the CA deferred, as sugested earlier by Irina.
Thanks again Irina and Ian.