Guest

Custom Action

I am trying to launch an exebefore the services install. I have created a CreateShortcuts action folder, added my custom action into that folder

Source Path: TARGETDIR\my.exe
Source Type: Executable (*.exe)
Asynchronous execution, wait for return code at the end of sequence.
Immediate execution.
Expression: NOT Installed


Any tips on ho wto use 'Expression', or how to make this execute?
UdreaMihai
Posts: 90
Joined: Wed Mar 23, 2005 8:13 am

Hello,

The "Expression" is set correctly, your EXE will be executed only when installing the package.

But, being an "Installed Custom Action", your EXE can't be run before the "Install" standard action, because it is not installed on the user machine. If you want your EXE to be executed before the "Install" standard action, you must add the custom action as an "Attached Custom Action".

Regards,
Mihai.
Udrea Mihai
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”