Difference between revisions of "Opera"
(→Opera 10.53: Added information about UPDATE_LAST_INSTALL=1) |
|||
Line 92: | Line 92: | ||
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. | 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/ http://ftp.opera.com/pub/opera/win/1060/int/] | ||
+ | |||
+ | Change remove command to this: | ||
+ | <source lang="xml"> | ||
+ | <package | ||
+ | ... | ||
+ | <remove cmd='msiexec /x {1D2C96C3-A3F3-49E7-B839-95279DED837F} /qn' /> | ||
+ | |||
+ | </package> | ||
+ | </source> | ||
[[category:Silent Installers]] | [[category:Silent Installers]] |
Revision as of 14:43, 12 August 2010
This is a silent installer for 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.
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 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>