-
Notifications
You must be signed in to change notification settings - Fork 405
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
Microsoft C/C++ Tries to create invalid path at 'A:\' and 'setup.exe' #3484
Comments
Can you mount the diskette image before starting Windows 3.1, and try again? |
The issue I think is that when you do not mount a disk image before starting Windows, the drive is simply not "connected" and missing from the BIOS tables and such. Then when you start Windows and connect a floppy afterwards, windows does not fully recognise it as a floppy disk drive as it does not support such devices to be hot-plugged. In other words, don't do that ;-) If you intend to use a floppy drive in windows, always have one mounted before you start. |
Actually, there are cases that you can mount floppy images after starting Windows. |
In the config file, I have tried mounting the disk image these 3 ways:
|
All 3 mounts seem wrong. They likely result in errors.
A combination of the 2nd and 3rd should work, or use a relative or full path.
|
I also just tried that way. It did the same thing. |
If you mean it shows that the C: drive is mounted, yes. The A: drive mount is failing due to the invalid path. |
Yeah I didn't notice that thing saying A:\ doesn't exist. But I'm using the line that you gave to mount it now, and it is still failing to mount. Which I just remembered that it is because we are using the wrong command. It's IMGMOUNT, not MOUNT lol |
Alright. It works now.
I just realized what I was saying. No, that would be an eject button, and load disk, feature that I am asking for. Different issue. |
It's solved. Thanks people! Sorry it wasn't a bug after all. |
I meant to ask; what do you mean by "booting as guest"? |
You mount your C drive from a HDD image file, then |
You can either run an application (including Windows 3.x) directly in DOSBox-X from the "integrated" DOS shell. Or you can boot a real DOS (MS-DOS, IBM PC DOS, FreeDOS) inside DOSBox-X and run your application from there. This is referred to as a Guest OS. But running applications like this requires more preparation work and makes it harder to transfer files between the guest OS and your host OS as folder mounts are not supported in this mode and all mounts need to be image mounts. |
Describe the bug
I'm not really sure what this message means, other than what the message says. I imagine I could make these disk images work by extracting them into a directory on the C drive. But I know it's not supposed to be doing this.
Also; when I push the "OK" button, it just pops back up again. I can't exit the program how I should be able to. I know that loop is a design flaw in the Microsoft program, not you guys. But I think the design flaw is there because I doubt this would be an issue on real hardware.

Steps to reproduce the behaviour
It doesn't matter which directory you decide to attempt to install the software to. It will do it what I took a screen shot of. But I have only tried the pre-selected options that the radio buttons are already selected at.
I have also ran the setup application from DOS with Windows closed.
It may have something to do with this: If I do not have a directory mounted upon bootup of dosbox-x, and upon opening of the File Manager program, then the 'a' drive is not accessible from the File Manager after mounting a disc image, even though I can access it from the Run program built into File Manager. I can access it from the GUI 'a' drive button if I mount a real directory as the A: drive, before switching over to mount a disc image, so that I can access the contents of the disc image. But I believe Windows 3.1 is not actually able to recognize the disc images as being mounted. So the path to 'A:' and 'setup.exe', would not be valid, if this is what is happening. I am guessing that the 'Run' command from the window, does not check to see if the drive is visible to Windows. It just reports an error if the files are not available. That's the only thing I could think of at least.
Anyway; here is my [autoexec] section of the config made for this OS:
[autoexec]
@echo OFF
MOUNT C /home/hsmith/Desktop/dosBox-X/C/win31
MOUNT A A
C:
#CALL AUTOEXEC2.BAT
PATH C:\WINDOWS;C:\WINDEV\BIN;
SET INCLUDE=C:\WINDEV\INCLUDE;
SET LIB=C:\WINDEV\LIB;
SET HELPFILES=C:\WINDEV\HELP;
SET TEMP=C:\WINDOWS\TEMP;
#CD WINDOWS
WIN
Expected behavior
The program should not attempt to create an invalid path at 'A:' and 'setup.exe'
What operating system(s) this bug have occurred on?
Funtoo. Debian kernel.
What version(s) of DOSBox-X have this bug?
DOSBox-X version 0.83.25 (Linux SDL2)
Used configuration
No response
Output log
Additional information
It might be useful to add a feature that prints the machine code execution history to a file, for reports like this.
Have you checked that no similar bug report(s) exist?
Code of Conduct & Contributing Guidelines
The text was updated successfully, but these errors were encountered: