Archive: How to hide Java JMF installation?


How to hide Java JMF installation?
Hello all:

I try to use the following code to install JMF.

However, I find the installer will launch JMF installation program and also it will ask users to reboot the machine after it finishes

Is there anyway that I could hide the JMF original install
GUI?

Also, May I set the default setting for the JMF installation ?
so the users don't need to choose whether or not reboot
the machine.

thank you very much!
-Daniel


Section "Sun Java JMF" JavaJMF
SectionIn 1 2
DetailPrint "Install Sun Java JMF"
;DetailPrint user_message Adds the string "user_message" to the details view of the installer.
DetailPrint "Starting the Sun Java JMF setup"
File /oname=$TEMP\jmf_setup.exe "jmf-2_1_1e-windows-i586.exe"

DetailPrint "Launching JMF setup"
; ExecWait command [user_var(exit code)]
; If an output variable is specified, ExecWait sets the variable with the exit code.
ExecWait "$TEMP\jmf_setup.exe" $0
DetailPrint "Setup finished"
Delete "$TEMP\jmf_setup.exe"
SectionEnd


You'd have to look for command-line switches for the JMF installer to make it run in silent mode. Is it InstallShield, Wise etc?
And for reboot, I'm not sure what the select mode would do for it - perhaps with silent mode on it will restart without prompt anyway!

-Stu


Hello Stu:

And for reboot, I'm not sure what the select mode would do for it - perhaps with silent mode on it will restart without prompt anyway!
I cannot let the user to choose reboot machine, because the installation still doesn't finish yet.

any comment.
Thank you
-Daniel

Oh I see. Again, you'll need to find a command-line switch for the JMF installer. You can't do any more than that really, except for getting your installer to run again after reboot by writing a shortcut to RunOnce in the registry.

-Stu


it's an Installshield installer on Windows platforms (that's me done on help since i'm at a loss when it comes to these things ;) )

-daz


In that case, you got the -s switch to make the installer silent. You'll just have to find out now if it still tries to reboot.

-Stu