Modifying the Control Service message

Got a problem you cannot solve? Try here.
munderhill
Posts: 21
Joined: Tue Dec 31, 2013 7:37 am

Modifying the Control Service message

Postby munderhill » Mon Feb 02, 2015 10:51 am

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.
Attachments
control service.png
control service.png (23.89 KiB) Viewed 5871 times

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Modifying the Control Service message

Postby FrancescoT » Mon Feb 02, 2015 1:53 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

munderhill
Posts: 21
Joined: Tue Dec 31, 2013 7:37 am

Re: Modifying the Control Service message

Postby munderhill » Mon Feb 02, 2015 3:13 pm

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.
Attachments
Screenshot_1.png
Screenshot_1.png (24.82 KiB) Viewed 5863 times

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Modifying the Control Service message

Postby FrancescoT » Tue Feb 03, 2015 1:34 pm

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.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

munderhill
Posts: 21
Joined: Tue Dec 31, 2013 7:37 am

Re: Modifying the Control Service message

Postby munderhill » Tue Feb 03, 2015 3:33 pm

Since it does NOT fix the issue, no it did NOT help me.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 64 guests