Difference between revisions of "Windows XP SP3"
From WPKG | Open Source Software Deployment and Distribution
(Uninstall to be investigated) |
(Added uninstallation command line switches, a screenshot of the English version would be appreciated) |
||
Line 14: | Line 14: | ||
<exit code="3010" /> | <exit code="3010" /> | ||
</install> | </install> | ||
+ | <remove cmd='%WINDIR%\$NtServicePackUninstall$\spuninst\spuninst.exe /quiet /forcerestart'> | ||
+ | <exit code="0" /> | ||
+ | <exit code="3010" /> | ||
+ | </remove> | ||
</package> | </package> | ||
</packages> | </packages> | ||
</source> | </source> | ||
− | |||
Still to be investigated which is the best command line switches combination. Available command line switches are: | Still to be investigated which is the best command line switches combination. Available command line switches are: | ||
Line 40: | Line 43: | ||
/log:<full path> | /log:<full path> | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | UninstallString string value in the registry key "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Windows XP Service Pack" reports "c:\windows\$NtServicePackUninstall$\spuninst\spuninst.exe", didn't check if it works as expected. | ||
+ | |||
+ | Spuninst.exe available command line switches are: | ||
+ | |||
+ | <pre> | ||
+ | /help | ||
+ | |||
+ | /quiet | ||
+ | /passive | ||
+ | |||
+ | /norestart | ||
+ | /forcerestart | ||
+ | /warnrestart[:<seconds>] | ||
+ | /promptrestart | ||
+ | |||
+ | /forceappsclose | ||
+ | /log:<full path> | ||
+ | </pre> | ||
+ | |||
[[Category: Silent Installers]] | [[Category: Silent Installers]] | ||
[[Category: Silent installers for Windows Hotfixes]] | [[Category: Silent installers for Windows Hotfixes]] |
Revision as of 08:28, 8 May 2008
Silent installer for Windows XP Service Pack 3 (Italian version in this case), checks uninstall information.
Technet page for Service Pack 3: http://technet.microsoft.com/en-us/windowsxp/0a5b9b10-17e3-40d9-8d3c-0077c953a761.aspx
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="WinXP-SP3-ita" name="Windows XP Service Pack 3 (italian)" revision="1" reboot="true" priority="0">
<check type="uninstall" condition="exists" path="Windows XP Service Pack 3" />
<install cmd='%SOFTWARE%\ServicePacks\WindowsXP-KB936929-SP3-x86-ITA.exe /quiet /forcerestart'>
<exit code="0" />
<exit code="3010" />
</install>
<remove cmd='%WINDIR%\$NtServicePackUninstall$\spuninst\spuninst.exe /quiet /forcerestart'>
<exit code="0" />
<exit code="3010" />
</remove>
</package>
</packages>
Still to be investigated which is the best command line switches combination. Available command line switches are:
/help /quiet /passive /norestart /forcerestart /warnrestart[:<seconds>] /promptrestart /overwriteoem /nobackup /forceappsclose /integrate:<full path> /d:<path> /log:<full path>
UninstallString string value in the registry key "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Windows XP Service Pack" reports "c:\windows\$NtServicePackUninstall$\spuninst\spuninst.exe", didn't check if it works as expected.
Spuninst.exe available command line switches are:
/help /quiet /passive /norestart /forcerestart /warnrestart[:<seconds>] /promptrestart /forceappsclose /log:<full path>