jshridha / docker-blueiris

Blueiris in a docker using wine!
Apache License 2.0
105 stars 53 forks source link

Microsoft.Windows.Common-Controls (6.0.0.0) - missing? #33

Closed johnny2678 closed 3 years ago

johnny2678 commented 4 years ago

I've been trying to get this to run for a couple of days now. Sorry if this is obvious and thx for making this available.

I start the container, get 2-3 wine mono/gecko installers. Then BI5 install starts. Installs the Microsoft components. Then installs the BI5 application.

So far so good. But when I run BI5 - either using the checkbox after install while still in privileged mode, or by restarting the container - i get the following repeating errors:

0033:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0033:err:module:import_dll Library VCRUNTIME140_1.dll (which is needed by L"C:\\Program Files\\Blue Iris 5\\BlueIris.exe") not found
07/09/2020 15:15:48 copy_tiles: allocating first_line at size 61
0033:err:module:import_dll Library mfc140u.dll (which is needed by L"C:\\Program Files\\Blue Iris 5\\BlueIris.exe") not found
0033:err:module:import_dll Library FTD2XX.dll (which is needed by L"C:\\Program Files\\Blue Iris 5\\SeaMAX.dll") not found
0033:err:module:import_dll Library SeaMAX.dll (which is needed by L"C:\\Program Files\\Blue Iris 5\\BlueIris.exe") not found
0033:err:module:LdrInitializeThunk Importing dlls for L"C:\\Program Files\\Blue Iris 5\\BlueIris.exe" failed, status c0000135
2020-09-07 15:15:48,065 INFO exited: blueiris (exit status 53; not expected)
2020-09-07 15:15:50,068 INFO spawned: 'blueiris' with pid 133
0037:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0037:err:module:import_dll Library VCRUNTIME140_1.dll (which is needed by L"C:\\Program Files\\Blue Iris 5\\BlueIris.exe") not found
0037:err:module:import_dll Library mfc140u.dll (which is needed by L"C:\\Program Files\\Blue Iris 5\\BlueIris.exe") not found
0037:err:module:import_dll Library FTD2XX.dll (which is needed by L"C:\\Program Files\\Blue Iris 5\\SeaMAX.dll") not found
0037:err:module:import_dll Library SeaMAX.dll (which is needed by L"C:\\Program Files\\Blue Iris 5\\BlueIris.exe") not found
0037:err:module:LdrInitializeThunk Importing dlls for L"C:\\Program Files\\Blue Iris 5\\BlueIris.exe" failed, status c0000135
2020-09-07 15:15:50,570 INFO exited: blueiris (exit status 53; not expected)
2020-09-07 15:15:53,574 INFO spawned: 'blueiris' with pid 141

Not sure if this is winetricks related.

This is with a fresh wine prefix (empty /root/prefix mapped to a local drive)

docker run cmd: docker run -d --name='blueiris' --net='bridge' --privileged=true -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'RESOLUTION'='1920x960x24' -p '8123:8080/tcp' -p '8987:81/tcp' -v '/mnt/user/appdata/bi5-docker/':'/root/prefix':'rw' --log-opt max-size=5m --log-opt max-file=2 'jh/bi5:jshridha'

** rebuilt the image only to add the blueiris.exe installer so I didn't have to keep redownloading it

This is on the dev branch

Any ideas?

leonowski commented 4 years ago

The VCRUNTIME components should be installed right before the Blue Iris installer. You can try running this in the container to force the install again:

winetricks -f vcrun2019

If you need the container to stay up to do this, you canoverride the supervisor conf or entrypoint.

I'm actually working on a branch of this (now in PR) that tries to do this install before the Blue Iris download. Hopefully, it helps with this. https://github.com/jshridha/docker-blueiris/pull/32

johnny2678 commented 4 years ago

thx for the comment @leonowski . will give your container a try.

jshridha commented 3 years ago

Closing due to inactivity. @johnny2678 feel free to open it back up if you're still having issues.