I am attempting to do an unattended install using the loadinf switch. The problem is that the task never seems to complete and because this switch also implies silent, I don't know what the problem is. I know that at this point my issue is a bit vague, but any questions will be answered quickly.
Thanks in advance.
Unattended install is never completing
-
peteschlabar
- Posts: 1
- Joined: 2013-04-05 15:02
Re: Unattended install is never completing
Here is what I did:
Create a batch script such as UVNC_inf_save.bat with the following code (edit to fit your environment):
@echo on
C:\UltraVNC_1_1_8_X86_Setup.exe /saveinf="C:\UltraVNC_seutp.inf"
Now run the script on a PC for the first time to get the correct install options you want. After you have installed VNC on the PC, edit the properties as you want, then make a copy of that file: ultravnc.ini, located in C:\Program Files\UltraVNC.
Then, create another batch script, such as UVNC_setup.bat, with the following code, this installs form a network directory. This is setup for Windows 7 32 bit. Again, edit to meet your own requirements:
@echo off
md "C:\Program Files\UltraVNC" 2> nul > nul
copy \\10.1.1.1\VNC\ultravnc.ini "C:\Program Files\UltraVNC\ultravnc.ini" /y 2> nul > nul
copy \\10.1.1.1\VNC\SecureVNCPlugin.dsm "C:\Program Files\UltraVNC\SecureVNCPlugin.dsm" /y 2> nul > nul
\\10.1.1.1\VNC\UltraVNC_1_1_8_X86_Setup.exe /g /loadinf=\\10.1.1.1\VNC\UltraVNC_install.inf /silent /no restart 2> nul > nul
You can perform the same steps for the addons, and add this line to the UVNC_setup.bat:
\\10.1.1.1\VNC\UltraVNC_1_1_8_X86_Addones.exe /g /loadinf=\\10.1.1.1\VNC\UltraVNC_Addones.inf /silent /no restart 2> nul > nul
Create a batch script such as UVNC_inf_save.bat with the following code (edit to fit your environment):
@echo on
C:\UltraVNC_1_1_8_X86_Setup.exe /saveinf="C:\UltraVNC_seutp.inf"
Now run the script on a PC for the first time to get the correct install options you want. After you have installed VNC on the PC, edit the properties as you want, then make a copy of that file: ultravnc.ini, located in C:\Program Files\UltraVNC.
Then, create another batch script, such as UVNC_setup.bat, with the following code, this installs form a network directory. This is setup for Windows 7 32 bit. Again, edit to meet your own requirements:
@echo off
md "C:\Program Files\UltraVNC" 2> nul > nul
copy \\10.1.1.1\VNC\ultravnc.ini "C:\Program Files\UltraVNC\ultravnc.ini" /y 2> nul > nul
copy \\10.1.1.1\VNC\SecureVNCPlugin.dsm "C:\Program Files\UltraVNC\SecureVNCPlugin.dsm" /y 2> nul > nul
\\10.1.1.1\VNC\UltraVNC_1_1_8_X86_Setup.exe /g /loadinf=\\10.1.1.1\VNC\UltraVNC_install.inf /silent /no restart 2> nul > nul
You can perform the same steps for the addons, and add this line to the UVNC_setup.bat:
\\10.1.1.1\VNC\UltraVNC_1_1_8_X86_Addones.exe /g /loadinf=\\10.1.1.1\VNC\UltraVNC_Addones.inf /silent /no restart 2> nul > nul