/build/static/layout/Breadcrumb_cap_w.png

TightVNC Install as a Service through GP

Is there a switch that I can include in my script that will install TightVNC as a service?

0 Comments   [ + ] Show comments

Answers (3)

Posted by: airwolf 14 years ago
Red Belt
0
I'm not sure if there is a way to install it as a service, but there is an administrative option to add the service once TightVNC is installed - see http://www.tightvnc.com/winst.php for details.
Posted by: syn 14 years ago
Senior Yellow Belt
0
I haven't used tight VNC before but you could use instsrv.exe & srvany.exe to create a service and then point the application using a reg entry to that service name. Bit of a stuff around but handy for running dodgy apps as a service when required.

example:
(cmd line)
instsrv.exe MYSERVICENAME "c:\program files\APPFOLDER\srvany.exe"

(reg)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MYSERVICENAME]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MYSERVICENAME\Parameters]
@=""
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MYSERVICENAME\Parameters]
"Application"="C:\\Program Files\\APPFOLDER\\MYAPP.exe"
"AppDirectory"="C:\\Program Files\\APPFOLDER\\"
Posted by: rvdsabu4life 14 years ago
Yellow Belt
0
example:
(cmd line)
instsrv.exe MYSERVICENAME "c:\program files\APPFOLDER\srvany.exe"

(reg)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MYSERVICENAME]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MYSERVICENAME\Parameters]
@=""
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MYSERVICENAME\Parameters]
"Application"="C:\\Program Files\\APPFOLDER\\MYAPP.exe"
"AppDirectory"="C:\\Program Files\\APPFOLDER\\"


I am going to try this. Thanks!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ