


Usable values: 'Automatic', 'Manual', 'Disabled'įor svc in wmi.WMI().Win32_Service(Name=service_name): # Validating or not update-package-sourcesĭef set_service_start_mode(service_name, start_mode): Print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))Ĭontrol.version = '%s-%s' % (Version(version), ('-', 1)) If uninstall Version(control.get_software_version()): # Uninstalling older versions of the softwareįor uninstall in installed_softwares(name=r'\bNoMachine\b'): Package_version = control.get_software_version()īin_name = glob.glob('*%s*.exe' % bin_contains) Node_cfg_file = makepath(programfiles32, 'NoMachine', 'etc', 'node.cfg') Server_cfg_file = makepath(programfiles32, 'NoMachine', 'etc', 'server.cfg') Silent_args = '/usbinstall="0" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' # Silent # '/usbinstall="0" /silent' # Semi-silent # Declaring global variables - Warnings: 1) WAPT context is only available in package functions 2) Global variables are not persistent between calls # Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package() impacted_process : nxclient,nxagent,nxauth,nxclient,nxd,nxdisplay,nxdx32,nxd圆4,nxexec,nxfs,nxnode,nxplayer,nxserver,nxservice32,nxservice64.The software provides access to remote desktops and applications running on Linux, Windows, Mac and Linux ARM devices description : NoMachine is a cross-platform remote desktop program developed by NoMachine S.à r.l.maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ.categories : Utilities,System and network.
