Help - Search - Members - Calendar
Full Version: Opera 8.5 Switchless Silent Installer + several plugins
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
Shoshoni
I've been putting down some work and this is what came out:

This package includes the following:

QuickTime Support,

Shockwave Flash 8,

Adobe Reader,

Java Applet support.


----- Browser Config -------

I made a few customisations to to the default settings:

- Browser Cache will be deleted upon exit.

- Homepage = Google

- Open page in new tab option is now disabled.
If you open another instance of Opera it will open in the same window.

I've changed a few more things but what's mentioned above is pretty the main thing.

Download Link

Have Fun! thumbup.gif

EDIT: See post below for another download, That package enables you to make your own.
Solid as a rock
sounds great!! thumbup.gif

i dont know if this is unattended possible but could there a button added for people to switch to IE (there are some sites which dont work right with opera 8.5)

http://nontroppo.org/wiki/CustomButtons#webdev
Crash&Burn
What is open page in new tab option?
Do you mean "Open in new page" or "Open in new window"
Cuz I certainly use open in new page all the time.
And I also start up a new window to organize tabs at times as well.
Solid as a rock
i think the topicstarter could better write a howto unattended install opera 8.5 with al his stuff, so everyone could do to what he/she want with unattended opera. yes.gif
Shoshoni
It's like your clicking on a link. Then its opened in a new tab instead of the same tab (all pages are tabs). It's a bit confusing but to put it simple:
you end up with numerous tabs.

QUOTE (SolidasRock @ Oct 28 2005, 09:22 PM) *
i think the topicstarter could better write a howto unattended install opera 8.5 with al his stuff, so everyone could do to what he/she want with unattended opera. yes.gif


Thanks for the tip! I'll check if if I can work something out!
Crash&Burn
@ ShoSHoni
Ok but that isn't necessarily a bad thing, and when you want to "force" a link to open in the same tab, all you have to do is rightclick & choose "Open"
Generally sites will force a new page, when they link to something off site, and if you set your preferences to have all new tabs open after the current tab, instead of [last tab], that works just fine as well.
Anyways, latahs.
Shoshoni
How-to guide

NOTE: I do not have any programming experience at all, but I have tried it anyway because I'm here to learn! I've created a batch file and a AutoIt file for the opera setup.

Here's the how-to guide:

At the end of this post there's a download link for you. The zip package contains the following when extracted:





The Plug-ins

I've spotted some nice little info on the Opera website:

QUOTE
These instructions were written for Opera for Windows.
General plug-in installation instructions
Download the plug-in and start the installation program
If given a choice, install the plug-in for use with Netscape, and not Internet Explorer
Follow the on-screen instructions and complete the installation of the plug-in
Copy the plug-in's ".dll" file(s) to Opera's "Plugins" directory
Go to Opera's Preferences menu and choose Plugins
Press the "Find plugins" button or close Opera and open it again to automatically find the plug-in


Okay you can get your .dll's from several places. I got the most of them out of my Firefox plugins folder!
Place these in the program\plugins folder.

Opera Skins

Put the skins you downloaded inside the profile\Skin folder. Make sure they're zip files.

Custom settings

Install Opera for a single user (very important!!) and configure it the way you want it (including skins, bookmarks, plugins and settings).

Next thing, take the opera6.ini and opera6.adr files from the C:\Program Files\Opera\program\profile directory and place them inside the profile folder.

Installing Opera silent

Here's an AutoIT Script: (change the 'Icon creation' the way you want it to)

CODE
; Launch app.
Run("ow32enen850.exe")
;
; hide windows
AutoItSetOption ( "WinDetectHiddenText", 1 )
;
; Initial Setup Screen
WinWaitActive("Opera 8.5", "Welcome")
WinSetState("Opera 8.5", "Welcome", @SW_HIDE)
Send("!n")

; License
WinWaitActive("Opera 8.5", "Software License")
WinSetState("Opera 8.5", "Software License", @SW_HIDE)
Send("!a")

; Directory Install
WinWaitActive("Opera 8.5", "Select Installation")
WinSetState("Opera 8.5", "Select Installation", @SW_HIDE)
Send("!i")
Send("!n")

; Icon Creation
;------------------------------------------------- Remove the ";" below to disable the option.
WinWaitActive("Opera 8.5", "Icon Creation")
WinSetState("Opera 8.5", "Icon Creation", @SW_HIDE)
;Send("!s") Adds icons to the start menu  
;Send("!d") Adds desktop icon
;Send("!q") Adds Quick Launch icon
Send("!n")

; Installation
WinSetState("Opera 8.5", "Ready to", @SW_HIDE)
WinWaitActive("Opera 8.5", "Ready to", @SW_HIDE)
Send("!i")

; Quick start
WinWaitActive("Opera 8.5", "Installation Completed!")
WinSetState("Opera 8.5", "Installation Completed!", @SW_HIDE)
Send("!r")
Sleep(1000)
Send("!f")

You might need to modify the window captions to your language but that shouldn't be much of a problem.

When you're finished, use the 'aut2exe' to compile your script. Name the file: 'ops.exe' When your done, delete the compiler and your .au3 file.

_______________________________________________

If you wish you can wrap it up again and make an sfx or leave it as it is now. Make sure that you launch the install.cmd no matter what method you use. Please, Please, post corrections / suggestions if errors come up. I'm not experienced but on this forum people are. I have other things on my mind for the coming weeks but I'm able to read your reactions.

Download

Have Fun!
mzar720
thanks Shoshoni thumbup.gif for this nice guide
Shoshoni
Thank you for your reply! Does it work?
Solid as a rock
QUOTE (Shoshoni @ Oct 29 2005, 03:51 PM) *
How-to guide

Of you wish you can wrap it up again and make an sfx or leave it as it is now. Make sure that you launch the install.cmd no matter what method you use. Please, Please, post corrections / suggestions if errors come up. I'm not experienced but on this forum people are. I have other things on my mind for the coming weeks but I'm able to read your reactions.

Download

Have Fun!

It is not clear enough for me, what must be written in the SFX installer (comment)? Also you have included Aut2Exe.exe, it dont work, get a error: "unable to read in AutoIt stub file (AutoItSC.bin).".

But i have already install AutoIt on my pc, so this is not a great problem. you write also something about plugins and skins. i believe there were skins and plugins in the rar packet on rapidgear but the maps are empty.

Do you know how to add a button as if inIE?
Zxian
Wouldn't it just be easier to use the silent install switch of /s rather than the autoit script? You'd have to remove the icons you didn't want, but you can do that in your install.cmd file after the installation is complete.

EDIT - After downloading and extracting the file, that's not the directory structure at all! What did you use to create the MSI file? Installsheild?

EDIT2 - You could make the package even smaller by using 7-zip. I've got it down to 3,753KB so far.
Solid as a rock
QUOTE (Zxian @ Nov 4 2005, 11:35 PM) *
Wouldn't it just be easier to use the silent install switch of /s rather than the autoit script? You'd have to remove the icons you didn't want, but you can do that in your install.cmd file after the installation is complete.

EDIT - After downloading and extracting the file, that's not the directory structure at all! What did you use to create the MSI file? Installsheild?

EDIT2 - You could make the package even smaller by using 7-zip. I've got it down to 3,753KB so far.

if reading the comment of that package: SFX Maker Homepage: http://sm.davidcornish.com

i dont care how to install it, /s is fine too, but i want to know how to install a button of Opera silently, read my first or second post in this thread for more explaining yes.gif
Zxian
QUOTE (SolidasRock @ Nov 4 2005, 03:43 PM) *
if reading the comment of that package: SFX Maker Homepage: http://sm.davidcornish.com

i dont care how to install it, /s is fine too, but i want to know how to install a button of Opera silently, read my first or second post in this thread for more explaining yes.gif


I had a look at that program... it's basically just a nice front end for keyotime's guide (using Zip instead of 7zip). Doesn't really explain how the directory listing in the installer is different from Shoshoni's guide.

As for the toolbar, look at the "standard toolbar.ini" file in the /profile/toolbar folder. Here's an example of my standard toolbar file.

CODE
Opera Preferences version 2.0
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding

[INFO]
NAME=Opera Standard (Modified)

[Pagebar.alignment]
Alignment=4
Auto alignment=0
Old visible alignment=4
Collapse=1

[Personalbar.alignment]
Alignment=0
Auto alignment=0
Old visible alignment=2
Collapse=1

[Status Toolbar.alignment]
Alignment=0
Auto alignment=0
Old visible alignment=4
Collapse=1

[Site Navigation Toolbar.alignment]
Alignment=0
Auto alignment=0
Old visible alignment=2
Collapse=1

[Document View Toolbar.alignment]
Alignment=0
Auto alignment=0
Old visible alignment=2
Collapse=1

[Start toolbar.alignment]
Alignment=0
Auto alignment=0
Old visible alignment=2
Collapse=1

[Customize Toolbar Custom.content]
Button0, "Bookmarks list dropdown button"="Show popup menu, "Browser Bookmarks Menu", , "Bookmarks", "Go To Homepage""

[Document Toolbar.style]
Button type=2
Button style=0
Large Images=0
Wrapping=0
Maximum Button Width=0
Grow To Fit=0

[Document Toolbar.content]
Button0, 69240="Rewind + Show hidden popup menu, "Internal Rewind History""
Button1, 21209="Back + Show hidden popup menu, "Internal Back History""
Button2, 21235=Stop | Reload, , , 21210
Button3, 21211="Forward + Show hidden popup menu, "Internal Forward History""
Button4, 67675="Fast Forward + Show hidden popup menu, "Internal Fast Forward History""
Address5

[Browser Toolbar.content]
Button0, 21204=Open document
Button1, 21205=Save document
Button2, 21206=Print document
Button3, 21208=Find
Button4, 21212=Go to homepage
Button5, 69682="Set alignment, "hotlist", 6, , "Panels" | Set alignment, "hotlist", , , "Panels""
Button6, 21215=Tile vertically
Button7, 21216=Cascade
QuickButton8, 67676=Start listening | Stop listening, , , 67677 | Stop speaking, , , 67678
Button9, "Save as CHM"="Execute program, "savepage.exe", "%u", "Save" & Save document with images as, , , , "Save document as""

[Browser Toolbar.alignment]
Alignment=0
Auto alignment=0
Old visible alignment=2
Collapse=1

[Hotlist Panel Selector.content]
Bookmarks
Transfers, 1

[Hotlist.alignment]
Alignment=0
Auto alignment=0
Old visible alignment=1
Collapse=1


I think the key part to look at is Customize Toolbar Custom.content. You should be able to add your button there (or just copy/paste your current toolbar.ini file here).
Solid as a rock
QUOTE (Zxian @ Nov 5 2005, 09:17 AM) *
QUOTE (SolidasRock @ Nov 4 2005, 03:43 PM) *
if reading the comment of that package: SFX Maker Homepage: http://sm.davidcornish.com

i dont care how to install it, /s is fine too, but i want to know how to install a button of Opera silently, read my first or second post in this thread for more explaining yes.gif


I had a look at that program... it's basically just a nice front end for keyotime's guide (using Zip instead of 7zip). Doesn't really explain how the directory listing in the installer is different from Shoshoni's guide.

As for the toolbar, look at the "standard toolbar.ini" file in the /profile/toolbar folder. Here's an example of my standard toolbar file.

......

I think the key part to look at is Customize Toolbar Custom.content. You should be able to add your button there (or just copy/paste your current toolbar.ini file here).

No it dont exist there sad.gif

i let you know if i find it...
Zxian
/defaults/standard_toolbar.ini

I haven't tested it, but does that help maybe?
Solid as a rock
QUOTE (Zxian @ Nov 6 2005, 10:44 AM) *
/defaults/standard_toolbar.ini

I haven't tested it, but does that help maybe?

i am sorry, i had to be more clear, the file excist but there are no lines about a button which open Internet Explorer or Iexplorer.exe or something like that. it must be another txt file
Zxian
If you open Opera, and go to Help->About, it wil tell you the path to your profile. If you browse around there, you'll find your standard toolbar file. If you've got the right-click option to open in IE, then it should be there.

If you copy this into the defaults directory in the installer, it should apply it to the default Opera profile.
Solid as a rock
QUOTE (Zxian @ Nov 7 2005, 01:16 AM) *
If you open Opera, and go to Help->About, it wil tell you the path to your profile. If you browse around there, you'll find your standard toolbar file. If you've got the right-click option to open in IE, then it should be there.

i have searched in ALL *.ini from opera6, there is no word written about Explorer. i am tired and wont spend any time in it. i give it up. ok?
Shoshoni
The reason why I chose for AutoIT was that people could modify the icons part. I wanted to keep the installer totally silent.
QUOTE
But i have already install AutoIt on my pc, so this is not a great problem. you write also something about plugins and skins. i believe there were skins and plugins in the rar packet on rapidgear but the maps are empty.
You have to download your skins and plugins manually and put them there. For Firefox users I suggested that they should copy the contents of their plugin folder to that of Opera.

QUOTE (Zxian @ Nov 4 2005, 11:35 PM) *
Wouldn't it just be easier to use the silent install switch of /s rather than the autoit script? You'd have to remove the icons you didn't want, but you can do that in your install.cmd file after the installation is complete.


Yeah, missed that one. Thanks! biggrin.gif Oh and about the 7z, I couldn't get it to work at the time. Now I know how it works.
Zxian
QUOTE (SolidasRock @ Nov 6 2005, 05:18 PM) *
i have searched in ALL *.ini from opera6, there is no word written about Explorer. i am tired and wont spend any time in it. i give it up. ok?

Did you follow Shoshoni's guide to the letter? It works perfectly as far as I can tell. The only part that I did myself was take my standard_toolbar.ini file and place it in the defaults folder in the installer package. I just installed it in VMWare, and it works like a charm. smile.gif

If you've got your toolbars working, simply drop them into the installer directory and recompress the lot with WinRAR or 7-zip.
Shoshoni
Look what I've spotted: Firefox User Agent Switcher Although I DO think that this can be done with opera after some tinkering....
Zxian
I found a couple of extra button definitions.

CODE
[Customize Toolbar Custom.content]
Button14, "InIE"="Execute program, "iexplore", "%u", "InIE", "Ie""
Button15, "id"="Show popup menu, "Identify As Menu", , "id""
Button16, "id-smileys"="Identify as, , , "Opera", "Smiley Happy" > Identify as, 1, , "Mozilla", "Smiley Unhappy" > Identify as, 4, , "IE", "Smiley Cry""


Add those to your toolbar.ini file. I think the closest to the Firefox example would be my Button15.
Solid as a rock
QUOTE (Zxian @ Nov 7 2005, 11:38 PM) *
I found a couple of extra button definitions.

CODE
[Customize Toolbar Custom.content]
Button14, "InIE"="Execute program, "iexplore", "%u", "InIE", "Ie""
Button15, "id"="Show popup menu, "Identify As Menu", , "id""
Button16, "id-smileys"="Identify as, , , "Opera", "Smiley Happy" > Identify as, 1, , "Mozilla", "Smiley Unhappy" > Identify as, 4, , "IE", "Smiley Cry""


Add those to your toolbar.ini file. I think the closest to the Firefox example would be my Button15.

the button exist and it is working perfect, i have looked AGAIN in standard_toolbar.ini and i have found the customize toolbar browser.content and again, there is no line written with InIE or explorer or Ieplorer. you see my example if you believe i need glasses. Maybe my opera8.5 is f*kked up, i dont know. i have searched too at *toolbar.ini to be sure there is no copy. no hits except two same files called standard_toolbar.ini, one is in C:\program files\Opera\defaults the other in C:\program files\Opera\uninst\backup

CODE
[Customize Toolbar Browser.content]
Button, 69240=Rewind + Show hidden popup menu, "Internal Rewind History"
Button, 21209=Back + Show hidden popup menu, "Internal Back History"
Button, 21211=Forward + Show hidden popup menu, "Internal Forward History"
Button, 67675=Fast Forward + Show hidden popup menu, "Internal Fast Forward History"
Button1, 69240=Rewind + Show popup menu, "Internal Rewind History"
Button2, 21209=Back + Show popup menu, "Internal Back History"
Button3, 21211=Forward + Show popup menu, "Internal Forward History"
Button4, 67675=Fast Forward + Show popup menu, "Internal Fast Forward History"
Button2, 21235=Stop | Reload, , , 21210
Button3, 21212=Go to homepage
Button4, 69682="Set alignment, "hotlist", 6,,"Panels" | Set alignment, "hotlist", 0,,"Panels""
Button5, 67007=Wand
Button6, 67499=New page
Button8, 21204=Open document
Button9, 21205=Save document
Button10,21206=Print document
Button11, 21208=Find
Platform Windows-Unix-QNX, Button12, 21215=Tile vertically
Platform Windows-Unix-QNX, Button13, 21216=Cascade
Button14, 67496=Enter fullscreen | Leave fullscreen
Feature Voice, QuickButton15, 67676=Start listening | Stop listening,,,67677 | Stop speaking,,,67678
Button15, 69384="Show popup menu, "Closed Pages Menu",,,"Trash""
Button16, 21193=New page,1
JasonGW
this topic needs a bump, it took me forever to find it!

Jason
matthewk
I managed to extract the exe to add in changes I wanted to make. How do I repackage it using 7zip? my config.txt needs to have opera.msi /quiet /norestart ? Thanks in advance
Shoshoni
just /qb i thought.

sorry, a bit old
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.