Opera Desktop Team blog header

The new Opera Installer

Hi, people.

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!

An Important piece of the puzzleNew Opera 11 snapshot: Extensions fixes, smaller winstaller, and *nix work

Comments

smalsmal82 Friday, October 22, 2010 3:43:35 PM

idea

element119 Friday, October 22, 2010 3:52:23 PM

a new post without a build? guess i'll just settle for reading then.

Tamil Friday, October 22, 2010 3:53:53 PM

Originally posted by julienp:

For those of you with 7-zip installed, you can actually just extract opera wherever you want and run it.

Or with WinRAR or Universal Extractor.

In install for help, external device help is incomplete.

netlord Friday, October 22, 2010 4:01:13 PM

oh - opera portable
nice wink

Topimrkukov Friday, October 22, 2010 4:05:56 PM

+uninstalling problem (with ccc) whistle

Lukaslksd Friday, October 22, 2010 4:12:33 PM

Hi.
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:

.....then the first page of the wizard SHOULD be displayed...

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

There is an issue — if you already installed Opera 11 on your PC, you can't install Opera 11 again, but now in USB, option to chose installation way (for all, for me, external device) is disabled.

Also big, red Opera label is too smooth.

Zalex ;-) Zalex108 Friday, October 22, 2010 4:34:28 PM

The new installer it's awesome!! bigsmile

Julien Picalausajulienp Friday, October 22, 2010 4:36:00 PM

@Michel Budnyatsky:

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

great work on the installer. we dumped installshield MSI for the same reason you describe lack of control and a mind of its own at times. we went with NSIS which does 7zip LZMA and gives you nothing, the entire install does exactly what you code it to do an no more (you even code your own uninstaller), since we moved to NSIS, we have 0 install defects, it just works.

Matheusnom4d3br Friday, October 22, 2010 4:39:31 PM

Nice work guys. Works flawless for upgrading and clean instalation.

up

mops Friday, October 22, 2010 4:42:57 PM

I loaded yesterday the new 11-alpha. But there was the same "installer" as all the versions before. No difference. On the Mac platform there is no installer.

Ah .. I forgot .. it's only for the Windows people cool

Pallab DeIndyan Friday, October 22, 2010 4:46:43 PM

Originally posted by desktopteam:

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.


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

Perfect Installer. I like it.

MetalRaise Friday, October 22, 2010 5:08:13 PM

Originally posted by Indyan:

Not too happy about this. Ah well, I will have to stick to manually editing the .ini file.


You can do it using the command line options.

marbross Friday, October 22, 2010 5:12:26 PM

The new installer is fine, nice and very fast smile and thank Julien for explanation

vipin kumarmvk6 Friday, October 22, 2010 5:16:48 PM

The new installer is fast indeed!!smile

eilegz Friday, October 22, 2010 5:22:13 PM

ohhh no please, i prefer the single user option, im using it on windows 7 and i have no issues, it makes opera portable and easy for me. is it one reason that y preferred the classic installer.

Sebastiánslalaurette Friday, October 22, 2010 5:34:57 PM

Well done! I can get rid, then, of the Opera Portable version I have installed in the USB stick I use at work? Should I try to install this version portably OVER that one, or is that guaranteed to cause problems?

thartist Friday, October 22, 2010 5:36:35 PM

I've been dreaming FOREVER with an installer that had all the options in a single screen instead of the stupid "next next next", and that also looked fine.
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

cheers Having just one installer is great and using 7zip to bundle it makes it even better. Thanks!

PCOL Friday, October 22, 2010 5:43:42 PM

At last MSI-bloat has gone away!...
Thanx :]

Irontiger Friday, October 22, 2010 5:47:38 PM

Thanks for the information. Interesting to read smile

One Question: Where is the difference between "single user" and "external device"?

Greetings

IT

sTeeVeboY Friday, October 22, 2010 5:52:28 PM

This new installer is damn fast! In a blink of an eye Opera is installed...

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

First time I tried it, without Options, it was so fast !
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

The new installer looks very good. The ability to easily extract is key for me, since I need to figure out which files have changed between each snapshot/version to know if I have to update my customized files accordingly. I normally extract the classic installer, but it never had all languages, and the MSI installer changed all the filenames internally and was a pain to extract. The new installer is easily extractable and keeps file names and folder structure intact internally, so this looks great.

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

Thank you team for the new version of Opera...we are waiting the spanish version up

lovelyopera Friday, October 22, 2010 6:13:28 PM

- I'd also like to know what is the difference between the 'single user' and 'external device' install method.

- 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

Excellent. Thank you for the info.

Pierrera-mon Friday, October 22, 2010 6:27:41 PM

Hi,
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

Thanks for the new installer! up

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

Love it! bigsmile

Rijk Friday, October 22, 2010 7:16:23 PM

Originally posted by ra-mon:

Just two questions : lng file contain all installer items. Is an installed opera.exe able to create its install package back ?

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:

I'd also like to know what is the difference between the 'single user' and 'external device' install method.

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

Can we use different installation directory and the same profile directory like firefox?

DoveD555 Friday, October 22, 2010 7:32:32 PM

Developers, would you enhance commands of operaprefs_default.ini for multiprofiling use !!!
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:

Can we use different installation directory and the same profile directory like firefox?


Yes, of course it can! Read the article. smile

Bruno Casanobrunitoc Friday, October 22, 2010 7:40:39 PM

Amazing, getting even better every day !!!!

WOW eek

AgentMC Friday, October 22, 2010 7:42:57 PM

Hey, great installer! And really very fast smile
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:

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.



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

What do you do with companies whom use WSUS servers and/or other tools to distribute installers, which usually makes it easiest for using MSI packages?

vilpapa Friday, October 22, 2010 8:07:14 PM

Good installer. Accept congratulations.

flatter Friday, October 22, 2010 8:21:39 PM

Stelian wrote:
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

Like the new installer. However, it does have some bugs.

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

Nice, great job guys! The only thing I didn't like is that to perform an upgrade on Opera, I had to manually type in the path to the current Opera installation. No user should have to do that!

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. smile

Artur „Jurgi” JurgawkaJurgi Friday, October 22, 2010 9:49:59 PM

Good news.
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:

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).


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

This new installer does not trigger UAC prompt, so it is unable to work properly in Vista/7.

ChrisSlamdex Friday, October 22, 2010 10:18:40 PM

Originally posted by flatter:

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.

Isn't mixing settings from different versions a very bad idea?

Dandan7960 Friday, October 22, 2010 10:31:52 PM

Very good installer, however, I tried uninstalling opera 11, and the new installer/uninstaller program crashed half way through... not so good down (win7 32-bit)

Write a comment

New comments have been disabled for this post.