Difference between revisions of "Safari"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Code)
(Safari 5.1.5)
Line 55: Line 55:
 
For 32bit and 64bit systems.
 
For 32bit and 64bit systems.
 
This package requires wpkg.js 1.2.1-RC20 or higher!
 
This package requires wpkg.js 1.2.1-RC20 or higher!
 +
 +
Start "safari.exe /extract" to extract the msi files to current working directory.
 +
 
<source lang="xml">
 
<source lang="xml">
 
<?xml version="1.0" encoding="utf-8" ?>
 
<?xml version="1.0" encoding="utf-8" ?>
 
<packages>
 
<packages>
 
     <package id='safari' name='Safari' revision='%PKG_VERSION%' priority='100' reboot='false' >
 
     <package id='safari' name='Safari' revision='%PKG_VERSION%' priority='100' reboot='false' >
<variable name="PKG_VERSION"          value="5.1.2-1" />
+
<variable name="PKG_VERSION"          value="5.1.5" />
<variable name="PKG_FILEVERSION"      value="5.34.52.7" />
+
<variable name="PKG_FILEVERSION"      value="5.34.55.3" />
 
         <variable name="PKG_SOURCE"          value="%SOFTWARE%\packages\safari" />
 
         <variable name="PKG_SOURCE"          value="%SOFTWARE%\packages\safari" />
 
<check type="logical" condition="or">
 
<check type="logical" condition="or">

Revision as of 08:41, 27 March 2012

Introduction

Silent installer and removal instructions for Safari, a web browser by Apple. More infos from here

Code

Safari 3.0.2

<?xml version="1.0" encoding="utf-8" ?>
<packages>
    <package id='safari' name='Safari' revision='30201' priority='100' reboot='false' >
      <check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\Safari\Safari.exe' value='3.522.13.1' />
      <install cmd='"%SOFTWARE%\safari\SafariQuicktimeSetup-3.0.2.exe" /qn' />
      <remove cmd='MsiExec.exe /I{3F9EFA28-D2FE-44B7-8896-0B0FF8DF5517} /QN' />
      <upgrade cmd='"%SOFTWARE%\safari\SafariQuicktimeSetup-3.0.2.exe" /qn' />
    </package>
</packages>

Safari 3.1.2

<packages>
   <package id='safari' name='Safari' revision='31201' priority='100' reboot='false' >
      <check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\Safari\Safari.exe' value='3.525.21.0' />
      <install cmd='"%SOFTWARE%\safari\SafariSetup-3.1.2.exe" /qn' />
      <remove cmd='MsiExec.exe /X{C9D96682-5A4D-45FA-BA3E-DDCB2B0CB868} /QN' />
      <upgrade cmd='"%SOFTWARE%\safari\SafariSetup-3.1.2.exe" /qn' />
   </package>
</packages>

Safari 4.0.2

<packages>
   <package id='safari' name='Safari' revision='4.0.2.001' priority='10' reboot='false' >
      <check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\Safari\Safari.exe' value='4.530.19.1' />
      <install cmd='"%SOFTWARE%\safari\SafariSetup-4.0.2.exe" /qn' />
      <remove cmd='MsiExec.exe /I{2D6ED011-055B-4041-B198-BB903827EBFB} /QN' />
      <upgrade cmd='"%SOFTWARE%\safari\SafariSetup-4.0.2.exe" /qn' />
   </package>
</packages>

Safari 5.0.2

<packages>
    <package id='safari' name='Safari' revision='5.0.2.001' priority='100' reboot='false' >
      <check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\Safari\Safari.exe' value='5.33.18.5' />
      <install cmd='"%SOFTWARE%\packages\safari\SafariSetup-5.0.2.exe" /qn' />
      <upgrade cmd='"%SOFTWARE%\packages\safari\SafariSetup-5.0.2.exe" /qn' />
      <remove cmd='MsiExec.exe /X{3763A2B4-B07A-4E4D-994D-7D2C6AF0CF9E} /QN' />
    </package>
</packages>

Safari 5.1.2

For 32bit and 64bit systems. This package requires wpkg.js 1.2.1-RC20 or higher!

Start "safari.exe /extract" to extract the msi files to current working directory.

<?xml version="1.0" encoding="utf-8" ?>
<packages>
    <package id='safari' name='Safari' revision='%PKG_VERSION%' priority='100' reboot='false' >
	<variable name="PKG_VERSION"          value="5.1.5" />
	<variable name="PKG_FILEVERSION"      value="5.34.55.3" />
        <variable name="PKG_SOURCE"           value="%SOFTWARE%\packages\safari" />
	<check type="logical" condition="or">
		<check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\Safari\Safari.exe' value='%PKG_FILEVERSION%' />
		<check type="file" condition="versiongreaterorequal" path="%ProgramFiles(x86)%\Safari\Safari.exe" value="%PKG_FILEVERSION%" />
	</check>
	<install cmd='msiexec /i "%PKG_SOURCE%\AppleApplicationSupport.msi" /qn /norestart /log "%SystemDrive%\netinst\logs\safari-applicationsupport.log" ALLUSERS=1 EULA_ACCEPT=YES '> 
	   <exit code="0" />
	   <exit code="3010" reboot="false" />
	</install>
	<install cmd='msiexec /i "%PKG_SOURCE%\Safari.msi" /qn /norestart /log "%SystemDrive%\netinst\logs\safari.log" ALLUSERS=1 EULA_ACCEPT=YES '> 
	   <exit code="0" />
	   <exit code="3010" reboot="false" />
	</install>

	<upgrade include='install' />
	<downgrade include='install' />
	
	<remove cmd='MsiExec.exe /x{8FFFCAFB-DD70-417D-B3D6-7C79DB8B2AF7} /QN' ><exit code='0' /><exit code='1605' /></remove>
	<remove cmd='MsiExec.exe /X{5EAA9433-59D8-45B3-AA81-B816484562B1} /QN' ><exit code='0' /><exit code='1605' /></remove>
	<remove cmd='MsiExec.exe /X{F2AF3E5D-9697-485C-A5AC-E2B9468C446A} /QN' ><exit code='0' /><exit code='1605' /></remove>
	<remove cmd='MsiExec.exe /x{3F9EFA28-D2FE-44B7-8896-0B0FF8DF5517} /QN' ><exit code='0' /><exit code='1605' /></remove>
	<remove cmd='MsiExec.exe /X{C9D96682-5A4D-45FA-BA3E-DDCB2B0CB868} /QN' ><exit code='0' /><exit code='1605' /></remove>
	<remove cmd='MsiExec.exe /X{3763A2B4-B07A-4E4D-994D-7D2C6AF0CF9E} /QN' ><exit code='0' /><exit code='1605' /></remove>
    </package>
</packages>