leecher1337 / ntvdmx64

Run Microsoft Windows NTVDM (DOS) on 64bit Editions
780 stars 80 forks source link

Better re-install support #204

Open diamondo25 opened 1 year ago

diamondo25 commented 1 year ago

After a windows update I had an issue where the installer wouldn't properly remove the DLLs in the Backup folder, and this eventually caused the runtime to crash on launch. After i had unstalled the software, manually remove the dlls, and reinstall, it would work properly (finally). The installer did report that it couldn't write to the Backup folder for 1 DLL, but it wasn't clear this was actually a critical error (as the software didn't work).

leecher1337 commented 1 year ago

I guess this is related to WOW16 support? So what were the filenames of the files affected? wow32.dll and/or user.exe ? Because these files are shipped with Windows and just contain useless stub code, thus crashing the NTVDM when they are not replaced with the proper copies from NTVDMx64 and may come back from original versions i.e. with a sfc check or maybe also an update. But as you didn't specify filenames of files affected, this is just a guess, so further information is needed.

diamondo25 commented 1 year ago

I recall something like com... Being the one that was not being overwritten because it was in use.

leecher1337 commented 1 year ago

compobj.dll from OLE2 libraries?

diamondo25 commented 1 year ago

Yea