[RESOLVED] tis-ultravnc package

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
Scud
Messages: 27
Registration: March 23, 2020 - 3:37 PM

October 11, 2022 - 3:08 PM

Hello,
I'm currently testing on Windows Server 2019 and WAPT 2.2 for self-service application deployment only.
I'd like to make the ultravnc package available, but without installing the VNC viewer component. Additionally, I'd like to set a default password.

Is it possible to modify the package installation parameters?
I see some options in setup.py, but I don't understand them.

Thank you in advance.

Regards.
Last edited by Scud on 03 Nov 2022 - 17:30, edited 2 times.
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

October 13, 2022 - 10:15

Good morning

It's relatively simple.
First, you need to create your configuration file (ultravnc.ini) with the settings and the encrypted password.
Put it in the package and once the setup is complete, you use a filecopyto() to overwrite the ini file with the one from the package.
As for vncviewer.exe, once the setup is complete, simply run a removefile() and it's done.

Code: Select all

removefile(makepath(install_location("Ultravnc2_is1"),"vncviewer.exe"))
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
Scud
Messages: 27
Registration: March 23, 2020 - 3:37 PM

November 2, 2022 - 5:34 PM

Hello,
thank you for your reply. Having been away for a few days, I haven't been able to test your solution or respond sooner.
I'll get to testing everything as soon as possible and keep you updated.

In any case, thank you for taking the time to reply.
Scud
Messages: 27
Registration: March 23, 2020 - 3:37 PM

November 3, 2022 - 5:29 PM

I just did another test with my test server: it works!!
There was just a small syntax error:

Code: Select all

remove_file(makepath(install_location("Ultravnc2_is1"),"vncviewer.exe"))
The "underscore" is missing between remove and file.

Thank you so much.
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

November 4, 2022 - 1:52 PM

It all comes down to very little, doesn't it? :)
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
Locked