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

/Silent installation but without installing service

Post Reply
venussoftop
8
8
Posts: 25
Joined: 2006-02-01 05:40
Contact:

/Silent installation but without installing service

Post by venussoftop »

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
Robert_Zenz
8
8
Posts: 22
Joined: 2009-07-28 09:58
Location: Vienna, Austria
Contact:

Re: /Silent installation but without installing service

Post by Robert_Zenz »

You'll need a inf-File which you can pass into the installation like this:

Command

Code: Select all

UltraVNC_1.0.8.2_Setup.exe /silent /loadinf=install.inf
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
As you can see, you just need to remove the installservice and startservice from the last line of the file.
venussoftop
8
8
Posts: 25
Joined: 2006-02-01 05:40
Contact:

Re: /Silent installation but without installing service

Post by venussoftop »

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
Robert_Zenz wrote:You'll need a inf-File which you can pass into the installation like this:
Robert_Zenz
8
8
Posts: 22
Joined: 2009-07-28 09:58
Location: Vienna, Austria
Contact:

Re: /Silent installation but without installing service

Post by Robert_Zenz »

As far as I know, that's the Mirror Driver, just also remove that one from the line. ;)
venussoftop
8
8
Posts: 25
Joined: 2006-02-01 05:40
Contact:

Re: /Silent installation but without installing service

Post by venussoftop »

Robert_Zenz wrote:As far as I know, that's the Mirror Driver, just also remove that one from the line. ;)
Before posting I did remove the word driver from the last time yet it downloads the following:
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
Robert_Zenz
8
8
Posts: 22
Joined: 2009-07-28 09:58
Location: Vienna, Austria
Contact:

Re: /Silent installation but without installing service

Post by Robert_Zenz »

Oh, in that case I'm out of ideas, sorry.
venussoftop
8
8
Posts: 25
Joined: 2006-02-01 05:40
Contact:

Re: /Silent installation but without installing service

Post by venussoftop »

Robert_Zenz wrote:Oh, in that case I'm out of ideas, sorry.
No problem, thanks a lot for you help. I have my stuff configured to now install UltraVNC using the inf file.

Kind regards
Bhavbhuti
mazostyle
8
8
Posts: 28
Joined: 2010-04-12 18:11

Re: /Silent installation but without installing service

Post by mazostyle »

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?
mazostyle
8
8
Posts: 28
Joined: 2010-04-12 18:11

Re: /Silent installation but without installing service

Post by mazostyle »

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
venussoftop
8
8
Posts: 25
Joined: 2006-02-01 05:40
Contact:

Re: /Silent installation but without installing service

Post by venussoftop »

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.
mazostyle
8
8
Posts: 28
Joined: 2010-04-12 18:11

Re: /Silent installation but without installing service

Post by mazostyle »

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?
robson-dasilva
8
8
Posts: 10
Joined: 2009-08-13 11:56

Re: /Silent installation but without installing service

Post by robson-dasilva »

Robert_Zenz wrote:You'll need a inf-File which you can pass into the installation like this:

Command

Code: Select all

UltraVNC_1.0.8.2_Setup.exe /silent /loadinf=install.inf
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
As you can see, you just need to remove the installservice and startservice from the last line of the file.

How can I do a "bypass" if the software is already installed?
What command I need to include in the .bat file ?


Thanks.

Robson
mazostyle
8
8
Posts: 28
Joined: 2010-04-12 18:11

Re: /Silent installation but without installing service

Post by mazostyle »

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??
Post Reply