Difference between revisions of "Windows Installer"
From WPKG | Open Source Software Deployment and Distribution
m |
|||
| Line 4: | Line 4: | ||
<source lang="xml"> | <source lang="xml"> | ||
| + | <?xml version="1.0" encoding="UTF-8"?> | ||
<package | <package | ||
id="windows_installer_3" | id="windows_installer_3" | ||
| Line 14: | Line 15: | ||
<check type="uninstall" condition="exists" path="Windows XP Service Pack 3" /> | <check type="uninstall" condition="exists" path="Windows XP Service Pack 3" /> | ||
</check> | </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" /> | ||
<exit code="1603" /> | <exit code="1603" /> | ||
<exit code="3010" reboot="true" /> | <exit code="3010" reboot="true" /> | ||
</install> | </install> | ||
| − | <remove cmd=" | + | <remove cmd='"%WINDIR%\$MSI31Uninstall_KB893803v2$\spuninst\spuninst.exe" /quiet /norestart' /> |
</package> | </package> | ||
</source> | </source> | ||
[[Category:Silent Installers]] | [[Category:Silent Installers]] | ||
Revision as of 08:01, 22 August 2008
Some installers (i.e. Adobe Reader) will require a recent version of the Windows Installer (download).
Silent installation package below:
<?xml version="1.0" encoding="UTF-8"?>
<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='"%WINDIR%\$MSI31Uninstall_KB893803v2$\spuninst\spuninst.exe" /quiet /norestart' />
</package>