7.6.9 Upgrade Fails on Windows 10

Moderators: Site Moderators, FAHC Science Team

Ardemus
Posts: 14
Joined: Sat Apr 18, 2020 7:03 am

Re: 7.6.9 Upgrade Fails on Windows 10

Post by Ardemus »

Thanks jrweiss. And thanks goates, you are experiencing exactly what I am. I also have tried all of those things and more, with no success, except going through and manually deleting the entire folder. I'd rather not try the brute force suggestion since Windows installers usually riddle the OS with files, and it's highly unlikely that I could root it all out without a guide to what's actually hidden all over the file system. Without that guide, I'd likely just break the current install and there's a good chance reinstalling will still fail, leaving me unable to run FAH at all.
jrweiss
Posts: 707
Joined: Tue Dec 04, 2007 6:56 am
Hardware configuration: Ryzen 7 5700G, 22.40.46 VGA driver; 32GB G-Skill Trident DDR4-3200; Samsung 860EVO 1TB Boot SSD; VelociRaptor 1TB; MSI GTX 1050ti, 551.23 studio driver; BeQuiet FM 550 PSU; Lian Li PC-9F; Win11Pro-64, F@H 8.3.5.

[Suspended] Ryzen 7 3700X, MSI X570MPG, 32GB G-Skill Trident Z DDR4-3600; Corsair MP600 M.2 PCIe Gen4 Boot, Samsung 840EVO-250 SSDs; VelociRaptor 1TB, Raptor 150; MSI GTX 1050ti, 526.98 driver; Kingwin Stryker 500 PSU; Lian Li PC-K7B. Win10Pro-64, F@H 8.3.5.
Location: @Home
Contact:

Re: 7.6.9 Upgrade Fails on Windows 10

Post by jrweiss »

After a brute force uninstall, I do a search for appropriate strings in both Windows Explorer and Regedit to find and purge the file structure and Registry of unwanted files, folders, and keys. Usually takes 5 minutes or less...
Ryzen 7 5700G, 22.40.46 VGA driver; MSI GTX 1050ti, 551.23 studio driver
Ryzen 7 3700X; MSI GTX 1050ti, 551.23 studio driver [Suspended]
Ardemus
Posts: 14
Joined: Sat Apr 18, 2020 7:03 am

Re: 7.6.9 Upgrade Fails on Windows 10

Post by Ardemus »

jrweiss wrote:After a brute force uninstall, I do a search for appropriate strings in both Windows Explorer and Regedit to find and purge the file structure and Registry of unwanted files, folders, and keys. Usually takes 5 minutes or less...
I appreciate the suggestion. Yes, there's a good chance of success, but the current version is working, and there's also a good chance of breaking that. It seems wiser to wait for a safer solution.

I don't trust that everything is registered and named appropriately. If this project was developed appropriately, then I'd be able to update without uninstalling and I'd have an uninstaller matching what's registered with Windows. I'm also years out of date on Windows internal details. There were rumblings of a more robust system to replace the registry, designed for OOP manipulation through .net and Powershell. I know that the registry still exists, but are you sure there aren't other hidey holes to clean out?
jrweiss
Posts: 707
Joined: Tue Dec 04, 2007 6:56 am
Hardware configuration: Ryzen 7 5700G, 22.40.46 VGA driver; 32GB G-Skill Trident DDR4-3200; Samsung 860EVO 1TB Boot SSD; VelociRaptor 1TB; MSI GTX 1050ti, 551.23 studio driver; BeQuiet FM 550 PSU; Lian Li PC-9F; Win11Pro-64, F@H 8.3.5.

[Suspended] Ryzen 7 3700X, MSI X570MPG, 32GB G-Skill Trident Z DDR4-3600; Corsair MP600 M.2 PCIe Gen4 Boot, Samsung 840EVO-250 SSDs; VelociRaptor 1TB, Raptor 150; MSI GTX 1050ti, 526.98 driver; Kingwin Stryker 500 PSU; Lian Li PC-K7B. Win10Pro-64, F@H 8.3.5.
Location: @Home
Contact:

Re: 7.6.9 Upgrade Fails on Windows 10

Post by jrweiss »

Ardemus wrote:If this project was developed appropriately, then I'd be able to update without uninstalling and I'd have an uninstaller matching what's registered with Windows. I'm also years out of date on Windows internal details. There were rumblings of a more robust system to replace the registry, designed for OOP manipulation through .net and Powershell. I know that the registry still exists, but are you sure there aren't other hidey holes to clean out?
Well, I don't know why it was "developed appropriately" for me, but not for you. I updated without uninstalling, and I have the uninstaller. I don't know what drivers and protection apps (anti-virus, anti-malware, firewall, etc) you have, but one of them may be interfering with successful [un]installations.

These days, it is IMPOSSIBLE for a software developer to foresee EVERY combination of software and hardware. Sometimes the end user just has to do some manual intervention...

If 7.5.1 is working for you, then just stay with it. I suspect it will be a VERY long time before it is deprecated...
Ryzen 7 5700G, 22.40.46 VGA driver; MSI GTX 1050ti, 551.23 studio driver
Ryzen 7 3700X; MSI GTX 1050ti, 551.23 studio driver [Suspended]
Ardemus
Posts: 14
Joined: Sat Apr 18, 2020 7:03 am

Re: 7.6.9 Upgrade Fails on Windows 10

Post by Ardemus »

You're protective of FAH, which is understandable. I wouldn't be here if I didn't value the project, and what it does. I'm investing my time more to help the community get a jump on the problem than get a solution for myself. I'd like to see FAH maintain the huge surge in popularity that their COVID-19 project has brought them. To do so, they'll have to support a far larger, far less tech savvy, user base.

This machine is a basic AMD self built using popular components. Scanning my Start Menu and "Apps and Features", this is everything I've installed:
  • Game Clients (Steam, Oculus, Oculus Tray Tool, GOG, each with a collection of games
    and not allowed to run in the background unless I launch them)
  • Chrome
  • Firefox
  • Spotify
  • Notepad++
  • windirstat
  • FOH
  • CPU-Z
  • zoom
  • driver packages (AMD Graphics, MSI MB, Samsung Monitor, MS Input, Logitech Input)
I did have the userbenchmark test installed, but I've removed it. I've run autoruns, but that doesn't involve installing anything. It doesn't get much simpler for a real system with a useful graphics card. Oculus and FAH are the only things I'd suspect of interfering with other apps.

I'm aware of the challenges involved in software development and QA. FAH is great for an internal tool shared by experts, which I think is the level it has operated at, but there are weaknesses compared to the best mainstream products. I'm confident that this is a problem with FAH, and it's a problem that many others will face as time goes on. There are already two of us with this exact problem who took the time to find this forum, and that's before the mods even setup a section for the release.
VxJasonxV
Posts: 35
Joined: Tue Apr 21, 2020 7:25 am
Hardware configuration: Win11 FAH7.6.21
i9-9900K
RTX 2080 Ti

Re: 7.6.9 Upgrade Fails on Windows 10

Post by VxJasonxV »

Coincidentally, Ardemus, you named the source of the problem. I too had this problem, there is one minorly strange detail.

Yes, my installer also hung at SSLeay32.dll as well. I chose to try deleting the Program Files x86\FAHclient directory specifically. I was able to delete all but three files, the deletion dialog tells you why it can't:

Image
Image
Image

Why GOG Galaxy took hold of them is beyond me, but after shutting GOG Galaxy down (I'll point out this is 2.0, as well) I was able to delete the folder. It's still off, I'm going to run the 7.6.9 installer, let's see how it goes.
VxJasonxV
Posts: 35
Joined: Tue Apr 21, 2020 7:25 am
Hardware configuration: Win11 FAH7.6.21
i9-9900K
RTX 2080 Ti

Re: 7.6.9 Upgrade Fails on Windows 10

Post by VxJasonxV »

Hopefully my posts get approved in order, otherwise this one will not make any sense. Since I can't edit my original post to add, since it's in moderation as a new user: hey mods! if you're reading this, please make sure my other post explaining the issue is approved first, please!

I closed GOG Galaxy, deleted the FAHclient program directory, was able to run the 7.6.9 installer successfully. I'm curious to know if it's sufficient to close GOG Galaxy and run the 7.6.9 installer without any other steps. Might be? Anyone stumbling across this post, please try that first.
Forcen
Posts: 1
Joined: Tue Apr 21, 2020 8:45 am

Re: 7.6.9 Upgrade Fails on Windows 10

Post by Forcen »

VxJasonxV wrote:I'm curious to know if it's sufficient to close GOG Galaxy and run the 7.6.9 installer without any other steps. Might be? Anyone stumbling across this post, please try that first.
I can confirm that closing GOG galaxy lets me run the installer without problems. Thanks for letting me know.

I'm running GOG galaxy 2.0.13 beta on Windows 10 version 1909 (OS version 18363.778).
Ardemus
Posts: 14
Joined: Sat Apr 18, 2020 7:03 am

Re: 7.6.9 Upgrade Fails on Windows 10

Post by Ardemus »

VxJasonxV wrote:after shutting GOG Galaxy down (I'll point out this is 2.0, as well) I was able to delete the folder.
Thanks Jason. I'm non running the GOG 2.0 beta, but apparently I was letting GOG 1.2 start in the background at boot on this system. Exiting GOG through the systray freed the DLLs and the FAH update went fine.
VxJasonxV wrote:Why GOG Galaxy took hold of them is beyond me
I don't know a lot about library registration in Windows. However, I doubt that GOG took hold of the DLLs from FAH. I installed GOG months before FAH, and GOG doesn't have file system access to the FAH directory during updates. I checked the gcc dll (gnu c compiler?) out of curiosity, and the file in the FAH directory is twice the size and 2 years older than GOG's copies. I would guess that FAH registered it's own copies of a few libraries at a system level, superseding other system level registration of the same libraries, and maybe downgrading the system's shared libraries in the process. I hope that's not the case.

It may well be that both GOG and FAH intalled the same subordinate app, and the older version FAH installed overwrote the registrations for the newer version GOG installed. Regardless, I'd recommend that someone look into it. If FAH is downgrading shared libraries, it will cause problems for other apps.
Ardemus
Posts: 14
Joined: Sat Apr 18, 2020 7:03 am

Re: 7.6.9 Upgrade Fails on Windows 10

Post by Ardemus »

Is there a way to mark a thread as resolved, or mark a post as a solution?
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: 7.6.9 Upgrade Fails on Windows 10

Post by bruce »

I don't understand why GoG Galaxy would be putting programs in Program Files x86\FAHclient. The developer made what seemed like a reasonable assumption that the subdirectory named FAHClient could be owned by the developer of software named FAHClient.
Chris_TG
Posts: 17
Joined: Tue Apr 21, 2020 4:31 pm

Re: 7.6.9 Upgrade Fails on Windows 10

Post by Chris_TG »

bruce wrote:I don't understand why GoG Galaxy would be putting programs in Program Files x86\FAHclient. The developer made what seemed like a reasonable assumption that the subdirectory named FAHClient could be owned by the developer of software named FAHClient.
I think the strange behaviour is connected to the fact that windows can't load different instances of shared DLLs with the same filename. Instead it just increases an internal counter for how often this particular DLL is in use ATM and inform the requesting program "yep, it's already there".
For example: If you have program 1 in autostart loading DLL "zlib.dll" and then starting program 2 that also want to load this DLLs, it will use the already loaded DLL.
In VxJasonxV's case it seems that the GoG-client uses the DLLs already loaded by the FAHclient, so if you keep the GoG-client running when you try to uninstall the FAHclient, it will complain.
goates
Posts: 4
Joined: Sun Apr 19, 2020 5:17 am

Re: 7.6.9 Upgrade Fails on Windows 10

Post by goates »

Disabling the GOG client worked for me as well. The GOG client had already been installed on my system so I doubt it installed anything into the FAHClient directory. Chris_TG's suggestion makes sense though.

And using the Express Install option there is now an Uninstall.exe in the FAHClient directory. I used the Custom Install previously, mostly just to see where it wanted to install everything, so maybe there is an issue there with not including the uninstaller.
jrweiss
Posts: 707
Joined: Tue Dec 04, 2007 6:56 am
Hardware configuration: Ryzen 7 5700G, 22.40.46 VGA driver; 32GB G-Skill Trident DDR4-3200; Samsung 860EVO 1TB Boot SSD; VelociRaptor 1TB; MSI GTX 1050ti, 551.23 studio driver; BeQuiet FM 550 PSU; Lian Li PC-9F; Win11Pro-64, F@H 8.3.5.

[Suspended] Ryzen 7 3700X, MSI X570MPG, 32GB G-Skill Trident Z DDR4-3600; Corsair MP600 M.2 PCIe Gen4 Boot, Samsung 840EVO-250 SSDs; VelociRaptor 1TB, Raptor 150; MSI GTX 1050ti, 526.98 driver; Kingwin Stryker 500 PSU; Lian Li PC-K7B. Win10Pro-64, F@H 8.3.5.
Location: @Home
Contact:

Re: 7.6.9 Upgrade Fails on Windows 10

Post by jrweiss »

I use Custom Install, and I have the Uninstaller.
Ryzen 7 5700G, 22.40.46 VGA driver; MSI GTX 1050ti, 551.23 studio driver
Ryzen 7 3700X; MSI GTX 1050ti, 551.23 studio driver [Suspended]
Ardemus
Posts: 14
Joined: Sat Apr 18, 2020 7:03 am

Re: 7.6.9 Upgrade Fails on Windows 10

Post by Ardemus »

bruce wrote:I don't understand why GoG Galaxy would be putting programs in Program Files x86\FAHclient. The developer made what seemed like a reasonable assumption that the subdirectory named FAHClient could be owned by the developer of software named FAHClient.
GoG didn't do anything to the FAHclient folder on my system. I installed FAH months later.
Chris_TG wrote:If you have program 1 in autostart loading DLL "zlib.dll" and then starting program 2 that also want to load this DLLs, it will use the already loaded DLL.
If you're correct, wouldn't restarting with FAH disabled fix the problem? FAH wouldn't load any libraries, so GOG would load it's own libraries, and nothing in FAH would be locked. However, I tried that and it didn't change anything.
Post Reply