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

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.

Answers

0
Can you not author the service by hand in a new component?
Answered 11/08/2006 by: turbokitty
Sixth Degree Black Belt

Please log in to comment
0
did you try the /qb or /qn swicthes?

how you calling the msi? run prompt or batch file?
Answered 11/08/2006 by: fsubzwari
Senior Yellow Belt

Please log in to comment
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
Answered 11/08/2006 by: nheim
Tenth Degree Black Belt

Please log in to comment
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 :)
Answered 11/08/2006 by: MARIN
Orange Senior Belt

Please log in to comment
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
Answered 11/09/2006 by: nheim
Tenth Degree Black Belt

Please log in to comment
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
Answered 11/09/2006 by: MARIN
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity