Forum Discussion

stephan_vanheld's avatar
13 years ago

How to perform an unattended / silent installation of the new EV plugin

We tried to silently install the EV 10.0.1 Outlook plugin using the MSI file, but on multiple computers this fails like described here: https://www-secure.symantec.com/connect/forums/ev-1001-plugin...
  • StephenConnolly's avatar
    12 years ago

    The setup.exe was added specifically to handle the situation where users are installing interactively and don't understand how to elevate manually - the exe will trigger the elevation automatically. for unattended\silent installations the assumption is that the admin is driving the process without user intervention and therefore UAC is not in play. If you want the install to run silently but in a user session then you need to ensure that the entire process is elevated before you call msiexec.

    1. Repackage the MSI in a self-extracting cab file. This can be done easily using the iexpress.exe tool included in Windows. Documentation for it can be found on MSDN. http://technet.microsoft.com/en-us/library/dd346760.aspx . Basically you can create a self-extractor that contains the EV Client MSI and then launch it using a command like
    2.  
      msiexec /I <packagename>.msi /qn REBOOT=ReallySuppress MSIRESTARTMANAGERCONTROL=Disable /l*v %temp%\EVClient.log.
    3. You can also run the self-extracting file in quiet mode using the relevant command line switches. See http://support.microsoft.com/kb/197147 for more details
    4. Alternatively there are some script techniques you can use to elevate the command prompt early enough in the process that you can continue to call msiexec as in earlier releases. You can find details here: http://blogs.technet.com/b/elevationpowertoys/archive/2010/06/20/creating-a-self-elevating-script.aspx