Modifying the Control Service message
-
- Posts: 21
- Joined: Tue Dec 31, 2013 7:37 am
Modifying the Control Service message
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 (23.89 KiB) Viewed 5865 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Modifying the Control Service message
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
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
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
-
- Posts: 21
- Joined: Tue Dec 31, 2013 7:37 am
Re: Modifying the Control Service message
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 (24.82 KiB) Viewed 5857 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Modifying the Control Service message
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.
Hope this helps you.
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
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
-
- Posts: 21
- Joined: Tue Dec 31, 2013 7:37 am
Re: Modifying the Control Service message
Since it does NOT fix the issue, no it did NOT help me.
Who is online
Users browsing this forum: Bing [Bot] and 87 guests