telyn / docker-vb6

Dockerize Visual Basic 6? YES WE CAN.
44 stars 13 forks source link

install.sh failed #1

Open beeing opened 7 years ago

beeing commented 7 years ago

Hi @telyn and thanks for such an interesting project.

However, tried to install and failed with following:

Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:iphlpapi:NotifyAddrChange (Handle 0xe9e890, overlapped 0xe9e89c): stub
wine: configuration in '/home/wine/.wine' has been updated.
+ winetricks -q mfc40
Using winetricks 20160425 - sha1sum: 5fbfd26aa981be8dee4ca0ae79f0a8740c3fad18 with wine-1.6.2
Executing w_do_call mfc40
Executing load_mfc40
Executing mkdir -p /home/wine/.cache/winetricks/mfc40
Downloading http://activex.microsoft.com/controls/vc/mfc40.cab to /home/wine/.cache/winetricks/mfc40
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 303 100 303 0 0 254 0 0:00:01 0:00:01 --:--:-- 254
------------------------------------------------------
Checksum for /home/wine/.cache/winetricks/mfc40/mfc40.cab did not match, retrying download
------------------------------------------------------
Downloading https://web.archive.org/web/http://activex.microsoft.com/controls/vc/mfc40.cab to /home/wine/.cache/winetricks/mfc40
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 32 100 32 0 0 11 0 0:00:02 0:00:02 --:--:-- 11
100 579k 0 579k 0 0 122k 0 --:--:-- 0:00:04 --:--:-- 416k
Executing cabextract -q -d /home/wine/.wine/dosdevices/c:/windows/temp/_mfc40 /home/wine/.cache/winetricks/mfc40/mfc40.cab
/home/wine/.cache/winetricks/mfc40/mfc40.cab: WARNING; possible 5624 extra bytes at end of file.
Executing cabextract -q -d /home/wine/.wine/dosdevices/c:/windows/system32 -F *40.dll /home/wine/.wine/dosdevices/c:/windows/temp/_mfc40/mfc40.exe
...
ls: cannot access /home/wine/.wine/drive_c/Program Files/Microsoft Visual Studio/: No such file or directory

Not sure which is the actual error - $DISPLAY not set, downloading of MFC40, Storage share mode not implemented or LoadLibraryShim error reading registry key for installroot.

Some tips on solving this would be appreciated.

Thanks in advance!

telyn commented 7 years ago

Hiya. Is there more output in the ... section? I think that's where the interesting thing is.

From the look of the last line it seems that Visual Basic simply hasn't been installed - but the cabextract looks like it's working.

install.sh really ought to have set -ex at the top instead of set -x.. I'll change that.

beeing commented 7 years ago

Here's the ... part, hope this helps

telyn commented 7 years ago

ah, that's surprisingly quiet. I'm afraid that's not really enough to go on other than to just say for some reason VB isn't getting installed :\

telyn commented 7 years ago

Are you using Visual Studio Enterprise 6.0 install media? If not, the VB6.STF file is probably not selecting anything to install for you. Try the stuff at the end of the readme about making your own maybe?

beeing commented 7 years ago

Oh, i'm using Pro though, will this work?

beeing commented 7 years ago

Just spotted another point - does vs\KEY.DAT file is required? It is not in the repo though.

Update: sorry my mistake on the KEY.DAT. But found that my VB installation is ACMBOOT.EXE instead of ACMSETUP.EXE

telyn commented 7 years ago

Oh, sorry I never responded again!

The KEY.DAT is totally necessary, yeah. to get it working with ACMBOOT.EXE instead of ACMSETUP.EXE I think you just need to modify the Dockerfile

Also, I think you'll need to generate your own VB6.STF file. I think for the Pro version you need to go find your own copy of ACOST.EXE though. I think it used to be downloadable from microsoft?

beeing commented 7 years ago

No worries. Thanks for the help!