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

install.inf Not Working for Windows 1 Apps #702

Closed
techana opened this issue Jun 12, 2020 · 2 comments
Closed

install.inf Not Working for Windows 1 Apps #702

techana opened this issue Jun 12, 2020 · 2 comments

Comments

@techana
Copy link

techana commented Jun 12, 2020

Describe the bug
I right-clicked on install.inf and selected "Install", but still can't run programs made for Windows 1 directly from the File Explorer. When I click on a program, e.g. calc.exe, I get a message saying: "This app can't run on your PC"

I can directly run programs for Windows 2 and above though.

Expected behavior
I expect executing programs made for Windows 1 when double-clicking on them.

Environment (please complete the following information):

  • OS: Windows 10 x64 v.2004
  • Version: otvdm-master-1745
@techana techana changed the title install.inf Not Working install.inf Not Working for Windows 1 Apps Jun 13, 2020
@cracyc
Copy link
Contributor

cracyc commented Jun 13, 2020

Windows checks the expected os version in the ne header and only excepts 2 or 3 as win16 programs. Windows 1.0 programs have 0 there so are treated as dos programs and not passed to ntvdm64.dll. Only microsoft could fix this but since it's been this way since at least windows xp I wouldn't expect them to.

@otya128 otya128 closed this as completed Jun 13, 2020
@techana
Copy link
Author

techana commented Jun 13, 2020

Thank you for the answer.

I'm sorry to add to this after closing the issue, but I was able to run Windows 1 apps directly by changing their headers (at address 0x43F) from 0x00 to 0x02.

% printf "\x02" | dd of=CALC.EXE bs=1 seek=0x43f count=1 conv=notrunc

All apps worked except: CALENDAR.EXE, CARDFILE.EXE and WRITE.EXE.

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