-
Notifications
You must be signed in to change notification settings - Fork 154
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
InstallShield hanging #226
Comments
This issue appears to still be present in V0.7.0
|
Get the newest build from https://ci.appveyor.com/api/buildjobs/n4nw6xv4ct136wxv/artifacts/otvdm-master-1552.zip |
cracyc, Thanks for the updated version. I gave it a shot, but it appears the issue is still present. Thanks.
|
I tried A10 cuba and the zork nemesis demo that comes with it and neither showed any problem. I'd need more info, which software causes the problem for you, your windows version, etc and a trace to attempt to solve it. |
https://drive.google.com/open?id=1iugUzHHUr9ojL2887gCIgfjmUXMXMp4Y is the program I'm trying to run. This is on a Windows 10 Pro laptop, as well as a Windows 10 Home 1903. \08.02\rslogix5000_v8_02_2001_06_14\ENGLISH\RSLogx5k\setup.exe I will admit that I don't actually know how to provide you with a trace. Thanks Edit: So, on my home computer, it ended up launching, but it took quite while, and it actually launched after I had closed out of otvdm.exe. I'm looking at it closer, and this time the progress bar in the Setup is actually making progress, but seems to chunk every time a new stopthis.now message is displayed. Let me try this again on my pro computer, but it will be after Wednesday. Thanks again. |
Strange. For me it goes quickly and only shows the message once. The cflash installer prints a error after the 32bit part run another 16bit program unelevated so it doesn't work properly but the program does install, don't know if it works. The rslogix installer prints a lot of dll errors but it's a 32bit dll so there's nothing that winevdm can do about it. To do a trace "set WINEDEBUG=+relay" then run otvdm.exe from the command line. It's very verbose so you'll want to redirect stderr with "2> out.txt". |
I have exact same problem. |
Again, need a trace. |
How to provide a trace? |
I am getting the same error trying to install Autocad 14. |
I had the same. |
I am getting the same error trying to install SimTower. |
Again, i can't reproduce this. It can't get fixed without a detailed trace. |
And you still did not tell me how can I provide a detailed trace? |
It's described in the issue template which are the steps to take before reporting a bug. https://github.com/otya128/winevdm/blob/master/.github/ISSUE_TEMPLATE/bug_report.md |
And I did check that and here is what I responded last year about it: "How to provide a trace? The issue template on that page is confusing and many people don't understand what to do. Please provide detailed screenshots with an explaination. |
General note: It wouldn't harm to know essentials like e.g. how to work with a command prompt, a bit of batch etc. before messing with system internals like smuggling in a 16bit Windows layer. Then the description in the issue template should be detailed enough. But in case you've never worked with a command prompt/shell window before:
✏️ Press Win + R, type "cmd" then press Enter 1.5. You might want to change the current directory of the command prompt. Type cd *path-to-new-directory* into the command prompt and hit Enter.
✏️ This is what you type (or just paste) into your command prompt. Hit Enter. Basically this environment variable tells winevdm which events should be logged. set WINEDEBUG=+relay instead as crayc wrote in an earlier comment.
✏️ Run your old executable: Insert the path to the 16bit exe you're trying to run. 3.5. After your're done running the exe you can open Windows Explorer in the current directory with explorer .
... just drag the trace file into the attachment area below the GitHub comment box. Or use a link to Dropbox or the like since these trace files can get quite big. |
Here's the requested trace.txt made using v0.8.1 of otvdm: |
I have almost the exact same error on another InstallShield. otvdm v0.8.1 Here is the trace for it if it helps: |
I'm also getting this problem in several InstallShield setup instances, I've done a trace which I've attached. Using the 2293 build. |
This one is different. The other traces show winexec returning immediately which I can't explain or reproduce but @robrich82, yours shows that the elevation prompt should be shown. Are you getting an elevation prompt. |
I couldn't remember if I saw the prompt or not, I've re-run it and I definitely saw the prompt and chose yes. Attached is the new trace: |
I'm also having this issue. It gets stuck at 45% and sometimes I get spammed with |
Using "Analyze Wait Chain" on the process in the Details tab of the Task Manager may show who is causing the installer to hang. |
I also get these errors:
Where the bottom one keeps repeating |
This is a win32 process so otvdm is waiting on something out of it's control.
Winevdm can't properly work on files in a directory without an 8.3 filename. |
I was able to half-repo this by running the simcity 2000 installer while a program was paused in the debugger. Installshield is calling SendMessageA with a -1 hwnd which sends a broadcast message to all windows. If there is a window that is not handling messages properly the win32 part of the installer will hang, this only applies for installers which show the elevation prompt. There's nothing that winevdm can do to fix this particular problem since the issue is in win32. |
my fix was to uninstall otvdm (cancel the registry edit) and run Winevdmw as administrator (without installing otvdm) I tried running Timmy's sea Advernture but otvdm couldn't have the rights to install (i guess), and i couldn't run the installation as administartor, canceling the registry key and just using winevdmw as administartor fixed it. Thanks! |
otvdm.exe worked flawlessly for me. An install shield application was exhibiting the stalling behavior expressed above, though the install shield application window was responsive, somewhere around 40% the install shield was stalled. I enabled application tracing as described above, but the trace file clearly showed nothing wrong with otvdm.exe. The root cause, which had nothing to do with otvdm.exe, was a conflict between the install shield application and an unrelated running service. I recommend closing as many Windows services as possible before using otvdm.exe. I solved this problem on Windows 10 by exiting the Steam and Epic Games Launcher services. Utilizing the Task Manager process details, I right-clicked on the stalled install shield application and selected "Analyze wait chain". The 16-bit installer was waiting on MagnetEngine.exe (a Steam service) which was also tied into the EpicGamesLauncher.exe, a separate game portal service. Not sure of their dependency, but closing both permitted the install shield to complete. your mileage may vary. |
I wrote installshieldfix to fix a problem where the win32 part of installshield calls SendMessage(HWND_BROADCAST) and some other window fails to pump it's message queue causing a hang. That might be the same problem that you are seeing. |
How does installshieldfix work? Do you just run it if it hangs? |
Get https://github.com/cracyc/installshieldfix/releases/tag/v1.1 then unzip it to your winevdm directory. Uncomment "ElevationShim=isfixload.exe" in otvdm.ini but change it to include the full path to isfixload.exe. |
I get 2 virus detection warnings by downloading this :O |
Half the malware vendors flag as malicious anything that goes deep into the OS the way this does. You have to decide for yourself whether it's likely that anything posted on this page is actually dangerous. (Hint: it isn't.) |
#226 (comment) |
I can confirm this is working for InstallShield Wizard Setup.exe it should be included by default in otvdm if you ask me |
it didn't fix it for me :( |
Attempting to install multiple programs that use the old InstallShield (that requires a 16 bit stub) results in the messages below, and a frozen progress bar
version: 1070 5ca8:fixme:module:LoadModule_wine_implementation 1299: Strange error set by CreateProcess: 740 04fc:err:file:RedirectDriveRoot 166: c:\stopthis.now => C:\otvdm\c\stopthis.now
After the CreateProcess error, a UAC elevation prompt appears, and once acknowledged, the second error will appear (sometimes multiple times depending on the version of InstallShield.
(X-Wing vs TIE Fighter, or A-10 Cuba! are two of the programs I've seen this with so far, but I'd expect any InstallShield installer of the same age to behave the same as it was pretty standardised)
The text was updated successfully, but these errors were encountered: