Difference between revisions of "Windows Installer"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m (Add check for XP SP3.)
Line 1: Line 1:
 
 
 
Some installers (i.e. Adobe Reader) will require a recent version of the Windows Installer. ([http://www.microsoft.com/downloads/details.aspx?familyid=889482FC-5F56-4A38-B838-DE776FD4138C&displaylang=en download])
 
Some installers (i.e. Adobe Reader) will require a recent version of the Windows Installer. ([http://www.microsoft.com/downloads/details.aspx?familyid=889482FC-5F56-4A38-B838-DE776FD4138C&displaylang=en download])
  
Line 12: Line 10:
 
   reboot="true"
 
   reboot="true"
 
   priority="20">
 
   priority="20">
   <check type="uninstall" condition="exists" path="Windows Installer 3.1 (KB893803)" />
+
   <check type="logical" condition="or">
 +
    <check type="uninstall" condition="exists" path="Windows Installer 3.1 (KB893803)" />
 +
    <check type="uninstall" condition="exists" path="Windows XP Service Pack 3" />
 +
  </check>
 
   <install cmd='%SOFTWARE%\msi\WindowsInstaller-KB893803-v2-x86.exe /quiet /norestart' >
 
   <install cmd='%SOFTWARE%\msi\WindowsInstaller-KB893803-v2-x86.exe /quiet /norestart' >
 
     <exit code="194" reboot="true" />
 
     <exit code="194" reboot="true" />
Line 18: Line 19:
 
     <exit code="3010" reboot="true" />
 
     <exit code="3010" reboot="true" />
 
   </install>
 
   </install>
  <upgrade cmd='' />
 
 
   <remove cmd="C:\WINNT\$MSI31Uninstall_KB893803v2$\spuninst\spuninst.exe /quiet /norestart" />
 
   <remove cmd="C:\WINNT\$MSI31Uninstall_KB893803v2$\spuninst\spuninst.exe /quiet /norestart" />
 
</package>
 
</package>

Revision as of 23:10, 3 August 2008

Some installers (i.e. Adobe Reader) will require a recent version of the Windows Installer. (download)

Silent installation package below:

<package
  id="windows_installer_3"
  name="Windows Installer 3.1V2"
  revision="1"
  reboot="true"
  priority="20">
  <check type="logical" condition="or">
    <check type="uninstall" condition="exists" path="Windows Installer 3.1 (KB893803)" />
    <check type="uninstall" condition="exists" path="Windows XP Service Pack 3" />
  </check>
  <install cmd='%SOFTWARE%\msi\WindowsInstaller-KB893803-v2-x86.exe /quiet /norestart' >
    <exit code="194" reboot="true" />
    <exit code="1603" />
    <exit code="3010" reboot="true" />
  </install>
  <remove cmd="C:\WINNT\$MSI31Uninstall_KB893803v2$\spuninst\spuninst.exe /quiet /norestart" />
</package>