q0987
8th March 2005 08:20 UTC
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
Afrow UK
8th March 2005 08:50 UTC
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
q0987
8th March 2005 15:38 UTC
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
Afrow UK
8th March 2005 19:04 UTC
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
DrO
8th March 2005 19:09 UTC
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
Afrow UK
8th March 2005 19:59 UTC
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