Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
/Silent installation but without installing service
-
- 8
- Posts: 25
- Joined: 2006-02-01 05:40
- Contact:
/Silent installation but without installing service
Hi all
I have tried to look for the installation command line switches but I could not find an option that would install UltraVNC in a /Silent mode but with another switch that say /NoService.
Is this possible? I wanted to auto install UltraVNC along with my other installations but did not want to install it as a service.
Please advise
Kind regards
Bhavbhuti
I have tried to look for the installation command line switches but I could not find an option that would install UltraVNC in a /Silent mode but with another switch that say /NoService.
Is this possible? I wanted to auto install UltraVNC along with my other installations but did not want to install it as a service.
Please advise
Kind regards
Bhavbhuti
-
- 8
- Posts: 22
- Joined: 2009-07-28 09:58
- Location: Vienna, Austria
- Contact:
Re: /Silent installation but without installing service
You'll need a inf-File which you can pass into the installation like this:
Command
install.inf
As you can see, you just need to remove the installservice and startservice from the last line of the file.
Command
Code: Select all
UltraVNC_1.0.8.2_Setup.exe /silent /loadinf=install.inf
Code: Select all
[Setup]
Lang=en
Dir=C:\Program Files\UltraVNC
Group=UltraVNC
NoIcons=0
SetupType=full
Components=ultravnc_server,ultravnc_viewer
Tasks=installservice,startservice,associate,driver
-
- 8
- Posts: 25
- Joined: 2006-02-01 05:40
- Contact:
Re: /Silent installation but without installing service
Thanks Robert that worked for me. One more question, when the installation is going on it is downloading a few files, are they necessary, can I disable the download as I don't want client interaction in case internet is not present.
Please advise
Thanks and regards
Bhavbhuti
Please advise
Thanks and regards
Bhavbhuti
Robert_Zenz wrote:You'll need a inf-File which you can pass into the installation like this:
-
- 8
- Posts: 22
- Joined: 2009-07-28 09:58
- Location: Vienna, Austria
- Contact:
Re: /Silent installation but without installing service
As far as I know, that's the Mirror Driver, just also remove that one from the line.
-
- 8
- Posts: 25
- Joined: 2006-02-01 05:40
- Contact:
Re: /Silent installation but without installing service
Before posting I did remove the word driver from the last time yet it downloads the following:Robert_Zenz wrote:As far as I know, that's the Mirror Driver, just also remove that one from the line.
schook.dll
cad.exe
license.txt
uninstall.bat
uninstall_silent.bat
install.bat
setupdrv.exe
install_silent.bat
mv2.cat
mv2.dll
mv2.inf
mv2.sys
the same lots of many files for XP, W2K and Vista
Thanks and regards
Bhavbhuti
-
- 8
- Posts: 22
- Joined: 2009-07-28 09:58
- Location: Vienna, Austria
- Contact:
Re: /Silent installation but without installing service
Oh, in that case I'm out of ideas, sorry.
-
- 8
- Posts: 25
- Joined: 2006-02-01 05:40
- Contact:
Re: /Silent installation but without installing service
No problem, thanks a lot for you help. I have my stuff configured to now install UltraVNC using the inf file.Robert_Zenz wrote:Oh, in that case I'm out of ideas, sorry.
Kind regards
Bhavbhuti
Re: /Silent installation but without installing service
so when you got this to work, did u add the install.inf file to the dependencies? cuz i have an ultravnc.inf but in that file it has the loadinf/ install.inf. so do i need to create the install.inf file and include that? howd u do it so it worked passing the servince part?
Re: /Silent installation but without installing service
this is what the kbox setup looks like.
i have 5 dependencies:
ultravnc_1.0.8.2_Setup.exe
ultravnc.inf
ultravnc.ini
acl.txt
(added install.inf as well)
On Success
Set “HKLM\SOFTWARE\ORL\WinVNC3\Default!Password†to “hex:d9,fc,e2,51,cc,4f,81,84â€.Edit
Set “HKLM\SOFTWARE\ORL\WinVNC3!MSLogonRequired†to “1â€.Edit
Set “HKLM\SOFTWARE\ORL\WinVNC3!NewMSLogon†to “1â€.Edit
Set “HKLM\SOFTWARE\ORL\WinVNC3!DisableTrayIcon†to “1â€.Edit
Set “HKLM\SOFTWARE\ORL\WinVNC3\Default!AllowEditClients†to “0â€.Edit
Set “HKLM\SOFTWARE\ORL\WinVNC3\Default!AllowProperties†to “0â€.Edit
Set “HKLM\SOFTWARE\ORL\WinVNC3\Default!AllowShutdown†to “0â€.Edit
Launch “SYS\cmd.exe†with params “/C â€mkdir “C:\Program Files\UltraVNCâ€â€œâ€.Edit
Launch “SYS\cmd.exe†with params “/C â€copy “$(KACE_DEPENDENCY_DIR)\ultravnc.ini†“C:\Program Files\UltraVNC\ultravnc.ini†/Y“â€.Edit
Launch “SYS\cmd.exe†with params “/C â€copy “$(KACE_DEPENDENCY_DIR)\rc4.key†“C:\Program Files\UltraVNC\rc4.key†/Y“â€.Edit
Launch “SYS\cmd.exe†with params “/C â€copy “$(KACE_DEPENDENCY_DIR)\acl.txt†“C:\Program Files\UltraVNC\acl.txt†/Y“â€.Edit
Launch “$(KACE_DEPENDENCY_DIR)\UltraVNC_1.0.8.2_Setup.exe†with params “/loadinf=â€$(KACE_DEPENDENCY_DIR)\ultravnc.inf“ /verysilentâ€.Edit
Launch “C:\Program Files\UltraVNC\MSLogonACL.exe†with params “/i /o â€C:\Program Files\UltraVNC\acl.txt“â€.Edit
Add a new step…Call a custom DLL function...Create a custom DLL object...Create a message window...Delete a registry key...Delete a registry value...Destroy a message window...Install a software package...Kill a process...Launch a program...Log a registry value...Log file information...Log message...Restart a service...Run a batch file...Set a registry key...Set a registry value...Start a service...Stop a service...Unzip a file...Update message window text...Upload a file...
Reorder | Add…
Finish
i have 5 dependencies:
ultravnc_1.0.8.2_Setup.exe
ultravnc.inf
ultravnc.ini
acl.txt
(added install.inf as well)
On Success
Set “HKLM\SOFTWARE\ORL\WinVNC3\Default!Password†to “hex:d9,fc,e2,51,cc,4f,81,84â€.Edit
Set “HKLM\SOFTWARE\ORL\WinVNC3!MSLogonRequired†to “1â€.Edit
Set “HKLM\SOFTWARE\ORL\WinVNC3!NewMSLogon†to “1â€.Edit
Set “HKLM\SOFTWARE\ORL\WinVNC3!DisableTrayIcon†to “1â€.Edit
Set “HKLM\SOFTWARE\ORL\WinVNC3\Default!AllowEditClients†to “0â€.Edit
Set “HKLM\SOFTWARE\ORL\WinVNC3\Default!AllowProperties†to “0â€.Edit
Set “HKLM\SOFTWARE\ORL\WinVNC3\Default!AllowShutdown†to “0â€.Edit
Launch “SYS\cmd.exe†with params “/C â€mkdir “C:\Program Files\UltraVNCâ€â€œâ€.Edit
Launch “SYS\cmd.exe†with params “/C â€copy “$(KACE_DEPENDENCY_DIR)\ultravnc.ini†“C:\Program Files\UltraVNC\ultravnc.ini†/Y“â€.Edit
Launch “SYS\cmd.exe†with params “/C â€copy “$(KACE_DEPENDENCY_DIR)\rc4.key†“C:\Program Files\UltraVNC\rc4.key†/Y“â€.Edit
Launch “SYS\cmd.exe†with params “/C â€copy “$(KACE_DEPENDENCY_DIR)\acl.txt†“C:\Program Files\UltraVNC\acl.txt†/Y“â€.Edit
Launch “$(KACE_DEPENDENCY_DIR)\UltraVNC_1.0.8.2_Setup.exe†with params “/loadinf=â€$(KACE_DEPENDENCY_DIR)\ultravnc.inf“ /verysilentâ€.Edit
Launch “C:\Program Files\UltraVNC\MSLogonACL.exe†with params “/i /o â€C:\Program Files\UltraVNC\acl.txt“â€.Edit
Add a new step…Call a custom DLL function...Create a custom DLL object...Create a message window...Delete a registry key...Delete a registry value...Destroy a message window...Install a software package...Kill a process...Launch a program...Log a registry value...Log file information...Log message...Restart a service...Run a batch file...Set a registry key...Set a registry value...Start a service...Stop a service...Unzip a file...Update message window text...Upload a file...
Reorder | Add…
Finish
-
- 8
- Posts: 25
- Joined: 2006-02-01 05:40
- Contact:
Re: /Silent installation but without installing service
Hi mazostyle
I am not sure what you are asking but I resolved by calling the generated setup with command line parameters
INTERNAL_UltraVNC_1.0.8.2_Setup.exe /silent /loadinf=install.inf
Hope this helps.
I am not sure what you are asking but I resolved by calling the generated setup with command line parameters
INTERNAL_UltraVNC_1.0.8.2_Setup.exe /silent /loadinf=install.inf
Hope this helps.
Re: /Silent installation but without installing service
heres my ultravnc.inf file:
UltraVNC_1.0.8.2_Setup.exe /silent /loadinf=install.inf
Lang=en
Dir=C:\Program Files\UltraVNC
Group=UltraVNC
NoIcons=0
SetupType=full
Components=ultravnc_server,ultravnc_viewer
Tasks=installmirror
it still installs the service, asking user to proceed, and i can see the mirror drivers being installed, so its not so silent. i didnt have a problem with 1.0.6.5. any ideas?
UltraVNC_1.0.8.2_Setup.exe /silent /loadinf=install.inf
Lang=en
Dir=C:\Program Files\UltraVNC
Group=UltraVNC
NoIcons=0
SetupType=full
Components=ultravnc_server,ultravnc_viewer
Tasks=installmirror
it still installs the service, asking user to proceed, and i can see the mirror drivers being installed, so its not so silent. i didnt have a problem with 1.0.6.5. any ideas?
-
- 8
- Posts: 10
- Joined: 2009-08-13 11:56
Re: /Silent installation but without installing service
Robert_Zenz wrote:You'll need a inf-File which you can pass into the installation like this:
Commandinstall.infCode: Select all
UltraVNC_1.0.8.2_Setup.exe /silent /loadinf=install.inf
As you can see, you just need to remove the installservice and startservice from the last line of the file.Code: Select all
[Setup] Lang=en Dir=C:\Program Files\UltraVNC Group=UltraVNC NoIcons=0 SetupType=full Components=ultravnc_server,ultravnc_viewer Tasks=installservice,startservice,associate,driver
How can I do a "bypass" if the software is already installed?
What command I need to include in the .bat file ?
Thanks.
Robson
Re: /Silent installation but without installing service
I can manually delete the service, then i dont get the message during the install. I open cmd.exe and type in "sc delete uvnc_service" Then i push VNC out through my kbox, and it works. I just cant figure out the right way to enter in the script to execute that cmd line. Here's how I have it now:
Launch “SYS\cmd.exe†with params “sc delete uvnc_serviceâ€
all it does is freeze. if i remove this parameter, the install completes, but still prompts the user to unistall the service. any ideas??
Launch “SYS\cmd.exe†with params “sc delete uvnc_serviceâ€
all it does is freeze. if i remove this parameter, the install completes, but still prompts the user to unistall the service. any ideas??