Custom action in VNC
hi,
I managed to make a msi of VNC server.
However, during install I had to make a custom action which unregister, register and start the service otherwise VNC wouldn't allow connections.
I called the VNC executable with some parameters for these action, but for each action VNC showes an information dialog and require to press ok (so 3 dialogs appear after eachother).
Is it possible to do this silently with dialogs, so VNC can be distributed without user interaction?
Perhaps I can add a line after the action which press ok?
I managed to make a msi of VNC server.
However, during install I had to make a custom action which unregister, register and start the service otherwise VNC wouldn't allow connections.
I called the VNC executable with some parameters for these action, but for each action VNC showes an information dialog and require to press ok (so 3 dialogs appear after eachother).
Is it possible to do this silently with dialogs, so VNC can be distributed without user interaction?
Perhaps I can add a line after the action which press ok?
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
nheim
18 years ago
Hi Dennis,
do 'innunp -x vnc-E4_2_7-x86_win32.exe'.
After that you find 'install_script.iss' in the directory you did the above command.
In this file you find authored the hole setup, especially calls to 'WinVNC4.exe' to install/uninstall the service and 'vncconfig.exe' to generate keys and so on.
To give you a broader view, this are the CA's which i use:
CA_ConfigureService 1042 vncconfig.exe -service
CA_GenerateKeysSrv 1042 vncconfig.exe -service -generatekeys
CA_GenerateKeysUsr 1042 vncconfig.exe -user -generatekeys
CA_InstallLicense 1042 vncconfig.exe -license [PIDKEY]
CA_InstallLicenseReplace 1042 vncconfig.exe -skiplicenseifvalid -license [PIDKEY]
CA_InstallService 1042 winvnc4.exe -unregister -register
CA_StartService 1042 winvnc4.exe -start
CA_StopService 1042 winvnc4.exe -stop
CA_UnregisterService 1042 winvnc4.exe -unregister
Hope this does the trick.
Regards, Nick
do 'innunp -x vnc-E4_2_7-x86_win32.exe'.
After that you find 'install_script.iss' in the directory you did the above command.
In this file you find authored the hole setup, especially calls to 'WinVNC4.exe' to install/uninstall the service and 'vncconfig.exe' to generate keys and so on.
To give you a broader view, this are the CA's which i use:
CA_ConfigureService 1042 vncconfig.exe -service
CA_GenerateKeysSrv 1042 vncconfig.exe -service -generatekeys
CA_GenerateKeysUsr 1042 vncconfig.exe -user -generatekeys
CA_InstallLicense 1042 vncconfig.exe -license [PIDKEY]
CA_InstallLicenseReplace 1042 vncconfig.exe -skiplicenseifvalid -license [PIDKEY]
CA_InstallService 1042 winvnc4.exe -unregister -register
CA_StartService 1042 winvnc4.exe -start
CA_StopService 1042 winvnc4.exe -stop
CA_UnregisterService 1042 winvnc4.exe -unregister
Hope this does the trick.
Regards, Nick
Posted by:
fsubzwari
18 years ago
Posted by:
nheim
18 years ago
Posted by:
MARIN
18 years ago
Posted by:
MARIN
18 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.