Opera

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

Opera is a web browser available from http://www.opera.com.

Contents

[edit] Opera 11.x

The installer can be downloaded directly from http://ftp.opera.com/pub/opera/win/.

Starting with version 11.00, Opera use a new in-house installer instead of the classic msi installer. Some information and the new command line silent switches can be found on the Opera Desktop Team blog and in a forum thread

<?xml version="1.0" encoding="UTF-8"?>
<packages>
  <package
     id="opera"
     name="Opera"
     revision="%version%"
     reboot="false"
     priority="0">
 
    <variable name="version" value="11.60" />
 
    <variable name="filenameversion" value="1160" />
 
    <check type="uninstall" condition="exists" path="Opera %version%" />
 
    <install cmd='%SOFTWARE%\opera\Opera_%filenameversion%_int_Setup.exe /silent /launchopera 0 /desktopshortcut 0 /quicklaunchshortcut 0 /setdefaultbrowser 0 /allusers' />
 
    <upgrade cmd='%SOFTWARE%\opera\Opera_%filenameversion%_int_Setup.exe /silent /launchopera 0 /desktopshortcut 0 /quicklaunchshortcut 0 /setdefaultbrowser 0 /allusers' />
 
    <remove cmd='"%PROGRAMFILES%\Opera\Opera.exe" /uninstall /silent' />
  </package>
</packages>


[edit] Opera 10.x

The update function will be disabled, no desktop icon and no quicklaunch icon will be created.

The MSI installer package for 10.63 can be download from http://ftp.opera.com/pub/opera/win/1063/int/

You may also add the MSI property UPDATE_LAST_INSTALL=1 to the command line. This property will remove entries for older versions of Opera from the Windows installer.

<package
	id="opera"
	name="opera 10"
	revision="1053"
	reboot="false"
	priority="0">
 
	<check type="uninstall" condition="exists" path="Opera 10.63" />
 
	<install cmd='msiexec /i %SOFTWARE%\Opera\Opera_1063_int_Setup.msi /qn CREATE_DESKTOP_ICON_REG=0 CREATE_DESKTOP_ICON_REG_USR=0 CREATE_QUICKLAUNCH_ICON_REG=0 CREATE_QUICKLAUNCH_ICON_REG_USR=0 CREATE_STARTMENU_ICONS=1 CREATE_STARTMENU_ICONS_REG_USR=1 ISCHECKFORPRODUCTUPDATES=0 ALLUSERS=1' />
 
	<install timeout="15" cmd='cmd /C copy %SOFTWARE%\Opera\operaprefs_default.ini %PROGRAMFILES%\Opera /Y' />
 
	<upgrade cmd='msiexec /i %SOFTWARE%\Opera\Opera_1063_int_Setup.msi /qn CREATE_DESKTOP_ICON_REG=0 CREATE_DESKTOP_ICON_REG_USR=0 CREATE_QUICKLAUNCH_ICON_REG=0 CREATE_QUICKLAUNCH_ICON_REG_USR=0 CREATE_STARTMENU_ICONS=1 CREATE_STARTMENU_ICONS_REG_USR=1 ISCHECKFORPRODUCTUPDATES=0 ALLUSERS=1' />
 
	<install timeout="15" cmd='cmd /C copy %SOFTWARE%\Opera\operaprefs_default.ini %PROGRAMFILES%\Opera /Y' />
 
	<remove cmd='msiexec /x {87CC8013-56D1-43E1-A0A5-AD406B4EBA95} /qn' />
  </package>

[edit] Uninstall strings

[edit] operaprefs_default.ini

To meet some policies, operaprefs_default.ini is copied to the clients:

[System]
Multi User=1   ; If enabled Opera will use Windows profiles to store individual user settings
 
[User Prefs]:
Home URL=http://yourhomepage
Permanent Homepage=1  ; Removes all UI to change the home page and startup type
Show Default Browser Dialog=0
Level Of Update Automation=-1
Startup Type=2  ; use homepage

After removing Opera, the operaprefs_default.ini will stay in its directory.


[edit] Opera 10.0

<package id="opera"
         name="Opera"
         revision="10000.0"
         reboot="false"
         priority="0">
 
	<check type="logical" condition="or">
	  <check type="file" condition="versionequalto" path="%PROGRAMFILES(x86)%\Opera\Opera.exe" value="10.0.1750.0"  />
	  <check type="file" condition="versionequalto" path="%PROGRAMFILES%\Opera\Opera.exe" value="10.0.1750.0"  />
	</check>
 
	<install cmd='"%SOFTWARE%\Opera\Opera_1000_int_Setup.exe" /S /v"/qn ALLUSERS=1 CREATE_DESKTOP_ICON=0 CREATE_QUICKLAUNCH_ICON=0 CREATE_STARTMENU_ICONS=1 MULTI_USER_SETTING=1 INSTALLER_LANGUAGE=en"' />
 
	<upgrade cmd='"%SOFTWARE%\Opera\Opera_1000_int_Setup.exe" /S /v"/qn ALLUSERS=1 CREATE_DESKTOP_ICON=0 CREATE_QUICKLAUNCH_ICON=0 CREATE_STARTMENU_ICONS=1 MULTI_USER_SETTING=1 INSTALLER_LANGUAGE=en"' />
 
	<remove cmd='MsiExec.exe /X{2085F05D-24C5-4E27-B7B4-A51DE890FFC9} /QN /QUIET /NORESTART' />
</package>


[edit] Opera 9.64

Language File=C:\Program Files\Opera\locale\\.lng Language Files Directory=C:\Program Files\Opera\locale\

<?xml version="1.0" encoding="UTF-8"?>
<packages>
  <package
     id="opera"
     name="opera"
     revision="96401"
     reboot="false"
     priority="0">
 
    <check type="uninstall" condition="exists" path="Opera 9.64" />
 
    <install cmd='%COMSPEC% /c "start "title" /wait "%SOFTWARE%\opera\Opera_964_int_Setup.exe" /S /V"/qn CREATE_DESKTOP_ICON=0 CREATE_QUICKLAUNCH_ICON=0 CREATE_STARTMENU_ICONS=1 MULTI_USER_SETTING=1 INSTALLER_LANGUAGE=en""' />
 
    <upgrade cmd='%COMSPEC% /c "start "title" /wait "%SOFTWARE%\opera\Opera_964_int_Setup.exe" /S /V"/qn CREATE_DESKTOP_ICON=0 CREATE_QUICKLAUNCH_ICON=0 CREATE_STARTMENU_ICONS=1 MULTI_USER_SETTING=1 INSTALLER_LANGUAGE=en""' />
 
    <remove cmd='msiexec /qn /x{E1BBBAC5-2857-4155-82A6-54492CE88620}' />
  </package>
</packages>

To change the browser language, change "INSTALLER_LANGUAGE=en", i.e. to "INSTALLER_LANGUAGE=de" for German.

Retrieved from "http://wpkg.org/Opera"
Personal tools
Namespaces
Variants
Actions
Navigation
ideas?
Toolbox