Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer Details Missing a Few Things... #1

Closed
dalponis opened this issue Aug 9, 2016 · 7 comments
Closed

Installer Details Missing a Few Things... #1

dalponis opened this issue Aug 9, 2016 · 7 comments

Comments

@dalponis
Copy link

dalponis commented Aug 9, 2016

Your installer needs some work.

I had to install C++ 2015 x64/x86...

There was no W:\binaries so I had to just manually move all files to release\dos...

And after reboot applications still won't run, they error out just as they always has.

@leecher1337
Copy link
Owner

  1. Build instructions work fine for me on Windows XP 32bit. Installer .bat file worked in my Win 10 64bit VDM too. Can you specify which problems occur to you?

  2. The loader scripts are written with VC++ 2015, that's correct. However the repository already contains prebuilt .DLLs in the release-subdirectory, so you don't necessarily need to build them on your own if you do not want to. Files in repo are the ones thta work for me.

  3. Which OS did you try to build on? As said, I tried on XP 32bit and there it worked for me.

  4. Did you check if ldntvdm.dll gets injected into every process properly or at east into explorer.exe after reboot? Did you use prebuilt .dlls from this package for testing?
    If is does not get loaded into processes (you can check with process exlorer), there may be limitations like an active "secure boot" which I think gets used automatically for UEFI boot on raw machines. I think I just had MBR-Boot machines to test yet where it works flawlessly. You can try to turn secure boot off, if this prevents the DLLs from loading (https://msdn.microsoft.com/en-us/windows/hardware/commercialize/manufacture/desktop/disabling-secure-boot).
    If DLLs get loaded, they usually print out error information via OutputDebugString(), so you can use DbgView to capture their output (maybe injections into other processes fail on your version?)

@benreben
Copy link

Hi Leecher1337,

first thx for your work, is an very good idea to reborn ntvdm in 64bit.

but i think the problem @dalponis is your tutorial... in your point 1) b) the path is nt\public\sdk

regards

@benreben
Copy link

benreben commented Aug 18, 2016

sorry after long compile i have same error. at last mkrelease have 7 files not found (ntvdm include).

compil on virtual machine xp32bit

can you send me your compiled for test ?

@leecher1337
Copy link
Owner

leecher1337 commented Aug 21, 2016

I think I found out the cause... The kernel32.lib needs to be adjusted for Windows 10, as RegisterConsoleVDM function takes a different number of parameters there.. The reason why I fell for this is that I always copied my (already sane) SDK directory over during testing instead of extracting it again assuming that it only contains SDK stuff and not the lib files, oops :)
Will work on a patch and deploy it shortly, meanwhile sorry for the inconvenience caused

@benreben
Copy link

have test on windows 7 64 bits and don't work too.
in waiting of tour patch...
thx

@leecher1337
Copy link
Owner

Patch commited, hopefully it works now.

@leecher1337
Copy link
Owner

No comment has been posted, so I assume this can be considered fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants