Difference between revisions of "Xpsp2"
From WPKG | Open Source Software Deployment and Distribution
Line 1: | Line 1: | ||
Silent Install for windows service pack 2, checks for file instead of registry as the registry keys seem to vary from laptop to laptop. | Silent Install for windows service pack 2, checks for file instead of registry as the registry keys seem to vary from laptop to laptop. | ||
+ | <pre> | ||
<package id="Win_XP_SP2" name="Service Pack 2" revision="2" reboot="true" priority="0"> | <package id="Win_XP_SP2" name="Service Pack 2" revision="2" reboot="true" priority="0"> | ||
<check type="file" condition="exists" path="%Windir%\system32\xpsp2res.dll" /> | <check type="file" condition="exists" path="%Windir%\system32\xpsp2res.dll" /> | ||
Line 10: | Line 11: | ||
</remove> | </remove> | ||
</package> | </package> | ||
+ | </pre> | ||
[[Category:Silent_installers_for_Windows_Hotfixes]] | [[Category:Silent_installers_for_Windows_Hotfixes]] |
Latest revision as of 10:58, 21 July 2006
Silent Install for windows service pack 2, checks for file instead of registry as the registry keys seem to vary from laptop to laptop.
<package id="Win_XP_SP2" name="Service Pack 2" revision="2" reboot="true" priority="0"> <check type="file" condition="exists" path="%Windir%\system32\xpsp2res.dll" /> <install cmd='\\server\WindowsXP-KB835935-SP2-ENU.exe /passive /restart /n'> <exit code="0" /> </install> <remove cmd='\\server\WindowsXP-KB835935-SP2-ENU.exe /uninstall'> <exit code="0"/> </remove> </package>