Difference between revisions of "Opera"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m
Line 3: Line 3:
 
  <package id="opera" name="Opera (WWW browser)" revision="1" priority="0" reboot="false">
 
  <package id="opera" name="Opera (WWW browser)" revision="1" priority="0" reboot="false">
 
  <check type="uninstall" condition="exists" path="Opera" />
 
  <check type="uninstall" condition="exists" path="Opera" />
  <install cmd='\\server\share\opera\ow32enen802.exe /s' />
+
  <install cmd='%SOFTWARE%\opera\ow32enen802.exe /s' />
  <remove cmd="C:\PROGRA~1\Opera\UnInst\UNWISE.EXE C:\PROGRA~1\Opera\UnInst\Install.log" />
+
  <remove cmd="%PROGRAMFILES%\Opera\UnInst\UNWISE.EXE C:\PROGRA~1\Opera\UnInst\Install.log" />
<upgrade cmd='' />
+
 
  </package>  
 
  </package>  
  
Line 15: Line 14:
 
  <package id="opera" name="Opera 9.02" revision="902" reboot="false" priority="1">
 
  <package id="opera" name="Opera 9.02" revision="902" reboot="false" priority="1">
 
  <check type="file" condition="versionequalto" path="%PROGRAMFILES%\Opera\Opera.exe" value="9.2.8585.0"  />
 
  <check type="file" condition="versionequalto" path="%PROGRAMFILES%\Opera\Opera.exe" value="9.2.8585.0"  />
  <install cmd='"\\server\share\install\opera\Opera_9.02_Eng_Setup.exe" /S /v/qn' />
+
  <install cmd='"%SOFTWARE%\opera\Opera_9.02_Eng_Setup.exe" /S /v/qn' />
  <upgrade cmd='"\\server\share\opera\Opera_9.02_Eng_Setup.exe" /S /v/qn' />
+
  <upgrade cmd='"%SOFTWARE%\opera\Opera_9.02_Eng_Setup.exe" /S /v/qn' />
 
  <remove cmd='"%PROGRAMFILES%\opera\uninst\opUninst.exe %PROGRAMFILES%\opera\uninst\install.log' />
 
  <remove cmd='"%PROGRAMFILES%\opera\uninst\opUninst.exe %PROGRAMFILES%\opera\uninst\install.log' />
 
  </package>
 
  </package>

Revision as of 20:21, 2 October 2006

This is a silent installer and uninstaller for Opera.

<package id="opera" name="Opera (WWW browser)" revision="1" priority="0" reboot="false">
<check type="uninstall" condition="exists" path="Opera" />
<install cmd='%SOFTWARE%\opera\ow32enen802.exe /s' />
<remove cmd="%PROGRAMFILES%\Opera\UnInst\UNWISE.EXE C:\PROGRA~1\Opera\UnInst\Install.log" />
</package>

On Opera 9.x /s seems to bee not enough. You had to add /v/qn Upgrade from Opera 8.x worked well.

<package id="opera" name="Opera 9.02" revision="902" reboot="false" priority="1">
<check type="file" condition="versionequalto" path="%PROGRAMFILES%\Opera\Opera.exe" value="9.2.8585.0"  />
<install cmd='"%SOFTWARE%\opera\Opera_9.02_Eng_Setup.exe" /S /v/qn' />
<upgrade cmd='"%SOFTWARE%\opera\Opera_9.02_Eng_Setup.exe" /S /v/qn' />
<remove cmd='"%PROGRAMFILES%\opera\uninst\opUninst.exe %PROGRAMFILES%\opera\uninst\install.log' />
</package>