Changes

Jump to: navigation, search

TightVNC

1,068 bytes removed, 07:06, 9 June 2013
Version 2.5.x: - introducing msi arguments + upgrade to 2.7.7
=Version 2.5.x=
TightVNC version 2.5 includes a new viewer, native 64-bit versions of all components, and an MSI installer.
With the MSI installers, we can directly configure the options without the need of an extra Regedit file.
==Preconfiguration Steps==* Download TightVNC and place it in your WPKG software folderRead the pdf if you want more informations: http://www.* On a test computer, install TightVNC and configure it with your password settings, etctightvnc.* Use regedit to export HKEY_LOCAL_MACHINE\SOFTWARE\TightVNC\Server and save it as settingscom/doc/win/TightVNC_2.reg in your WPKG software folder7_for_Windows_Installing_from_MSI_Packages. '''WARNING: as others can read this file it is possible that they could decrypt the VNC passwords!'''pdf
==WPKG Package==
<source lang="xml">
<package id="tightvncTightvnc" name="TightVNC Tightvnc Server" revision="251.0%version%" priorityreboot="30false" rebootpriority="false70"> <check typevariable name="uninstallversion" conditionvalue="exists" path="TightVNC2.7.7" />  <!-- removing versions 2.0 and earlier if installed. To switch between platforms --> <install cmdvariable name='"%ProgramFiles%\TightVNC\uninstall.exeplateform" value="32" /S' architecture='"x86' ><exit code="any" /></install> <install cmdvariable name='"%ProgramFiles(x86)%\TightVNC\uninstall.exeplateform" value="64" /S' architecture='"x64' ><exit code="any" /></install> <install cmd='ping 127.0.0.1 -n 10>NUL' /> <install cmd='msiexec /qn /i "%SOFTWARE%\vnc\tightvnc!-- Those 2.5.1commands will set password in the next MSI variables -setup-32bit.msi"' architecture='x86' /> <install cmdvariable name='msiexec /qn /i "%SOFTWARE%\vnc\tightvnc-2.5.1-setup-64bit.msiTVNCCONTROLPWD"' architecturevalue='x64' "password123" /> <install cmdvariable name='"%ProgramFiles%\TightVNC\tvnserverTVNCACCESSPWD" -install -silent'> <exit codevalue="1password321" /> <exit code="0" />!-- <Variables from the MSI file. Please read the PDF for further detailshttp:/install>/www.tightvnc.com/doc/win/TightVNC_2.7_for_Windows_Installing_from_MSI_Packages.pdf <install cmd='"%ProgramFiles%\TightVNC\tvnserver" -stop -silent' > <exit codevariable name="1tvnc_options" /> <exit codevalue="0ADDLOCAL=" /> </install> <install cmdServer,Viewer" SERVER_REGISTER_AS_SERVICE=1 SERVER_ADD_FIREWALL_EXCEPTION=1 SET_USEVNCAUTHENTICATION=1 VALUE_OF_USEVNCAUTHENTICATION=1 SET_PASSWORD=1 VALUE_OF_PASSWORD='regedit /s "%SOFTWARETVNCACCESSPWD%\vnc\settings.reg"' architectureSET_VIEWONLYPASSWORD='x86' /> <install cmd1 VALUE_OF_VIEWONLYPASSWORD='regedit /s "%SOFTWARETVNCACCESSPWD%\vnc\tightvncx64.reg"' architectureSET_USECONTROLAUTHENTICATION='x64' /> <install cmd1 VALUE_OF_USECONTROLAUTHENTICATION=1 SET_CONTROLPASSWORD=1 VALUE_OF_CONTROLPASSWORD='"%ProgramFilesTVNCCONTROLPWD%\TightVNC\tvnserver" -start -silent' /> <upgrade cmdcheck type='"%ProgramFiles%\TightVNC\uninstall.exe" /S' architecturecondition='x86' ><exit code"versiongreaterorequal" path="anyTightVNC" /></upgrade> <upgrade cmdvalue='"%ProgramFiles(x86)version%\TightVNC\uninstall.exe" /S' architecture='x64' ><exit codedownload url="any" %DOWNLOADURL%/><Tightvnc/upgrade> <upgrade cmd='ping 127tightvnc-%version%-setup-%plateform%bit.0.0.1 -n 10>NUL' /> <upgrade cmdmsi" target='msiexec /qn /i "%SOFTWARE%\vncinstallers\tightvnc-2.5.1%version%-setup-32bit%plateform%bit.msi"' architecture='x86' /> <upgrade install cmd='"msiexec /qn /norestart /i "%SOFTWARETEMP%\vncinstallers\tightvnc-2.5.1%version%-setup-64bit%plateform%bit.msi"' architecture='x64' /> <upgrade cmd='"%ProgramFilestvnc_options%\TightVNC\tvnserver" -install -silent'> <exit code="1" /> <exit code="0" /> </upgrade> <upgrade cmd='""%ProgramFiles%\TightVNC\tvnserver" -stop -silent' > <exit code="1" /> <exit code="0ANY" /> </upgrade> <upgrade cmdinclude='regedit /s "%SOFTWARE%\vnc\settings.regremove"' architecture='x86' /> <upgrade cmdinclude='regedit /s "%SOFTWARE%\vnc\tightvncx64.reginstall"' architecture='x64' /> <upgrade cmd='"%ProgramFiles%\TightVNC\tvnserver" !-- Removing with the WMIC call -start -silent' /> <remove cmd='msiexec /qn /x "%SOFTWARE%\vnc\tightvnc-2.5.1-setup-32bit.msiwmic product where "name like ' architecture='x86' /> <remove cmd='msiexec /qn /x "Tightvnc%SOFTWARE%\vnc\tightvnc-2.5.1-setup-64bit.msi'" call uninstall"' architecture='x64' />
</package>
</source>
17
edits

Navigation menu