MSFN Forum: Mozilla Firefox PR 1.0 - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Mozilla Firefox PR 1.0 Rate Topic: -----

#1 User is offline   troycicle 

  • Member
  • PipPip
  • Group: Members
  • Posts: 162
  • Joined: 27-August 04

Posted 22 September 2004 - 04:07 PM

I know there's not a silent switch for Firefox. That's why I've decided to make a script. If anyone already has one made, please post it. I don't want the browser to launch after installation. If no body posts a script soon, I should have mine done.


#2 User is offline   Rohaq 

  • Group: Members
  • Posts: 2
  • Joined: 22-September 04

Posted 22 September 2004 - 04:11 PM

I would also appreciate this very much :)

#3 User is offline   artbio 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 11-June 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 22 September 2004 - 04:25 PM

Search the forum.
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 User is offline   RayOK 

  • Member
  • PipPip
  • Group: Members
  • Posts: 152
  • Joined: 21-September 03

Posted 22 September 2004 - 04:52 PM

Im also trying to tackle Firefox silently and getting it the way I want. Reading and deciding between these two methods:

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 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 22 September 2004 - 05:18 PM

i will highly recommend my method (it's not trully my method it's just a resume of tips and tricks). try using mozilla installer together with jdoe's vbs scripts... but i won't recommend firefox PreRelease, it has a lot, and i mean a LOT of bugs. wait for final version (10/11/04)

ps: the link it's at my signature

#6 User is offline   Rohaq 

  • Group: Members
  • Posts: 2
  • Joined: 22-September 04

Posted 22 September 2004 - 06:05 PM

RayOK, on Sep 22 2004, 04:52 PM, said:

Im also trying to tackle Firefox silently and getting it the way I want. Reading and deciding between these two methods:

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 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 22 September 2004 - 06:09 PM

@Rohaq of course it works perfectly but only if your profile it's in C:\ and if you are using the english version of XP so your %APPDATA% looks like \Application Data\ and not like mine \Datos de programa\ ;)
the guide i tried to do it's language and drive independant :P

#8 User is offline   tjhart85 

  • Member
  • PipPip
  • Group: Members
  • Posts: 193
  • Joined: 14-September 04

Posted 22 September 2004 - 08:59 PM

I created one using "AUTOIT v3", excellent program.
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)



#9 User is offline   dcrowder32 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 13-September 04

Posted 22 September 2004 - 09:41 PM

Here is my script from AutoIT...

;
; 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!

#10 User is offline   Nologic 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 461
  • Joined: 07-October 03

Posted 23 September 2004 - 08:24 AM

az

#11 User is offline   CoffeeFiend 

  • Coffee Aficionado
  • Group: Super Moderator
  • Posts: 5,031
  • Joined: 14-July 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 23 September 2004 - 09:22 AM

Why bother with complex autoit scripts when you can install the extensions from the command line instead? (I really think something could go wrong with autoit here)

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 User is offline   tjhart85 

  • Member
  • PipPip
  • Group: Members
  • Posts: 193
  • Joined: 14-September 04

Posted 23 September 2004 - 01:08 PM

@Nologic
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 User is offline   RoXoN 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 23-September 04

Posted 23 September 2004 - 07:33 PM

hello i'm new here :)

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)



#14 User is offline   tjhart85 

  • Member
  • PipPip
  • Group: Members
  • Posts: 193
  • Joined: 14-September 04

Posted 23 September 2004 - 11:50 PM

I don't beleive that you can only install 20 at a time. My really long AU3 file installs 24 without any problems.

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 User is offline   tjhart85 

  • Member
  • PipPip
  • Group: Members
  • Posts: 193
  • Joined: 14-September 04

Posted 25 September 2004 - 12:02 PM

You can do it relatively easily actually.

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 User is offline   troycicle 

  • Member
  • PipPip
  • Group: Members
  • Posts: 162
  • Joined: 27-August 04

Posted 26 September 2004 - 12:16 PM

When you make your script, make sure you don't call it Firefox.exe. I called it that, and finally found out the reason I was getting an attention windows saying Firefox is running in the background was because the process it was running was Firefox.exe. This process is the same when you run Firefox.

#17 User is offline   T3chDad 

  • Group: Members
  • Posts: 2
  • Joined: 02-October 04

Posted 02 October 2004 - 09:33 AM

SiMoNsAyS, on Sep 22 2004, 06:09 PM, said:

@Rohaq of course it works perfectly but only if your profile it's in C:\ and if you are using the english version of XP so your %APPDATA% looks like \Application Data\ and not like mine \Datos de programa\ ;)
the guide i tried to do it's language and drive independant :P

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 User is offline   toe_cutter 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 30-August 04

Posted 02 October 2004 - 09:37 AM

Check this out aswell

http://www.msfn.org/board/index.php?showtopic=26240&st=30

#19 User is offline   1chaoticadult 

  • A Part of a Dying Breed...
  • PipPipPipPip
  • Group: Members
  • Posts: 669
  • Joined: 31-August 03

Posted 02 October 2004 - 08:12 PM

I just made an inno setup for firefox with reg entries. That solved my problem with this. Good effort by everyone to obtain a good method for installing firefox.

#20 User is offline   edmoncu 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 28-April 04

Posted 03 October 2004 - 01:48 AM

what i did is this...
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]


Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy