The new Opera Installer
By Julien Picalausajulienp. Friday, October 22, 2010 1:44:16 PM
As most of you probably noticed by now, the windows version of the alpha released yesterday featured a brand new installer. I will provide you with an introduction to this new installer and explain some of the key differences with our previous installers.
But first of all, I'm happy to announce that as of yesterday, this new installer will be the one and only Opera installer. The classic installer and the MSI installer are discontinued, with the exception of MSI autoupdate packages that will still be provided for a while to make people able to update from versions prior to 11.
To put it simply, those of you who dislike MSI won't have to deal with it anymore. For those of you who used the classic installer, we will make sure that you don't miss anything with the new installer.
How it works, in short
One of the main issues we had with both the classic and MSI installer was that, since they were 3rd party tools, we didn't have complete control over their workings, which made it difficult or even impossible to solve some problems.
As a consequence, we decided to write this new installer entirely from the beginning, which now allows us to have integral control over what it does and also allows us to optimize its speed. To make the task faster and easier, the installer code is embedded in the browser code, which allows us to reuse code we already use in the browser.
We are still left with one third-party tool, 7-zip, which we need to bundle the opera package in a single self-extractable file, which is the file you download. When it is run, it simply unpacks everything in a temporary folder and starts up opera in installer mode. For those of you with 7-zip installed, you can actually just extract opera wherever you want and run it.
The user interface
The new installer has a user interface that is functionally similar to the one the MSI provided, with a few differences.
When starting the installer, you should have a progress bar going on while the content of the archive is extracted, then the first page of the wizard should be displayed, from which you have the opportunity to click options before continuing. Once you approve the installation, another progress bar will be shown while the installation is performed. Once that progress bar is filled, the installer wizard will close down and the installed Opera will be launched.
Also, if you happen to install to a folder where a previous version of Opera was installed with either the classic or the MSI installer, the new installer will first trigger the uninstallation of the old version before installing in its place.
The content of the Options page is what you've been used to with the previous installers, with the exception of the "Install For" drop down.
The two first options in that drop down: "All users" and "Just me" have the same meaning as they do in most installers. Both of them will install opera normally and "All Users" will set up shortcuts and file associations for all users on the system while "Just Me" will create shortcuts and set file associations only for the current running user. Also, the "Just Me" option allows you to install without administrator privileges if you actually choose an installation folder you have write access to.
The last option: "External device" is meant for installing on USB keys and similar devices. It works by only copying the files to the destination without touching anything else on the system. It also sets up opera to read its profile from the installation folder. Because of this, you can also use this option to test an opera build without making any change to your system.
Also, this installer does not and will not offer a "Single User" option from the user interface, since it makes little sense to use on Windows Vista or 7 and can actually cause trouble. The closest you can get to it is by selecting "External device". If you really need this setting, you can still get to it by installing from the command line
Command line options
When launching the installer from the command line, you have a number of options available:
- /installfolder <folder> : Where to install. This will be reflected in the wizard.
- /silent : Skips the wizard and installs directly, using the options set on the command line
The following options are currently only working in Silent mode:
- /copyonly : Only copies the files to the installation folder and does *nothing* else. All other options are ignored, except /singleprofile
- /allusers : If used, shortcuts will be created in the common profile folders and registry changes will be done on HKEY_LOCAL_MACHINE (system wide). Otherwise, shortcuts are created in the user profile folders and registry changes will only touch HKEY_CURRENT_USER.
- /singleprofile : Writes operaprefs_default.ini to specify that the profile folder is to be created/found under the installation folder (previously called single user).
- /setdefaultbrowser : Sets opera as the default browser once the installation has completed.
- /startmenushortcut : Don't create a start menu shortcut.
- /desktopshortcut : Don't create a desktop shortcut.
- /quicklaunchshortcut : Don't create a quick launch shortcut.
- /launchopera : Launches Opera once the installation has completed.
UPDATE: Now all the switches of this second list take 0 or 1 as argument. So, f.ex, use /silent /singleprofile 1 /launchopera 0 for installing silently with single profile and without launching opera once the installation is done
UPDATE 2: I forgot to mention in the previous update that the shortcut options have lost their "no" prefix and (obviously) did the opposite of what they did before. Shortcuts are still created if you don't specify the options
With this, I've covered most of what there is to know about the new installer. There are of course a few bugs and issues left to iron out, but ultimately, we hope it will make it feel easier, faster and safer for everyone to get Opera installed. All feedback is of course welcome and appreciated.
Enjoy!



1 2 3 4 Next »
smalsmal82 # Friday, October 22, 2010 3:43:35 PM
element119 # Friday, October 22, 2010 3:52:23 PM
Tamil # Friday, October 22, 2010 3:53:53 PM
Originally posted by julienp:
Or with WinRAR or Universal Extractor.In install for help, external device help is incomplete.
netlord # Friday, October 22, 2010 4:01:13 PM
nice
Topimrkukov # Friday, October 22, 2010 4:05:56 PM
Lukaslksd # Friday, October 22, 2010 4:12:33 PM
The new installer is nice, much similar to msi. I'm glad there's still an upgrade option.
bartgzn # Friday, October 22, 2010 4:23:05 PM
Originally posted by mrkukov:
Well it didn't, it extracted and installed in some Opera-11 folder without asking and messed up most registry settings that even Total Uninstall could not fully repair. Philosophically speaking there's always a first for everything.Michelbudnyatski # Friday, October 22, 2010 4:30:09 PM
Also big, red Opera label is too smooth.
Zalex ;-) Zalex108 # Friday, October 22, 2010 4:34:28 PM
Julien Picalausajulienp # Friday, October 22, 2010 4:36:00 PM
Those options are disabled if the installation folder is set to some folder where opera has already been installed with the new installer (because it assumes you want to update and those options can't be changed when updating). If you type a different folder nae, it should let you change that option again.
ClashCityRockerclashcityrocker # Friday, October 22, 2010 4:37:39 PM
Matheusnom4d3br # Friday, October 22, 2010 4:39:31 PM
mops # Friday, October 22, 2010 4:42:57 PM
Ah .. I forgot .. it's only for the Windows people
Pallab DeIndyan # Friday, October 22, 2010 4:46:43 PM
Originally posted by desktopteam:
Not too happy about this. Ah well, I will have to stick to manually editing the .ini file.
Gereford # Friday, October 22, 2010 5:06:35 PM
MetalRaise # Friday, October 22, 2010 5:08:13 PM
Originally posted by Indyan:
You can do it using the command line options.
marbross # Friday, October 22, 2010 5:12:26 PM
vipin kumarmvk6 # Friday, October 22, 2010 5:16:48 PM
eilegz # Friday, October 22, 2010 5:22:13 PM
Sebastiánslalaurette # Friday, October 22, 2010 5:34:57 PM
thartist # Friday, October 22, 2010 5:36:35 PM
Opera had to be the one who did it! Plus extensions at last!
I kneel before you!
jadn # Friday, October 22, 2010 5:40:55 PM
PCOL # Friday, October 22, 2010 5:43:42 PM
Thanx :]
Irontiger # Friday, October 22, 2010 5:47:38 PM
One Question: Where is the difference between "single user" and "external device"?
Greetings
IT
sTeeVeboY # Friday, October 22, 2010 5:52:28 PM
Keep up that very good work and bring out an Opera 11 final that will just blow everybody away!
Gousti FruitGoustiFruit # Friday, October 22, 2010 5:55:07 PM
Second time I choose Options to upgrade my previous 10.70 installation and it worked perfectly, as soon as I selected the folder containing v10.70 the installer switched to "upgrade" mode by itself. Nice and clean.
Can we expect a similar automatic updater, silent and fast ?
OME # Friday, October 22, 2010 5:56:41 PM
I don't know yet if this is the case, but I hope that when you upgrade an older version (especially automatic updates) it will remember if the user had previously unchecked desktop and quick launch icons and not add those icons on every upgrade.
Hopefully it's also not adding a new entry for every new version in "add/remove programs" after auto update, like the MSI installer tends to do.
Cristiancristianer # Friday, October 22, 2010 6:12:53 PM
lovelyopera # Friday, October 22, 2010 6:13:28 PM
- Why isn't there an option (checkbox) to prevent the installer from auto-launching Opera after the installation is complete? I really miss that option (just install and quit).
- How can I make Opera work the old way (run as a single user, but create the profile in "C:\Users\lovelyopera\AppData\Local\VirtualStore\Program Files\Opera\profile")?
The 'external device' mode does not allow you to run Opera as a normal user. You're forced to run it as administrator (and it writes the data to the same folder where Opera is installed instead of the VirtualStore).
WillYum # Friday, October 22, 2010 6:16:46 PM
Pierrera-mon # Friday, October 22, 2010 6:27:41 PM
Just two questions : lng file contain all installer items. Is an installed opera.exe able to create its install package back ?
Are the new items -36163121="Make a package",810425763="Open package", 858265736="Reload package" related to new installer ?
Unofficial french.lng available here : http://opera-fr.com/pierre/lng/10.x/french.lng
@+
--
Pierre
StelianLZ2SDC # Friday, October 22, 2010 6:27:42 PM
I have a suggestion, but I do not know whether it is possible to happen?
It would be nice to have an option "Delete user directory" or "Install a clean" (something) This will be an option where the installer deleted user settings from previous versions. This will help the less experienced users to deal with problems caused by long new upgrade on older versions of Opera.
FransFrenzie # Friday, October 22, 2010 6:33:43 PM
Rijk # Friday, October 22, 2010 7:16:23 PM
Originally posted by ra-mon:
Actually, yes. Start the opera.exe with the command line option /install (And now you can guess how to start the uninstaller...)Originally posted by lovelyopera:
You mean between 'Just me' and 'External Device'? To quote the blog post:""Just Me" will create shortcuts and set file associations only for the current running user".
External Device: "only copying the files to the destination without touching anything else on the system"
The old option in the Classic installer "use the same profile for all users" is NOT available from the installer interface. If you really want that, you can start the installer with command line options as explained in the blog post. Or edit operaprefs_default.ini manually.
flatter # Friday, October 22, 2010 7:28:27 PM
DoveD555 # Friday, October 22, 2010 7:32:32 PM
It would be nice to see choose profile when starting, listing of profiles etc.
Thank you in advance.
would be great to use subfolders in default "profile" in local dir , or several local dirs, because one local dir isn't enough...
StelianLZ2SDC # Friday, October 22, 2010 7:32:48 PM
Originally posted by flatter:
Yes, of course it can! Read the article.
Bruno Casanobrunitoc # Friday, October 22, 2010 7:40:39 PM
WOW
AgentMC # Friday, October 22, 2010 7:42:57 PM
But one issue: I've some widgets that lock opera.dll file. Installer (looked like) was trying to unlock it for some time, then said it failed, and the only option was to end an installation. That's not good because:
1) It was _just_ a file operation. The messagebox should have known from DOS times "Abort-Retry-Ignore" and maybe Cancel options.
2) As you're writing an _installer_ and as it's even a litle bit more complex than SFX-archive (in fact, it's much more) — please be so glad and provide normal Cancel routine which could restore the state of system EXACTLY as it was before installer was launched.
Irontiger # Friday, October 22, 2010 8:00:23 PM
Originally posted by Rijk:
Thanks. I didn't know that option.
That was my misunderstanding.
So if I want to have one profile for all I have to use "for all" in drop down or (for "the old way") use the command line.
Thanks!
mhakali # Friday, October 22, 2010 8:04:35 PM
vilpapa # Friday, October 22, 2010 8:07:14 PM
flatter # Friday, October 22, 2010 8:21:39 PM
S> Yes, of course it can! Read the article.
I think you didn't understand the question.
For example, I have opera 10.70.
How can I install opera 11 for use existing 10.70 profile and launch both opera 10.70 and opera 11 with the same profile.
firefox has command line option -p <profile>
KHH # Friday, October 22, 2010 8:48:27 PM
When I tried uninstalling it crashed about halfway through, along with two other programs on my computer ("Soluto Anti-Frustration Software" and "Catalyst Control Center", the last with the message "Host application has stopped working").
I've got Windows 7 x64 and had Opera 11 alpha installed in a directory separate from my main opera install, and it was installed with default settings and set to default browser. My main Opera installation was running at the time.
RachidRachidNL # Friday, October 22, 2010 9:08:09 PM
If this is only because I'm installing a snapshot/alpha, then it's ok, but for any sort of more public release, I expect an easier upgrade path.
Artur „Jurgi” JurgawkaJurgi # Friday, October 22, 2010 9:49:59 PM
Since 10.10 I have pesty problems with MSI installer. MSI sucks.
rseiler # Friday, October 22, 2010 9:52:34 PM
Originally posted by lovelyopera:
Yes, that needs to come back.
Also, one problem with the previous installer, and now this one, was that it never remembered your choices from the previous setup. Consequently, I had to uncheck things with every single upgrade. Tedious. It was especially easy to forget this since the options were/are obscured behind an Options button rather than being displayed in the main setup.
Aux # Friday, October 22, 2010 10:03:52 PM
ChrisSlamdex # Friday, October 22, 2010 10:18:40 PM
Originally posted by flatter:
Isn't mixing settings from different versions a very bad idea?Dandan7960 # Friday, October 22, 2010 10:31:52 PM