PDA

View Full Version : Unable to use the -accessibility with the native launcher



cshirley
03-25-2003, 11:17 AM
I am unable to use the -accessibility when with the native launchers. The command I used is:

setup.exe -accessibility -> does not work
setup.exe -console -> works as expected

I was able to use this option running the jar file:
(java -cp hodinstall.jar run -accessibility).

I would expect that the lauchers will work as passing in these paramaters to the running java process.

How can I make the -accessibility argument work with the native launchers?

Thanks,
Chris

Jeff Dillon
03-25-2003, 12:59 PM
Try...

setup.exe -is:javaconsole -accessibility

cshirley
03-25-2003, 02:25 PM
I just don't understand why that parameter needs that option.

The Install Shield Doc states

Runtime Command Line Options
The following command line options, listed alphabetically, can be used when running
an installer or uninstaller. You can use these options whether you invoke the Wizard
directly through a Java command, or execute the Wizard using a native launcher —
the launcher then passes these arguments to the Wizard. When you execute the Wizard using
a native launcher, additional command line options are available, which are listed below.

Option Purpose Example Usage
-accessibility
-awt
-console
-G <
-goto <
-log #
-media
-options-template <responseFileName>
-options-record <responseFileName>
-P <
-swing
-options <responseFileName>
-silent
-W [passwordPanelBeanId].typedPasswordHash="<hashed password


I think it is a problem with InstallShield. Other than the Audible tones and percentage marks, -accessbility should
be the same as running -console. The problem is that when -console is ran, it overrides the distribution bean and automatically
includes the -is:javaconsole. Thus, this is why I do not have to type this in when using the Native Launcher. However, -accessibility
is not doing the samething, which to me seems like a problem.

Why doesn't the -accessibility option automatically include the -is:javaconsole?

Jeff Dillon
03-25-2003, 02:28 PM
>Why doesn't the -accessibility option automatically include the -
>is:javaconsole?

It should. I wrote a bug report.