Page 1 of 1

[RESOLVED] tis-ultravnc package

Published: October 11, 2022 - 3:08 PM
by Scud
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.

Re: tis-ultravnc package

Published: October 13, 2022 - 10:15 AM
by t.heroult
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"))

Re: tis-ultravnc package

Published: November 2, 2022 - 5:34 PM
by Scud
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.

Re: tis-ultravnc package

Published: November 3, 2022 - 5:29 PM
by Scud
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.

Re: [SOLVED]tis-ultravnc package

Published: November 4, 2022 - 1:52 PM
by t.heroult
It all comes down to very little, doesn't it? :)