Page 1 of 1
Flash Player unattended install
#1
Posted 12 August 2004 - 09:16 AM
During the T-13 stage of unattended setup I want to install the Mozilla/Firefox Flash plugin. I have two questions about this.
First, I downloaded the "corporate" flash/shockwave MSI files. They install silently very well, but don't include the Mozilla/Firefox/Netscape plugin. I know, for example, with Sun's JRE there's an option of "MOZILLA=1" that you can pass to the MSI. Is there anything similar to this for Flash?
Second, since the above wasn't working very well, I tried to play around with the normal Flash Player installer. It turns out if you run the setup program with a /s switch it installs the plugin just fine, but at the end it opens up a browser window informing me that I just installed Flash. As much as I appreciate Macromedia's lovely advertisements and informative website, I'd like to stop this since I'm going to be running the setup program during the unattended setup. Is there any switch to prevent the browser window from opening at the end?
An answer to either of these would solve my problem. Of course, I'd also be grateful if someone had another solution to installing Flash without any user interaction.
Thanks.
First, I downloaded the "corporate" flash/shockwave MSI files. They install silently very well, but don't include the Mozilla/Firefox/Netscape plugin. I know, for example, with Sun's JRE there's an option of "MOZILLA=1" that you can pass to the MSI. Is there anything similar to this for Flash?
Second, since the above wasn't working very well, I tried to play around with the normal Flash Player installer. It turns out if you run the setup program with a /s switch it installs the plugin just fine, but at the end it opens up a browser window informing me that I just installed Flash. As much as I appreciate Macromedia's lovely advertisements and informative website, I'd like to stop this since I'm going to be running the setup program during the unattended setup. Is there any switch to prevent the browser window from opening at the end?
An answer to either of these would solve my problem. Of course, I'd also be grateful if someone had another solution to installing Flash without any user interaction.
Thanks.
#2
Posted 12 August 2004 - 09:46 AM
The flash player (non-corporate) is the one to use to update Mozilla products. It installs just fine with the "/s" switch during T-12 (cmdlines stage).
What you are actually missing though, is the registry entries for firefox. Customize the below registry chunk to your environment/requirements:
That helps me to have flash player (newest v7.0.19) available through firefox right from first-run.
What you are actually missing though, is the registry entries for firefox. Customize the below registry chunk to your environment/requirements:
Windows Registry Editor Version 5.00 ;regkeys for FireFox 0.9.1 to make sure most plugins, like flash etc., install correctly ;Make sure these are added before installing the plugins [HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox 0.9.1] "GeckoVer"="1.0.1" [HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox 0.9.1\bin] "PathToExe"="C:\\Program Files\\Mozilla\\Firefox\\firefox.exe" [HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox 0.9.1\Extensions] "Components"="C:\\Program Files\\Mozilla\\Firefox\\Components" "Plugins"="C:\\Program Files\\Mozilla\\Firefox\\Plugins" [HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla] "CurrentVersion"="1.7" [HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox] "CurrentVersion"="0.9.1 (en)" [HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\0.9.1 (en)\Main] "Create Desktop Shortcut"=dword:00000000 "Create Start Menu Shortcut"=dword:00000000 "Create Quick Launch Shortcut"=dword:00000000 "Program Folder Path"="C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Mozilla\\Firefox\\" "Install Directory"="C:\\Program Files\\Mozilla\\Firefox\\" "PathToExe"="C:\\Program Files\\Mozilla\\Firefox\\firefox.exe" ;============================== ; offer Firefox as an option on the "Internet" Sticky app on WinXP Start Menu [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\firefox.exe] @="Mozilla Firefox" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\firefox.exe\DefaultIcon] @="C:\\Program Files\\Mozilla\\Firefox\\firefox.exe,0" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\firefox.exe\shell\open\command] @="\"C:\\Program Files\\Mozilla\\Firefox\\firefox.exe\"" ;============================== ; Give details to make Thunderbird the default e-mail client [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird] @="Mozilla Thunderbird" "DLLPath"="C:\\PROGRA~1\\Mozilla\\Thunderbird\\mozMapi32.dll" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\DefaultIcon] @="C:\\PROGRA~1\\Mozilla\\Thunderbird\\thunderbird.exe,0" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\shell\open\command] @="C:\\PROGRA~1\\Mozilla\\Thunderbird\\thunderbird.exe -mail" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\shell\properties] @="Thunderbird &Options" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\shell\properties\command] @="C:\\PROGRA~1\\Mozilla\\Thunderbird\\thunderbird.exe -options" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\protocols\mailto] @="URL:MailTo Protocol" "URL Protocol"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\protocols\mailto\DefaultIcon] @="C:\\Program Files\\Mozilla\\Thunderbird\\thunderbird.exe,0" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\protocols\mailto\shell\open\command] @="C:\\Program Files\\Mozilla Thunderbird\\thunderbird.exe -compose \"%1\"" ;============================== ; general app settings [HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Thunderbird 0.7.1\bin] "PathToExe"="C:\\Program Files\\Mozilla\\Thunderbird\\thunderbird.exe" ;==============================
That helps me to have flash player (newest v7.0.19) available through firefox right from first-run.
#3
Posted 12 August 2004 - 09:48 AM
and this is when a INF is better suited. No fixed paths
#4
Posted 12 August 2004 - 10:38 AM
Why would I need to add any registry settings for Firefox? Does the Firefox installer not do that for some reason?
Thanks for the information about flash, though.
Thanks for the information about flash, though.
#5
Posted 12 August 2004 - 11:01 AM
@prathapml:
I don't think Vann misses any Firefox regkeys. What he's missing is a way to install the flash plugin silently (i.e. without a browser-window popping up).
@Vann:
I use Mozilla at the moment, but the setup is exactly the same because Firefox uses the Mozilla codebase. Things to try:
1) You can run the silent Flash installer (flashsetup.exe /s) and after that use taskkill.exe to kill all browser-windows. But you'll have to know what's the default browser when running this install... You could also try:
So that whether Firefox, Internet Explorer or Mozilla is the default browser, it would be killed.
2) You could also try to just copy the plugin and related files to Firefox/Mozilla's plugin-directory. For this you would need the three Flash-files: GetFlash.exe, GetFlash.exe.manifest & NPSWF32.dll, and the location of the plugins directory, probably C:\Program Files\Mozilla Firefox\plugins\. It works for me!
Anyways, goodluck in solving the problem!
Edit: First install the flash-plugin as normal, then copy the three mentioned files from the plugins dir.
I don't think Vann misses any Firefox regkeys. What he's missing is a way to install the flash plugin silently (i.e. without a browser-window popping up).
@Vann:
I use Mozilla at the moment, but the setup is exactly the same because Firefox uses the Mozilla codebase. Things to try:
1) You can run the silent Flash installer (flashsetup.exe /s) and after that use taskkill.exe to kill all browser-windows. But you'll have to know what's the default browser when running this install... You could also try:
REM Run the Flash installer 'silenty' flashsetup.exe /s REM Kill all remaining browser-windows taskkill /F /IM iexplore.exe taskkill /F /IM mozilla.exe taskkill /F /IM firefox.exe REM Add your own exe's if another browser is the default!
So that whether Firefox, Internet Explorer or Mozilla is the default browser, it would be killed.
2) You could also try to just copy the plugin and related files to Firefox/Mozilla's plugin-directory. For this you would need the three Flash-files: GetFlash.exe, GetFlash.exe.manifest & NPSWF32.dll, and the location of the plugins directory, probably C:\Program Files\Mozilla Firefox\plugins\. It works for me!
Anyways, goodluck in solving the problem!
Edit: First install the flash-plugin as normal, then copy the three mentioned files from the plugins dir.
#6
Posted 12 August 2004 - 11:11 AM
Quote
and this is when a INF is better suited. No fixed paths
indeed
#7
Posted 12 August 2004 - 11:34 AM
point taken. Agreed!
Indeed. Only this once.
Quote
this is when a INF is better suited
#8
Posted 27 June 2005 - 05:46 PM
Try these:
http://www.macromedi...w_exe_installer
http://www.macromedi...fl_sw_installer
The bottom link is an .msi, so silent installs should be pretty self-explanatory
http://www.macromedi...w_exe_installer
http://www.macromedi...fl_sw_installer
The bottom link is an .msi, so silent installs should be pretty self-explanatory
#9
Posted 28 June 2005 - 07:15 AM
Quote
2) You could also try to just copy the plugin and related files to Firefox/Mozilla's plugin-directory. For this you would need the three Flash-files: GetFlash.exe, GetFlash.exe.manifest & NPSWF32.dll, and the location of the plugins directory, probably C:\Program Files\Mozilla Firefox\plugins\. It works for me!
And it's even easier if you use LaptoniC's Silence of the Foxes to make the Firefox installer; just put them in the plugins folder before you compile everything.
#10
Posted 27 September 2005 - 10:14 AM
maxamoto, on Jun 28 2005, 12:46 AM, said:
Try these:
http://www.macromedi...w_exe_installer
http://www.macromedi...fl_sw_installer
The bottom link is an .msi, so silent installs should be pretty self-explanatory
<{POST_SNAPBACK}>
http://www.macromedi...w_exe_installer
http://www.macromedi...fl_sw_installer
The bottom link is an .msi, so silent installs should be pretty self-explanatory
<{POST_SNAPBACK}>
but what version of Shockwave player is this?
And for what borwser are the plugins?
EDIT: i answer myself...is the silent installer of 7.0.0.19 for Internet Explorer only.
Other question, is there the 8.0.0.22 version msi?
This post has been edited by Kapo: 27 September 2005 - 11:07 AM
Share this topic:
Page 1 of 1



Help
Back to top









