Difference between revisions of "Opera"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(added Opera 10.63, older Versions moved to bottom)
(add 11.00 silent install)
Line 1: Line 1:
 +
== Opera 11.00 ==
 +
Contrary to 10.X release, seems there's no msi installer package available on
 +
http://ftp.opera.com/pub/opera/win/1100/int/
 +
 +
Thanks to http://my.opera.com/community/forums/topic.dml?id=841872, here's the silent option for the "*Setup.exe" installer:
 +
 +
<source lang="xml">
 +
<?xml version="1.0" encoding="UTF-8"?>
 +
<packages>
 +
  <!-- http://wpkg.org/Opera -->
 +
  <package
 +
    id="opera"
 +
    name="opera"
 +
    revision="%version%-%release%"
 +
    reboot="false"
 +
    priority="0">
 +
 +
    <variable name="version" value="11.00" />
 +
    <variable name="filenameversion" value="1100" />
 +
    <variable name="release" value="1" />
 +
 +
    <check type="uninstall" condition="exists" path="Opera %version%" />
 +
 +
    <!-- (tech):silent option thanks to http://my.opera.com/community/forums/topic.dml?id=841872 -->
 +
    <install cmd='"%SOFTWARE%\opera\%filenameversion%\Opera_%filenameversion%_int_Setup.exe" /silent /launchopera 0 /desktopshortcut 0 /quicklaunchshortcut 0 /setdefaultbrowser 0 /allusers' />
 +
 +
    <upgrade cmd='"%SOFTWARE%\opera\%filenameversion%\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>
 +
 +
</source>
 
== Opera 10.53 ==
 
== Opera 10.53 ==
  

Revision as of 18:42, 1 January 2011

Opera 11.00

Contrary to 10.X release, seems there's no msi installer package available on http://ftp.opera.com/pub/opera/win/1100/int/

Thanks to http://my.opera.com/community/forums/topic.dml?id=841872, here's the silent option for the "*Setup.exe" installer:

<?xml version="1.0" encoding="UTF-8"?>
<packages>
  <!-- http://wpkg.org/Opera -->
  <package
     id="opera"
     name="opera"
     revision="%version%-%release%"
     reboot="false"
     priority="0">

    <variable name="version" value="11.00" />
    <variable name="filenameversion" value="1100" />
    <variable name="release" value="1" />

    <check type="uninstall" condition="exists" path="Opera %version%" />

    <!-- (tech):silent option thanks to http://my.opera.com/community/forums/topic.dml?id=841872 -->
    <install cmd='"%SOFTWARE%\opera\%filenameversion%\Opera_%filenameversion%_int_Setup.exe" /silent /launchopera 0 /desktopshortcut 0 /quicklaunchshortcut 0 /setdefaultbrowser 0 /allusers' />

    <upgrade cmd='"%SOFTWARE%\opera\%filenameversion%\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>

Opera 10.53

This is a silent installer for Opera 10.53 using the check type "uninstall", tested and working with Win XP pro SP2. The update function will be disabled, no desktop icon and no quicklaunch icon will be created. The MSI installer package you can download here: http://ftp.opera.com/pub/opera/win/1053/int/

To meet some policies, here an 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.

<package
     id="opera"
     name="opera 10"
     revision="1053"
     reboot="false"
     priority="0">
    <check type="uninstall" condition="exists" path="Opera 10.53" />
 
    <install cmd='msiexec /i %SOFTWARE%\Opera\Opera_1053_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_1053_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 {1A0D2EFC-C4FC-446A-8BC3-57A54CE5EADD} /qn' />
 
  </package>

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.

Opera 10.60

Works like 10.53, just change the version numbers. Tested and working with Win XP pro SP3. The MSI installer package can be downloaded from here: http://ftp.opera.com/pub/opera/win/1060/int/

Change remove command to this:

<package
     ...
    <remove cmd='msiexec /x {1D2C96C3-A3F3-49E7-B839-95279DED837F} /qn' />
 
  </package>


Opera 10.63

Download: http://ftp.opera.com/pub/opera/win/1063/int/ Like 10.53 and 10.60, just change version numbers. Remove command should be this:

<package
     ...
    <remove cmd='msiexec /x {87CC8013-56D1-43E1-A0A5-AD406B4EBA95} /qn' />
 
  </package>

Older Versions

Opera 10

This works just the same way for Opera 10, you only have to change the files and the the "remove cmd" accordingly:

<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%\Internet\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%\Internet\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>

Opera 9.64

<?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\9.64\Opera_964_int_Setup.exe"\
 /S /V"/qn CREATE_DESKTOP_ICON=0 CREATE_QUICKLAUNCH_ICON=0 CREATE_STARTMENU_ICONS=1 MULTI_USER_SETT\
ING=1 INSTALLER_LANGUAGE=en""' />

    <upgrade cmd='%COMSPEC% /c "start "title" /wait "%SOFTWARE%\opera\9.64\Opera_964_int_Setup.exe"\
 /S /V"/qn CREATE_DESKTOP_ICON=0 CREATE_QUICKLAUNCH_ICON=0 CREATE_STARTMENU_ICONS=1 MULTI_USER_SETT\
ING=1 INSTALLER_LANGUAGE=en""' />

    <remove cmd='msiexec /qn /x{E1BBBAC5-2857-4155-82A6-54492CE88620}' />

  </package>
</packages>

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