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.
/nostartmenushortcut : Don't create a start menu shortcut.
/nodesktopshortcut : Don't create a desktop shortcut.
/noquicklaunchshortcut : Don't create a quick launch shortcut.
/launchopera : Launches Opera once the installation has completed.
The new installer is created like the Chrome installer. It will install default to the logged in user profile. And live update will be enabled.
So I unpacked all the files with 7Zip. Added a shortcut and the file operaprefs_default.ini to the same folder. Made a script to copy the files from server to c:\programfiles\opera.
The operaprefs_default.ini file contains some usefull settings. The Level of update automation clears the live updates setting. (yes, minus1)
operaprefs_default.ini
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[User Prefs]
Language File=C:\Program files\Opera\locale\nb\nb.lng
Language Files Directory=C:\Program files\Opera\locale\nb
[System]
Multi User=1 ; If enabled Opera will use Windows profiles to store individual user settings
[User Prefs]
Home URL=http://www.mysite.com
Show Default Browser Dialog=0
Level Of Update Automation=-1
Startup Type=2
Here is how you install a certificate:
Make the folder: "%appdata%\Opera\Opera" Start Opera and install the certificate. Close Opera. Find the file "%appdata%\Opera\Opera\opcacrt6.dat".
In the installation, you copy it from server to "%appdata%\Opera\Opera\". This can be done pre install.
I'm about to customize the MSi for Opera 10.x.
The MSI package contains a bunch of propertys to customize your installation.
I've used the following properties:
CREATE_DESKTOP_ICON_REG 0 //to not create a desktop icon
CREATE_DESKTOP_ICON_REG_USR 0 //to not create an user desktop icon
CREATE_QUICKLAUNCH_ICON_REG 0 //to not create a quicklaunch icon
CREATE_QUICKLAUNCH_ICON_REG_USR //to not create an user quicklaunch icon
CREATE_STARTMENU_ICONS_REG 2 // Starmenut entrys
CREATE_STARTMENU_ICONS_REG_USR 2 // User starmenut entrys
SET_DEFAULT_BROWSER 0 // as we use FF as default browser this property has been set to zero
This website uses cookies.
By continuing to use this site and/or clicking the "Accept" button you are providing consent
Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our
websites or when you do business with us. For more information about our
Privacy Policy and our data protection
efforts, please visit
GDPR-HQ