Page 1 of 1

Modifying the Control Service message

Posted: Mon Feb 02, 2015 10:51 am
by munderhill
How/Can the message for the Native Engine Control Service function be changed? Right now it simply displays the service name and a comma?! See attached image.

Re: Modifying the Control Service message

Posted: Mon Feb 02, 2015 1:53 pm
by FrancescoT
Dear Munderhill,

use the PROGRESSTEXT pre-defined variable to display a string description of the current installation task.

Just use in your script;
- Set Variable PROGRESSTEXT to ...my string description
before your Control Service call.

Hope this helps you.

Regards

Re: Modifying the Control Service message

Posted: Mon Feb 02, 2015 3:13 pm
by munderhill
I am still getting the display of "servicename," in addition to the text that I want to be displayed. The msi script screenshot is attached.

Re: Modifying the Control Service message

Posted: Tue Feb 03, 2015 1:34 pm
by FrancescoT
Dear Munderhill,

by default both engines (MSI engine and IA Engine) status messages take the precedence over other messages and this overrides the PROGRESSTEXT pre-defined variable value.

I have just used the following code and my custom message gets displayed, however the one emitted directly by the engine comes up anyway.

Code: Select all

 Set Variable NATIVE_ENGINE to TRUE
Set Variable PROGRESSTEXT to ...Stopping MSSQL service
Set Variable PROGRESSMODE to MARQUEE
Control Service MSSQL$SERVER: stop on install [wait for completion]
Set Variable PROGRESSTEXT to ...MSSQL service has been stopped
Set Variable NATIVE_ENGINE to FALSE


Hope this helps you.

Re: Modifying the Control Service message

Posted: Tue Feb 03, 2015 3:33 pm
by munderhill
Since it does NOT fix the issue, no it did NOT help me.