6 Replies Latest reply on Jan 14, 2009 12:08 PM by Lance Lutt

    Tuner Install

    Sriramakrishna Laxminarayan

      Hi ,
               I had a query regarding the install on BMC CM Tuner.
      1) There is an exisisting tuner installed on the wks but the licence is held by another group now since we are buying licences for BMC CM , i need to know during the cutover can i have 2 tuner running on a workstations.
      2) Are there any script that can uinstall the old tuner and reinstall the new tuner?

      Please help

        • 1. Re: Tuner Install

          Yes sriram, you can install two tuners on a single machine.

          You need to cahnge the listening port and the tuner workspace while installation of the tuner.

          Also, to uninstall the existing tuner you can go to add/remove progarms and uninstall the tuner from there.

          • 2. Re: Tuner Install

            If you do not have a good reason to have two tuners installed I would remove the first.

            You can remove it using Add/Remove programs, or with a VBS script like this:


            strComputer = "."
            Set objWMIService = GetObject("winmgmts:" _
                & "{impersonationLevel=impersonate}!
            " & strComputer & "\root\cimv2")

            Set colSoftware = objWMIService.ExecQuery <br />    (&quot;Select * from Win32Product Where Name = &#39;TUNERNAME'")

            For Each objSoftware in colSoftware
                objSoftware.Uninstall()
            Next

               

            • 3. Re: Tuner Install
              young so

              I would have agree with Chris.  If you don&#39;t need 2 tuners, I would remove one.  You could also using the windows uninstall key in HKLM/Microsoft/Windows NT/Current Version/Uninstall.  There is the command for the uninstall.

              • 4. Re: Tuner Install

                how can i deploy this scribt??, can i use application package,?

                • 5. Re: Tuner Install
                  young so

                  Yes, if you removing one tuner only.  I would recommand a login script base on group membership. 

                  • 6. Re: Tuner Install

                    I would follow what youngso suggested as far as using HKLM Uninstall string but pass following property and switches when you run msi.

                    msiexec.exe /x {TUNER GUID} WORKSPACE_DELETE_PROMPT=0 WORKSPACE_DELETE=0 /qn /L*v c:\uninstallTuner.log

                    This will run silently and uninstall product but keep your workspace intact so in case any of msi installed products that needs updating can go back to original msi install.

                    I have written a uninstall and reinstall script  but because work policy i cant share it but i can basically give you run down what is required to make this happen.

                     

                    2 files / script file, new tuner install ( i used Stub installer makes it easier when copying to remote Desktop)

                     

                    Script will first uninstall older version.

                     

                    Dont let MSI do all work, stop service and use instsrv.exe(Server2003 resource kit) to remove the service to make this more successful removal. ***  If you skip this will take longer to finish or worse fail to uninstall.***

                     

                    run HKLM uninstall string .***importantly script needs to wait until the command is finished then move on.***

                     

                    run your tuner install.

                     

                    drink a beer pat yourself on the back.

                     

                    I used Adminscript editor to compile the script into executable add installer with it to make eaiser for deployment after everything was said and done i had nice and small executable of 276kb for easy remote deployments.  Hopefully my advice would be helpful for you anybody who may need it.