The forum

Firefox Script Bug

Author Replies
trlkly Monday 16 February 2009 at 19:46
trlklyAnonymous

All of the Firefox scripts no longer download the Firefox installer. I think the address on the site may have changed.

Also, the script does not notice any errors. It seems to think that the file was downloaded and installed. A quick check in the appropriate wine prefix indicates that it wasn't.
dlzerocool Friday 6 March 2009 at 0:29
dlzerocool

Create a new file in your desktop name it FF3 (it's just an exemple...)
Open it with your favorite text editor, then copy the script in it (Start with #!/bin/bash)
Then open Playonlinux, TOOLS -> Run a non official script.

PS: The links on this ones are working, yes you get it right, the files have been removed on mozilla ftp.

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"

TITRE="Mozilla Firefox 3"
PREFIXE="Firefox3"
file="Firefox%20Setup%203.0.7.exe"
cd $REPERTOIRE/tmp/
rm *.jpg
wget $SITE/setups/firefox/left.jpg
wget $SITE/setups/firefox/top.jpg
POL_SetupWindow_Init "$REPERTOIRE/tmp/top.jpg" "$REPERTOIRE/tmp/left.jpg"
POL_SetupWindow_presentation "$TITRE" "Mozilla" "http://www.mozilla.com/" "Tinou" "$PREFIXE"
cd $REPERTOIRE/tmp/
select_prefix "$REPERTOIRE/wineprefix/$PREFIXE"
POL_SetupWindow_prefixcreate
POL_SetupWindow_download "Downloading $TITRE" "$TITRE" "http://mozilla2.mirrors.tds.net/pub/mozilla.org/firefox/releases/latest-3.0/win32/en-US/Firefox%20Setup%203.0.7.exe"
POL_SetupWindow_download "Downloading Flash player" "$TITRE" "$SITE/divers/install_flash_player.exe" /silent
POL_SetupWindow_download "Downloading Shockwave player" "$TITRE" "$SITE/divers/Shockwave_Installer_Slim.exe" /silent
POL_SetupWindow_pulsebar "Installing $TITRE" "$TITRE"
sleep 0.1
POL_SetupWindow_set_text "Mozilla Firefox ..."
wine $file
POL_SetupWindow_detect_exit
sleep 1
POL_SetupWindow_pulse 33
sleep 0.1

POL_SetupWindow_set_text "Flash Player ..."
wine install_flash_player.exe /silent
POL_SetupWindow_detect_exit
sleep 1
POL_SetupWindow_pulse 66
sleep 0.1

POL_SetupWindow_set_text "Shockwave player ..."
wine "Shockwave_Installer_Slim.exe"
POL_SetupWindow_detect_exit /silent
sleep 1
POL_SetupWindow_pulse 100
sleep 0.1
POL_SetupWindow_detect_exit
POL_SetupWindow_make_shortcut "$PREFIXE" "Program Files/Mozilla Firefox" "firefox.exe" "" "$TITRE"
POL_SetupWindow_message "$TITRE has been installed successfully" "$TITRE"
POL_SetupWindow_Close

Drum & Bass - Dev - Beer and more... What else ?

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com