1 Reply Latest reply: Jul 18, 2012 8:53 AM by Andrew Ferguson RSS

    Force installation of QV11 IE plugin by replacing QV9 IE plugin

    Raja Mohan
      Dear All,
      We wish to reduce the manual efforts of the uninstall old version and install new version of QV plugin.
      So, is there anyway we can do the force installation (silent push) of QV11 IE plugin by uninstalling QV 9 plugin automatically?
      Pls. suggest.
      Thanks.
      Best Regards,
      MOHAN
        • Re: Force installation of QV11 IE plugin by replacing QV9 IE plugin

          I wrote this script for that very purpose after messing around with SCCM and Active Directory to try and force an install over the top of v9. It fits our environment but will need amending to suit yours. Run it as a Computer startup script in AD or if your users have admin rights to their machine they could run it manually or add it to an existing login script or GP preference. It will only run once due to setting a flag (text file) If this flag exists on the client PC the script will terminate. Simple script but it works fine.

           

          Hope it helps

           

           

           

          @ECHO OFF

           

           

          IF EXIST "C:\PluginInstallFlag.txt" GOTO END

           

           

           

          ECHO **** BEGIN FILE COPY ****

           

          del c:\QVPluginSetup.msi

           

          copy \\yourDC\netlogon\QvPluginSetup.msi c:\

           

          copy \\yourDC\netlogon\PluginInstallFlag.txt c:\

           

          ECHO.

           

          ECHO **** FILE COPIED SUCCESSFULLY ****

           

          ECHO.

           

          IF NOT EXIST "C:\Program Files\QlikView\QlikOcx\QlikOCX.ocx" GOTO INSTALL

           

          ECHO.

           

          ECHO **** UNINSTALL START ****

           

          MsiExec.exe /x{52F54E3D-38D5-4E4C-B1D3-286070CA18E6} /quiet

           

          ECHO.

           

          ECHO **** UNINSTALL COMPLETE ****

           

          ECHO.

           

          GOTO INSTALL

           

          : INSTALL

           

          ECHO.

           

          ECHO **** INSTALL START ****

           

          ECHO.

           

          msiexec /i "C:\QvPluginSetup.msi" ALLUSERS=1 /quiet

           

          ECHO.

           

          ECHO **** INSTALL COMPLETE ****

           

          ECHO.

           

          GOTO END

           

          : END

           

          ECHO **** QlikView Client Install Complete ****