Open kolldrome opened 1 year ago
Hopefully. One would have hoped that MsgBox()
would have been silenced implicitly by the /SUPRESSMSGBOXES
flag, but apparently not.
I'm afraid I'm not too familiar with Inno Setup, so I don't know what the fix would be. Someone would need to dig around their documentation a bit and see how this is supposed to be handled.
@kolldrome workaround for me. wait 3 seconds and send key ENTER
timeout 3 $wshell = New-Object -ComObject wscript.shell; $wshell.SendKeys('~')
Hello, the solution of pressing the enter key did not work for me.
As a hobby I have compiled the code and modified the winvnc.iss script removing the msgbox following this manual:
https://github.com/TigerVNC/tigervnc/wiki/Compiling-TigerVNC-for-Windows
using this command
cmake -G "MinGW Makefiles" ../
instead of this one which is recommended in the BUILDING.txt file. Is this a bug in the documentation?
cmake -G "MSYS Makefiles" ../
I managed to compile it in a semi static way by coding a little bit the StaticBuild.cmake file
-DBUILD_STATIC=1
adding in position 68 the following line
set(GNUTLS_LIBRARIES "-Wl,-Bstatic -lgnutls -lpthread -lzstd -lbrotlidec -lbrotlienc -lbrotlicommon")
and adding -pthread
in the BUILD_STATIC_GCC
section.
due to the problem with the p11-kit library which is only dynamic I have not been able to compile it full static.
Update build system so it will compile on Windows 10 https://github.com/TigerVNC/tigervnc/pull/1039
However it seems that the stable executables that are on github do look full static. Is there something missing in the StaticBuild.cmake file?
p11-kit only available as dynamic library for MSYS2 on Windows and dynamic linking of unistring is required
if(P11KIT_LIBRARY)
set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -lp11-kit")
endif()
if(UNISTRING_LIBRARY)
set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -lunistring")
endif()
I take this opportunity to congratulate you for this opensource development. Grettings.
instead of this one which is recommended in the BUILDING.txt file. Is this a bug in the documentation?
I'm afraid I don't know what the difference between the two are, but we are using -G "MSYS Makefiles"
with the automated GitHub builds without any issue. And it's MSYS2 being used there.
However it seems that the stable executables that are on github do look full static. Is there something missing in the StaticBuild.cmake file?
Static builds are very non-standard and require careful setup of both the build environment and the build system inside TigerVNC. So it will always be best effort. And it will likely never work fully with any standard build environment that you can download.
The official binaries are built using a custom setup that makes sure there are static versions of all used libraries. You could try filing issues with the build environment you are using and request them to add any missing static libraries.
Does this issue resolved? I need to silent install from cmd remotely (without GUI) and i cant do that!
@andryua Use version 1.10.0 instead because it doesn't have a warning pop-up, or you can try my workaround in the earlier comment in small environments for testing.
Hello,
I'm trying to do a remote installation of tigerVNC on windows and this inno setup message is preventing me from doing it, because the installation stops at this point. The function is in /release/winvnc.iss.in
Even using these inno setup options:
could this warning be indicated so that using these two options in the installation would make a true silent installation?
Greetings.