• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Remove legacy client and install 0.9.5 client

    Scheduled Pinned Locked Moved
    General
    5
    17
    6.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • johnomazJ
      johnomaz
      last edited by johnomaz

      Had anyone found a way to issue a command to remove the old legacy client and install the new client? using the msiexec commands have proven unsuccessful to remove the old legacy client. I edited the new client’s msi file to put my servers IP address in and it looks like it’ll deploy out via AD just fine but removing the legacy client is the issue. I have 1000+ computers with it and manual removal looks to be a long process.

      Nevermind, I had a brainfart moment and forgot I can just use the Product ID. msiexec /x {91C5D423-B6AB-4EAB-8F17-2BB3AE162CA1} if anyone happens to be looking for this info too.

      if exist "C:\Program Files (x86)\FOG\Handlers.dll" goto end
      if exist "C:\Program Files\FOG\Handlers.dll" goto end
      goto update
      :update
      msiexec /x {91C5D423-B6AB-4EAB-8F17-2BB3AE162CA1} /quiet /passive
      \\pathtomsi\FOGService.msi /qn /passive
      net stop fogservice
      net start fogservice
      :end
      

      I’m sure there is a more elegant way of doing it, but this works.

      1 Reply Last reply Reply Quote 1
      • Scott BS
        Scott B
        last edited by

        That works great, but how do you tell the new client your FOG’s address or is that some kind of magic with the new client, not necessary?

        1 Reply Last reply Reply Quote 0
        • johnomazJ
          johnomaz
          last edited by

          I used Orca to edit the MSI and change fog-server to my server’s IP address.

          That screen shot is the place where you can edit the MSI file and add your own IP address in.
          https://imgur.com/EYPkqsj

          1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman
            last edited by

            I’m currently testing out the new client on just my workstation right now at work.

            Here soon I’ll be removing all the old clients and pushing out the new one. I’ll update this thread when I get to that.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • johnomazJ
              johnomaz
              last edited by

              So far the removal has been very smooth. I’ve checked about 60 or so workstations in two computer labs and they have all done it just fine. Printers have also reappeared.

              Wayne WorkmanW 1 Reply Last reply Reply Quote 2
              • Wayne WorkmanW
                Wayne Workman @johnomaz
                last edited by

                @johnomaz I was planning on doing something similar to what you did, and my plan always involves using msiexec and product codes 🙂

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • J
                  Joe Schmitt Senior Developer
                  last edited by Joe Schmitt

                  @johnomaz , a couple quick notes:

                  1. Handlers.dll will not exist in newer version of the client, FOGService.exe is the safest file to check for.
                  2. Any setting you see in the MSI can be set via CLI arguments. For example, to set the server address, just append WEBADDRESS=“x.x.x” to the install command.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  1 Reply Last reply Reply Quote 1
                  • johnomazJ
                    johnomaz
                    last edited by johnomaz

                    @Jbob I used Handlers.dll because it doesn’t exist with the legacy client install. If in the next version of the client it doesn’t exist, I’ll change the argument to look for a different file. FOGService.exe exists for all versions so it would never uninstall if it found the file on the legacy install.

                    1 Reply Last reply Reply Quote 0
                    • J
                      Joe Schmitt Senior Developer
                      last edited by

                      @johnomaz ,the next version should automatically remove the legacy client:
                      https://github.com/FOGProject/fog-client/issues/31

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Scott BS 1 Reply Last reply Reply Quote 3
                      • Scott BS
                        Scott B @Joe Schmitt
                        last edited by

                        @Jbob said:

                        @johnomaz ,the next version should automatically remove the legacy client:
                        https://github.com/FOGProject/fog-client/issues/31

                        Do you mean the next SVN or the next version of the client (0.9.6?).

                        1 Reply Last reply Reply Quote 0
                        • J
                          Joe Schmitt Senior Developer
                          last edited by

                          Version of the client.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          1 Reply Last reply Reply Quote 0
                          • d4rk3D
                            d4rk3
                            last edited by d4rk3

                            1. Open a command prompt as Administrator.
                            2. Type wmic and hit enter.
                            3. /node:“Computer-01”,“Computer-02”,“Computer-03” /user:domain\user /password:password product where name=“FOG Service” call uninstall /nointeractive
                            4. From there you can deploy the new client 🙂
                            Wayne WorkmanW 1 Reply Last reply Reply Quote 1
                            • Wayne WorkmanW
                              Wayne Workman @d4rk3
                              last edited by

                              @d4rk3 While a valid solution, it’s not all that easy to accomplish when you have 500 to 6,000 hosts…

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              d4rk3D 1 Reply Last reply Reply Quote 0
                              • d4rk3D
                                d4rk3 @Wayne Workman
                                last edited by

                                @Wayne-Workman Other than waiting for v0.9.6/re-imaging are there any easy ways to accomplish this on a large amount of hosts?

                                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                • J
                                  Joe Schmitt Senior Developer
                                  last edited by

                                  @d4rk3 Snapins. If you are smart about forking processes you could use a snapin to upgrade the client.

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @d4rk3
                                    last edited by Wayne Workman

                                    @d4rk3 Or if your clients are bound to Active Directory, you can use a simple startup script similar to what is in the first post.

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    1 Reply Last reply Reply Quote 0
                                    • d4rk3D
                                      d4rk3
                                      last edited by

                                      I’ve already upgraded all of my clients, I was just genuinely curious to know if any easier methods existed 🙂

                                      1 Reply Last reply Reply Quote 0
                                      • 1 / 1
                                      • First post
                                        Last post

                                      203

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project