I'm trying this simple task for practice, but I can't get it to work.
There's only one file in the installation-
I want to install tool.exe, then use custom action to run tool.exe after installing tool.exe.
I add the tool.exe to list of files.
Then i add custom action- new exe > Installed with product
Then I point the custom action to the tool.exe.
I set immediate execution, exec only once, after installfinalize.
I do a test run, tool.exe installs, but tool.exe doesn't run after installation.
I get one warning in the status page-
ISDEV : warning -6558: The Custom Action c in the InstallExecuteSequence table is run from an installed file. To run the custom action successfully, you may need to have a condition that checks if the source file is installed locally.
How do I make this simple task work? The steps seem so simple, but the custom action doesn't run.
Please guide me.
Edited by pman, 08 October 2012 - 11:20.