JDK-6805578 : RFE: disable java quick start jqs.exe at the JRE installation
Type:Enhancement
Component:install
Sub-Component:install
Affected Version:6u12
Priority:P3
Status:Closed
Resolution:Fixed
OS:windows
CPU:x86
Submitted:2009-02-13
Updated:2013-06-04
Resolved:2009-08-25
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Customer request to have an option to disable java quick start jqs.exe at the JRE installation.
Currently, we can only disable after installation:
http://www.java.com/en/download/help/quickstarter.xml
Comments
EVALUATION
This is an approach to fix the bug (currently being revied by Java Installer team):
Registry.idt creates during build process registry entry templates in installation bundle
(i.e for example in jre-6u12-windows-i586-p.exe )
When installation bundle runs it creates msi file and puts these registry entries templates to it.
When msiexec.exe executes msi file it creates a real windows registries based on
entry templates (originating from Registry.idt) and on predefined msi properties like for example
[JDK_VERSION] or [MODE]
There is a way to pass additional properties (or modify values of existing ones) to msi
by specifying them in command line parameter while running either a wrapper:
jre-6u12-windows-i586-p.exe PROPERTY_NAME=VALUE
or
msiexec.exe /i jre1.6.0_12.msi PROPERTY_NAME=VALUE
So if I run
jre-6u12-windows-i586-p.exe UNREGJQS=1
then UNREGJQS propert will be accessible by Regutils.dll
by running
BOOL FindMSIProperty(LPCTSTR lpszVersion, LPCTSTR lpszProperty, LPTSTR lpszPropertyValue, DWORD dwCount, const int installType, LPTSTR lpszAltPropertyValue)
function
defined in RegInstall.cpp
and as a result if I check UNREGJQS in InstallJQS() function in regUtill.dll I will be able to decide wherever to start or not JQS service.