meta data de esta página
  •  

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
windows:msi [2013/11/11 11:12] lcwindows:msi [2023/01/18 14:11] (actual) – editor externo 127.0.0.1
Línea 7: Línea 7:
 === Desinstalar === === Desinstalar ===
 MSIEXEC /q /x {package id} Windows Installer command to silently remove any MSI installation MSIEXEC /q /x {package id} Windows Installer command to silently remove any MSI installation
 +
 +<note>Para saber la cadena del programa a desinstalar hay que ir a **My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\userdata\s-1-5-18\Products\xxxxxxxx** </note>
 +
 +Ejemplo de desinstalación mediante script de las versiones antiguas de java
 +<code vb>
 +'Thanks to Matthew Hudson to share the script code.
 +
 +Set objWshShell = WScript.CreateObject("WScript.Shell")
 +
 +On Error Resume Next
 +' Java(TM) 6 Update 7 removal.
 +objWshShell.Run "msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0160070} /qn", 1, True
 +
 +' Java(TM) 6 Update 2 removal.
 +objWshShell.Run "msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0160020} /qn", 1, True
 +
 +' Java(TM) 6 Update 1 removal.
 +objWshShell.Run "msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0160010} /qn", 1, True
 +
 +' Java(TM) 6 removal.
 +objWshShell.Run "msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0160000} /qn", 1, True
 +
 +' J2SE Runtime Environment 5.0 Update 11 removal.
 +objWshShell.Run "msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0150110} /qn", 1, True
 +
 +' J2SE Runtime Environment 5.0 Update 10 removal.
 +objWshShell.Run "msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0150100} /qn", 1, True
 +
 +' J2SE Runtime Environment 5.0 Update 9 removal.
 +objWshShell.Run "msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0150090} /qn", 1, True
 +
 +' J2SE Runtime Environment 5.0 Update 6 removal.
 +objWshShell.Run "msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0150060} /qn", 1, True
 +
 +' J2SE Runtime Environment 5.0 Update 4 removal.
 +objWshShell.Run "msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0150040} /qn", 1, True
 +
 +wscript.quit 
 +</code>
 +
  
  
Línea 16: Línea 56:
   * http://www.qwertylab.com/FreeTools.aspx   * http://www.qwertylab.com/FreeTools.aspx
   * http://wixtoolset.org/   * http://wixtoolset.org/
 +
 +
 +==== Referencias ====
 +  * http://technet.microsoft.com/en-us/library/cc759262%28v=ws.10%29.aspx
 +  * http://social.technet.microsoft.com/Forums/systemcenter/en-US/4ae8cfab-6176-4816-8903-ebe0bc95757a/automated-software-uninstalling?forum=configmgrswdist