/build/static/layout/Breadcrumb_cap_w.png

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?

0 Comments   [ + ] Show comments

Answers (6)

Posted by: nheim 18 years ago
10th Degree Black Belt
2
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
Posted by: turbokitty 18 years ago
6th Degree Black Belt
0
Can you not author the service by hand in a new component?
Posted by: fsubzwari 18 years ago
Senior Yellow Belt
0
did you try the /qb or /qn swicthes?

how you calling the msi? run prompt or batch file?
Posted by: nheim 18 years ago
10th Degree Black Belt
0
Hi Dennis,
Are you using RealVNC?
If yes, this setup is built with INNO-Setup. Use innounpack http://innounp.sourceforge.net to extract the install_script.iss file.
In there you find all the needed actions to build your Custom Action.
Hope this helps a bit.
Regards, Nick
Posted by: MARIN 18 years ago
Orange Senior Belt
0
Hi Nick,

Yes, I am using RealVNC and I installed Inno-Setup also.
But can u point me in the right direction. I have no idea where to begin :)
Posted by: MARIN 18 years ago
Orange Senior Belt
0
Thanks Nick

No noticed I gave the custom action to many parameter.
I made a custom action from the shortcuts, but they contain the parameter -noconsole

I removed the parameter and now its working fine

Thanks
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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