otya128 / winevdm

16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows
GNU General Public License v2.0
2.66k stars 152 forks source link

16 Bit Application not opening on windows 10 #1009

Open Octavious opened 3 years ago

Octavious commented 3 years ago

Describe the bug I am trying to run a setup of an 16 bit old application the setup window shows for few seconds and then it disappears

Expected behavior that the setup runs, and later on the installed application to run

Screenshots NA

Environment (please complete the following information):

Additional context NA

Trace attached trace.txt

cracyc commented 3 years ago

You're using a very old version. Get the zip from https://ci.appveyor.com/project/otya128/winevdm/builds/39962429/job/imb75b4mmeyijb8c/artifacts and try that.

Octavious commented 3 years ago

still the same issue, can you please guide me how to generate the trace file, it seems i dont have that page anymore

cracyc commented 3 years ago

https://github.com/otya128/winevdm/issues/226#issuecomment-779702542

Octavious commented 3 years ago

trace attached

trace.txt

cracyc commented 3 years ago
8dd0:Call KERNEL.166: WINEXEC(12174f2c "C:\\Users\\LUAYAB~1\\AppData\\Local\\Temp\\_INS0432._MP",0001) ret=120f:11fe ds=1217
7a48:CallTo16(func=138f:006c,ds=13bf) ss:sp=13bf:1414 ax=0000 bx=1400 cx=0000 dx=0000 si=1397 di=13bf bp=0000 es=13a7 fs=0053
7a48:Call WINOLDAP.0: () ret=102f:0458 ds=13bf
     AX=0000 BX=1400 CX=0000 DX=0000 SI=1397 DI=13bf ES=13a7 EFL=00003202
8dd0:Ret  KERNEL.166: WINEXEC() retval=000013bf ret=120f:11fe ds=1217
8dd0:Call KERNEL.88: LSTRCPY(12174f2c,12470004 "E:\\") ret=120f:5b35 ds=1217
8dd0:Ret  KERNEL.88: LSTRCPY() retval=12174f2c ret=120f:5b35 ds=1217
8dd0:Call USER.472: ANSINEXT(12174f2c) ret=120f:5e95 ds=1217
8dd0:Ret  USER.472: ANSINEXT() retval=12174f2d ret=120f:5e95 ds=1217
8dd0:Call USER.472: ANSINEXT(12174f2d) ret=120f:5e95 ds=1217
8dd0:Ret  USER.472: ANSINEXT() retval=12174f2e ret=120f:5e95 ds=1217
8dd0:Call USER.472: ANSINEXT(12174f2e) ret=120f:5e95 ds=1217

This should say "Strange error set by CreateProcess: 740" then print an elevation dialog. Are you running it as a user that can be elevated?

Octavious commented 3 years ago

yes, i run cmd as an admin

cracyc commented 3 years ago

Do you get an elevation prompt when you start the installer?

Octavious commented 3 years ago

no, no prompt

cracyc commented 3 years ago

If you can try some other installshield installer to see if this is a problem specific to this one or not. Otherwise there's nothing obviously wrong in the trace and I can't repo it with installshield here so I'm not sure what else to suggest. The 16bit part is a stub that launches a win32 program which is the real installer so the problem might not even be with winevdm.

Octavious commented 3 years ago

mmmm, well i will try to find some other 16 bits installer although i doubt that i will find.

i tried the installer on an XP VM and it worked, i am not sure if this information helps

cracyc commented 3 years ago

These are really common. The win32 version of simcity 2000 uses the same installer for example.

Octavious commented 3 years ago

does it help if i share the iso file with you?

cracyc commented 3 years ago

It might.

Octavious commented 3 years ago

https://drive.google.com/file/d/1xXaXUL6rOiJotDqkSUidlpByZxJPyZqc/view?usp=sharing

cracyc commented 3 years ago

The installer works fine for me so I don't know what's happening, That said you can just run prog.exe from the cd to use the program. The only problem I see is the movie is misaligned on the first screen.

Octavious commented 3 years ago

ok, thanks, i will give it a try on another PC

Thanks for your time

suspenser-github commented 2 years ago

Hi, I have a similar problem.

I installed a PLC programming software, which runs flawlessly on a 32-bit Windows XP, on my (and on a second) laptop running 64-bit Windows 10 Pro, ver. 21H2, build 19044.1387, by means of the software's 32-bit installer InstallShield.

The installer installs several 32-bit and 16-bit apps and puts several (.dll, .ocx, .vbx and .exe) files into the Windows /system and /SysWOW64 (redirected from /system32) folders.

Unfortunately some 16-bit apps (the main and other apps) don't work with OTVDM (ver. 2198). When launching an app the splash window of the app appears for few seconds and then disappears. The Windows Task Manager shows "Windows Problem Reporting" and the Windows Event Viewer shows "Application Error" (Faulting application path: C:\otvdm\otvdm.exe, Faulting module path: C:\otvdm\dll\krnl386.exe16).

A trace files and screenshots are attached.

Could someone help to overcome this issue. Any help is highly appreciated.

trace.zip ScreenShots.zip