• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
7.1k
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.
  • J
    johnomaz
    last edited by johnomaz Oct 29, 2015, 12:52 PM Oct 29, 2015, 5:25 PM

    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
    • S
      Scott B
      last edited by Oct 29, 2015, 7:03 PM

      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
      • J
        johnomaz
        last edited by Oct 29, 2015, 8:20 PM

        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
        • W
          Wayne Workman
          last edited by Oct 29, 2015, 9:41 PM

          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
          • J
            johnomaz
            last edited by Oct 29, 2015, 10:05 PM

            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.

            W 1 Reply Last reply Oct 29, 2015, 10:12 PM Reply Quote 2
            • W
              Wayne Workman @johnomaz
              last edited by Oct 29, 2015, 10:12 PM

              @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 Oct 29, 2015, 4:42 PM Oct 29, 2015, 10:41 PM

                @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
                • J
                  johnomaz
                  last edited by johnomaz Oct 30, 2015, 8:03 AM Oct 30, 2015, 2:02 PM

                  @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 Oct 30, 2015, 2:53 PM

                    @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.

                    S 1 Reply Last reply Oct 30, 2015, 6:48 PM Reply Quote 3
                    • S
                      Scott B @Joe Schmitt
                      last edited by Oct 30, 2015, 6:48 PM

                      @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 Oct 30, 2015, 6:54 PM

                        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
                        • D
                          d4rk3
                          last edited by d4rk3 Oct 30, 2015, 1:08 PM Oct 30, 2015, 7:06 PM

                          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 🙂
                          W 1 Reply Last reply Oct 30, 2015, 11:54 PM Reply Quote 1
                          • W
                            Wayne Workman @d4rk3
                            last edited by Oct 30, 2015, 11:54 PM

                            @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/

                            D 1 Reply Last reply Oct 31, 2015, 12:36 AM Reply Quote 0
                            • D
                              d4rk3 @Wayne Workman
                              last edited by Oct 31, 2015, 12:36 AM

                              @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?

                              W 1 Reply Last reply Oct 31, 2015, 2:51 AM Reply Quote 0
                              • J
                                Joe Schmitt Senior Developer
                                last edited by Oct 31, 2015, 2:19 AM

                                @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
                                • W
                                  Wayne Workman @d4rk3
                                  last edited by Wayne Workman Oct 30, 2015, 8:51 PM Oct 31, 2015, 2:51 AM

                                  @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
                                  • D
                                    d4rk3
                                    last edited by Oct 31, 2015, 6:24 PM

                                    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
                                    1 / 1
                                    • First post
                                      16/17
                                      Last post

                                    175

                                    Online

                                    12.1k

                                    Users

                                    17.3k

                                    Topics

                                    155.3k

                                    Posts
                                    Copyright © 2012-2024 FOG Project