/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Is there a switch that I can include in my script that will install TightVNC as a service?
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

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.
Answered 01/04/2010 by: airwolf
Tenth Degree Black Belt

Please log in to comment
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\\"
Answered 01/05/2010 by: syn
Senior Yellow Belt

Please log in to comment
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!
Answered 01/08/2010 by: rvdsabu4life
Yellow Belt

Please log in to comment

Share