1
edit
Changes
TightVNC
,→WPKG Package: Some quotes were breaking the XML; put the remove in comment until a solution to the quote mess is found
-->
<variable name="tvnc_options" value="'ADDLOCAL="Server,Viewer" SERVER_REGISTER_AS_SERVICE=1 SERVER_ADD_FIREWALL_EXCEPTION=1 SET_USEVNCAUTHENTICATION=1 VALUE_OF_USEVNCAUTHENTICATION=1 SET_PASSWORD=1 VALUE_OF_PASSWORD=%TVNCACCESSPWD% SET_VIEWONLYPASSWORD=1 VALUE_OF_VIEWONLYPASSWORD=%TVNCACCESSPWD% SET_USECONTROLAUTHENTICATION=1 VALUE_OF_USECONTROLAUTHENTICATION=1 SET_CONTROLPASSWORD=1 VALUE_OF_CONTROLPASSWORD=%TVNCCONTROLPWD%"' />
<check type="uninstall" condition="versiongreaterorequal" path="TightVNC" value="%version%"/>
<download url="%DOWNLOADURL%/Tightvnc/tightvnc-%version%-setup-%plateform%bit.msi" target="installers\tightvnc-%version%-setup-%plateform%bit.msi"/>
<install cmd="'msiexec /qn /norestart /i "%TEMP%\installers\tightvnc-%version%-setup-%plateform%bit.msi" %tvnc_options%"' />
<upgrade cmd="'"%ProgramFiles%\TightVNC\tvnserver" -stop -silent"'><exit code="ANYany"/></upgrade>
<upgrade include="remove"/>
<upgrade include="install"/>
<!-- Removing with the WMIC call -->
<!-- <remove cmd="wmic product where "name like 'Tightvnc%%'" call uninstall"/> -->
</package>