jlavery
Posts: 27
Joined: Tue Oct 14, 2008 4:56 pm

Update status during Custom Action

I've got my "backup of existing software" custom action working now, using a vbscript file being run as a custom action, which is great.

Is it possible to have the installer display a meaningful status message above the progress bar while it's running the custom action?

Thanks,

James
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Update status during Custom Action

Hi James,

This can be done by setting the "Action Text" in the Custom Action Properties pane of the custom action. The action text you specify will be displayed in the "Status" section above the progress bar.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jlavery
Posts: 27
Joined: Tue Oct 14, 2008 4:56 pm

Re: Update status during Custom Action

Hi Cosmin,
Thanks - however the Action Text button is disabled for my Custom Action.

Settings are:
Source Type: vbs script
Execution properties: Synchronous, check return code
Execution options: Immediate execution
Scheduling Options: Always Execute

Thanks,
James
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Update status during Custom Action

Hi James,

Unfortunately this is not supported for Immediate custom actions. However, if you cannot run the custom action as deferred you can try the approach explained in this post:
http://www.advancedinstaller.com/forums ... 880#p20880

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jlavery
Posts: 27
Joined: Tue Oct 14, 2008 4:56 pm

Re: Update status during Custom Action

Hi Cosmin,
Thanks - that looks useful.

James

Return to “Common Problems”