March 17, 2013

Silent install / uninstall command for Slik SVN 1.7.8


The following post discusses about the Silent installation / uninstallation command for Slik SVN 1.7.8m - 64-bit installer and the same applies to 32-bit installer as well.

Installation:
               msiexec /i "Slik-Subversion-1.7.8-x64.msi" /qn /norestart INSTALLLOCATION="D:\Software\SlikSVN" /l* "svninstall.log"
                      /qa -> optional parameter to run the installer in silent mode
                        INSTALLLOCATION -> Custom Installation directory
                        /l* "svninstall.log" -> optional parameter for logging the installation to svninstall.log

Uninstallation:              
·         Silent Uninstall command with Product Code:
                msiexec /x {D0BD7396-3187-48FE-8327-C27385275D18}

·         Silent Uninstall command with installer name:
                msiexec /x "Slik-Subversion-1.7.8-x64.msi"

 
For locked down environments like Vista, Windows 7 & Windows Server 2008 (when UAC is turned ON), do the following

·         Launch the command prompt with elevated privileges (i.e. Right Click cmd.exe and say “Run as administrator”), otherwise the installer will fail.

·         If you get the following error message while running msiexec from the command prompt, append “C:\Windows\System32” to the PATH variable
                                'msiexec' is not recognized as an internal or external command,
                                operable program or batch file.

No comments:

Post a Comment