PDA

View Full Version : Custom Action.EXE


tdexter
06-28-2007, 09:54 AM
I have a Custom Action (Run Executable) using the "Installed with Product" option and a command line, /s setup.exe. Is there a way NOT to have the resulting action show up in the Add\Remove Programs?

The reason is when I try to use Add\Remove Programs the main install does not complete. An error message says ...A program required for this install to complete could not be run...

If I remove the custom action everything works as expected.

Brett
06-28-2007, 09:58 AM
The problem is that custom actions run every time the install is run (install, reinstall, and uninstall). To avoid this, go into your custom action's properties and to the Attributes tab. Then edit the Custom Action Timing item that schedules your action. Next, enter this into the Condition field:

NOT Installed

That will cause the action to run only if being called during installation (the product is not already installed).

Does that help?

tdexter
06-28-2007, 10:49 AM
Thank you, Thank you, Thank you.