Mozilla Firefox PR 1.0
#1
Posted 22 September 2004 - 04:07 PM
#3
Posted 22 September 2004 - 04:25 PM
I saw one thread there!
Or maybe the FireFox installer changed since FireFox 0.9.3! If that is so i canīt help you!
#4
Posted 22 September 2004 - 04:52 PM
SiMoNsAyS method
Automated Deployment of Firefox
So far the only thing I've done is unzipped the 1.0PR installer with 7-zip, replaced the original setup.exe with the one from Mozilla and edited config.ini for some options. This mostly works but I also wanna auto-install some extensions, my bookmarks and maybe theme or two.. Haven't messed with that part yet.
Let me know what you find out please.
#5
Posted 22 September 2004 - 05:18 PM
ps: the link it's at my signature
#6
Posted 22 September 2004 - 06:05 PM
RayOK, on Sep 22 2004, 04:52 PM, said:
SiMoNsAyS method
Automated Deployment of Firefox
So far the only thing I've done is unzipped the 1.0PR installer with 7-zip, replaced the original setup.exe with the one from Mozilla and edited config.ini for some options. This mostly works but I also wanna auto-install some extensions, my bookmarks and maybe theme or two.. Haven't messed with that part yet.
Let me know what you find out please.
The second method seems to work perfectly for me, plus it includes all of my settings and extensions. Awesome.
#7
Posted 22 September 2004 - 06:09 PM
the guide i tried to do it's language and drive independant
#8
Posted 22 September 2004 - 08:59 PM
I also made it go through and install all my favorite extentions, its a major time saver.
I will post a RAR file with the script for the Silent Install, the EXE for the silent install, as well as my script that installs all my extentions for anyone who wants to modify it to suit their needs. Don't worry, its only 84k not a large file.
One thing to note, the FireFox installation needs to be in the same directory as the silentfirefox.exe, and it NEEDS to be named: Firefox Setup 1.0PR.exe
EDIT:
One thing I forgot to mention. When you are writing your BATCH file, simply call SilentFireFox.exe and it will start Firefox Setup 1.0PR.exe by itself
Attached File(s)
-
FireFox.rar (83.8K)
Number of downloads: 151
#9
Posted 22 September 2004 - 09:41 PM
;
; AutoIt Version: 3.0
; Language: English
; Platform: Win9x/NT
; Version: 0.1
; Date: 18-Sept-2004
;
; Script Function:
; Install Firefox 1.0PR
;
Run("setup.exe")
WinWaitActive("Firefox Setup")
Send("{ENTER}")
WinWaitActive("Software License Agreement")
Send("{UP}{ENTER}")
WinWaitActive("Setup Type")
Send("{ENTER}")
WinWaitActive("Select Components")
Send("{ENTER}")
WinWaitActive("Install Complete")
Send("{TAB}{TAB}{SPACE}{ENTER}")
WinWaitClose("Install Complete")
; Finished!
#11
Posted 23 September 2004 - 09:22 AM
use the -install-global-extension command and it workw 100%.
(now if they could convert more than 2 of the 12 or so extensions I use so they work with v1, I'd be happy!)
#12
Posted 23 September 2004 - 01:08 PM
To tell you the truth, I didn't know those functions existed! I am new to the AUTOIT language, and that was only my second script.
I will definitely try and integrate your recommendations into my own script though.
Thank you!
Yeah, the help file is a joke, but its definitely better than nothing.
That code definitely looks a lot more flexible than what I have, thats for sure!
#13
Posted 23 September 2004 - 07:33 PM
i used the following .au3 file and it works great
Opt ("SendKeyDelay", 1)
Opt ("WinTitleMatchMode", 2)
run("setup.exe")
; Welcome Screen
WinWaitActive("Firefox Setup")
sleep (2500)
Send("{ENTER}")
; License Agreement
WinWaitActive("Software License Agreement")
sleep (250)
Send("{UP}{ENTER}")
; Installation Type
WinWaitActive("Setup Type")
sleep (250)
Send("{down}{ENTER}")
; Install folder
WinWaitActive("Install Folder")
sleep (250)
Send("{ENTER}")
; Components
WinWaitActive("Select Components")
sleep (250)
Send("{down}{space}{ENTER}")
; shortcuts
WinWaitActive("Set Up Shortcuts")
sleep (250)
Send("{space}{down}{space}{enter}")
;summary
WinWaitActive("Select Components")
sleep (250)
Send("{ENTER}")
;Install complete
WinWaitActive("Install Complete")
Send("{space}{enter}")
; Exit Application
WinClose("Firefox")
Exit
It's the custom install without dekstop icon and quality feedback agent
Attached File(s)
-
install.exe (86.78K)
Number of downloads: 39
#14
Posted 23 September 2004 - 11:50 PM
So far its worked great, but I do plan on eliminating a script that is completely dependent on the extentions I already have.
If for some reason I have a funky version of Firefox and you should normally need to quit firefox after 20 extentions, you could always (I could be wrong, i don't have much experience with AUTOIT scripts, my ideas here are based on my knowledge of C++) make a loop that runs till 20, exits firefox, runs firefox again, and statrs up where it left off.
PSEUDOCODE EXAMPLE.
FOR (INT X=0, INT Y=0; X IS NOT EQUAL TO WHEN AUTOIT SAYS END.; X BECOMES X+1, Y BECOMES Y+1)
{
IF (Y IS LESS THAN OR EQUAL TO 20)
THEN INSTALL FIREFOX EXTENTIONS
ELSE IF (Y IS EQUAL 20)
CLOSE FIREFOX
Y GETS RESET TO 0
OPEN FIREFOX
}
AND THEN IT JUST CONTINUES ON ITS MERRY WAY.
Sorry if thats hard to read, it won't let me tab everything out like i wanted. I tried to color code it. I also tried to make it as simple to understand as possible. I tried to take out my C++ jargon.
Everything within the {brackets} is controlled by the FOR loop
The BLUE shows everything in the IF
The GREEN shows everything in the ELSE IF
I haven't had the time to study up on the AUTOIT scripts enough to know if this is actually possible, but it seems like a relatively straight foward concept
All this only matters if indeed, you actually can only install 20 at a time, which I don't beleive is true.
As for the feedback window, well, you have everything encapsulated within a while loop, correct? Well, simply simulate the user hitting ENTER everytime the while loop starts. Firefox doesn't seem to flip out when you hit ENTER when there is no dialog box, so it should work fine, and should eliminate the box when it shows up.
I haven't actually had this problem with the box, so I could be mistaken though.
#15
Posted 25 September 2004 - 12:02 PM
At least i think this should work without a problem.
$OEM$\$Docs\All Users\Start Menu\Programs\Startup
section of the unattended install disk. That way it'll run the first time the user logs on, and at the end of the BAT file, simply make it delete itself. That way it wo'nt run anymore.
#16
Posted 26 September 2004 - 12:16 PM
#17
Posted 02 October 2004 - 09:33 AM
SiMoNsAyS, on Sep 22 2004, 06:09 PM, said:
the guide i tried to do it's language and drive independant
This is not true (any longer). While the initial version, had the issue you speak of, It has long-since been fixed. It does not matter where your userprofile or firefox installation exists. There are no more hard-coded paths within any of tools. the %USERPROFILE% and %APPDATA% environment variables are used for all paths. I have had numerous other admins veryify and test in other languages and configurations.
Thanks,
Bob Templeton
#18
Posted 02 October 2004 - 09:37 AM
#19
Posted 02 October 2004 - 08:12 PM
#20
Posted 03 October 2004 - 01:48 AM
after decompressing the firefox installer (using the latest WinRAR or 7Zip)... i edited config.ini
the changes i made with config.ini were...
line 9:
from Run Mode=Normal
to Run Mode=Silent
line 250 (Dialog Select Install Path):
from Show Dialog=TRUE
to Show Dialog=FALSE
line 289 (Windows Integration-Item0):
from CheckBoxState=TRUE
to CheckBoxState=FALSE
line 294 (Windows Integration-Item1):
from CheckBoxState=TRUE
to CheckBoxState=FALSE
line 299 (Windows Integration-Item2):
from CheckBoxState=TRUE
to CheckBoxState=FALSE
line 370 (Dialog Downloading):
from Show Dialog=TRUE
to Show Dialog=FALSE
however, even with those modifications, the last dialog still appears and prompts me to launch firefox... a modification of the associated dialog wasn't enough to fix it (it hungs up the installation).
so what i did was to add a simple autoit script to automate that part only. here's the autoit script i did (uhmm, well, got it from a user called - Author: Adam Mujaj (m00j@optusnet.com.au)).
Run, setup.exe
WinWait, Install Complete
Send, {SPACE}{TAB}{ENTER}
WinHide, Install Complete
denied:
Exit
[ADLIB]



Help


Back to top









