United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6805578 RFE: disable java quick start jqs.exe at the JRE installation
JDK-6805578 : RFE: disable java quick start jqs.exe at the JRE installation

Details
Type:
Enhancement
Submit Date:
2009-02-13
Status:
Resolved
Updated Date:
2010-11-01
Project Name:
JDK
Resolved Date:
2009-08-25
Component:
install
OS:
windows
Sub-Component:
install
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u12
Fixed Versions:
6u16-rev (b02)

Related Reports
Backport:
Backport:
Backport:

Sub Tasks

Description
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.
                                     
2009-04-15



Hardware and Software, Engineered to Work Together