Skip to content
This repository has been archived by the owner on Mar 5, 2019. It is now read-only.

install.sh failed #1

Open
beeing opened this issue May 24, 2017 · 8 comments
Open

install.sh failed #1

beeing opened this issue May 24, 2017 · 8 comments

Comments

@beeing
Copy link

beeing commented May 24, 2017

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
Copy link
Owner

telyn commented May 24, 2017

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
Copy link
Author

beeing commented May 24, 2017

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

  • XVFB_PID=799
  • sleep 3
  • Xvfb :0 -auth /home/wine/.Xauthority -screen 0 1024x768x24
  • DISPLAY=:0
  • wine regedit.exe /s 'vs\KEY.DAT'
  • sleep 1
  • DISPLAY=:0
  • wine 'vs\ACMSETUP.exe' /k [key-hidden] /n Container /o None /qnt
  • sleep 15
  • kill 799
  • ls '/home/wine/.wine/drive_c/Program Files/Microsoft Visual Studio/'
  • grep VB98
    ls: cannot access /home/wine/.wine/drive_c/Program Files/Microsoft Visual Studio/: No such file or directory
  • exit 1

@telyn
Copy link
Owner

telyn commented May 24, 2017

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
Copy link
Owner

telyn commented May 24, 2017

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
Copy link
Author

beeing commented May 24, 2017

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

@beeing
Copy link
Author

beeing commented May 25, 2017

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
Copy link
Owner

telyn commented Jun 12, 2017

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
Copy link
Author

beeing commented Jun 13, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants