Update status during Custom Action (Attached Executable) - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

agoto
Posts: 9
Joined: Thu Jul 06, 2006 9:23 am

Update status during Custom Action (Attached Executable)

Hi,

I have added my 'Attached Custom Action' to a Project and I wish to update the status message above the progress bar on the ProgressDlg.

My Custom Action is to launch an executable and the status message is fixed during the action. The Action Text button on the Property page is grayed-out. (If I add my Custom Action to Commit, it is OK.)

For example, I wish to close some executing files before strating copy.

1. Show the status message of 'Related executables are closing'
2. Launch my own executable file to close the executing files.
3. Show the status message of 'Related executables are closed'
4. Go to next custom action.

I have looked at http://www.advancedinstaller.com/forums ... 880#p20880 and it is very similar to my requirement but the message becomes blank during my action #2 (launch the executable) is in progress.

Do you have any good idea?

Thank you in advance.

Best Regards,
Aki
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Update status during Custom Action (Attached Executable)

Hi,
message becomes blank during my action #2 (launch the executable) is in progress
The text disappears because the custom action that displays it terminates, and the next one (the one that launches the executable) starts. The text is being displayed only as long as the corespondent custom action runs. After the custom action that launched the executable terminates another text can be displayed informing that the executable has completed its tasks.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”