Remove Legacy client and replace with latest new client?
-
@Wayne-Workman https://forums.fogproject.org/topic/6353/upgrade-client-from-0-9-7-to-0-9-9/3
I don’t know yet how it happened I don’t have this on every host.
Maybe I am just unlucky. lol -
@Wayne-Workman Upgrading to 0.9.7 was a very bad idea ! lol
https://forums.fogproject.org/topic/6368/client-updater-loopNow i need to review the script to remove 0.9.7 and 0.9.9 is both are installed…
Any idea how to do this ?I temporary did this since i have no other choice :
::v3.2 - Thanks to Wayne Workman, Robza start /wait wmic product where "Version like '0.9.7' and name like 'FOG Service'" call uninstall /nointeractive start /wait wmic product where "Version like '0.9.9' and name like 'FOG Service'" call uninstall /nointeractive set programpath=%programfiles(x86)% IF %PROCESSOR_ARCHITECTURE%==x86 set programpath=%programfiles% IF EXIST "%programpath%\FOG\fog.ca.cer" GOTO END set FogServerIP=fog-server start /wait wmic product where "Version like '3.0.29' and name like 'FOG Service'" call uninstall /nointeractive start /wait bitsadmin /transfer FOGService /download /priority normal http://%FogServerIP%/fog/client/FOGService.msi %temp%\FOGService.msi start /wait msiexec /i %temp%\FOGService.msi /quiet WEBADDRESS="%FogServerIP%" :END
-
@jmeyer I think the best bet would be to see if you can add a few checks. First you need to see if the legacy client is installed and remove it if it does exist. Second, if there is not other client installed, install A NEW client. I emphasize on the A in hopes it means installing one. Don’t scan for a version and only install the new client if there isn’t one installed. The new client will update itself so there should be no need to specify one version over another.
-
@Tom-Elliott Client 0.9.7 doesn’t update itself. That’s the big problem.
-
@jmeyer That is 100% untrue.
I say this because while what you’re saying may be true in your environment, it’s not the actual case of the “big problem”.
How do I know this?
I have tested this and so has @jbob.
We’ve installed 0.9.7 on a system, and then watched as it miraculously updated to 0.9.9. (Miraculously being that we didn’t do anything other than watch and Client 0.9.7 did update itself).
-
@Tom-Elliott How detect that 0.9.9 is seen as 0.9.7 ?
I need help for the code… I am stuck. -
-
@Wayne-Workman Nevermind.
-
@Wayne-Workman Hi Wayne, keeping an eye on all the scripting tweaks for removing old client and installing new one however I’m still facing issue with installing new client and getting error:
“Failed to download CA certificate”
This has happened to others and in this post it stated that the new client can only be downloaded and installed in conjunction with the new development versions of FOG. Another user had issue on the development version and Tom Elliot had to remote in and edit some files to get it to work - wondering if mine needs something similar?
Happy to edit the files needed if I can be given some guidance on what to look for.
regards Kiweegie.
-
@Wayne-Workman Sorry Wayne ignore last re fog certificate. Issue was only on my laptop and has since been resolved.