65
edits
Changes
added package
For installing vnc itself, I [http://sourceforge.net/projects/vnced/ create a msi with vnced]
--[[User:Konus|Konus]] 22:39, 28 December 2011 (CET)
here is the package I use (for 64 bit OS)
<source lang="xml">
<?xml version='1.0' encoding='utf-8'?>
<packages>
<package
id='ultravnc'
name='UltraVNC'
revision="%version%"
reboot='false'
priority='500'>
<variable name="version" value="1.0.9.6.1" />
<variable name="shortversion" value="1.0.9.6" />
<check type='uninstall' condition='exists' path='UltraVNC'/>
<check type='file' condition='versionequalto' path='%PROGRAMFILES(x86)%\UltraVNC\winvnc.exe' value='%shortversion%'/>
<check type='file' condition='exists' path='%PROGRAMFILES(x86)%\UltraVNC\ultravnc.ini' />
<check type='execute' path='findstr /R /C:"passwd=$" "%PROGRAMFILES(x86)%\UltraVNC\ultravnc.ini" > NUL' condition='exitcodeequalto' value='1' />
<!-- <check type='execute' path='%ComSpec% /c netsh firewall show allowedprogram | find /I "winvnc.exe" > NUL' condition='exitcodeequalto' value='0' /> -->
<commands>
<command type="install" cmd='"%SOFTWARE%\ultravnc\install.cmd"'/>
<command type="install" cmd='%windir%\system32\msiexec.exe /quiet /qn /i "%SOFTWARE%\ultravnc\UltraVNC_64bit_%version%.msi" ' />
<command type="upgrade" cmd='"%SOFTWARE%\ultravnc\install.cmd"'/>
<command type="upgrade" cmd='%windir%\system32\msiexec.exe /quiet /qn /i "%SOFTWARE%\ultravnc\UltraVNC_64bit_%version%.msi" ' />
<command type="remove" cmd='"%SOFTWARE%\ultravnc\remove.cmd"'/> <!-- diese Datei muss noch angelegt werden, bevor UltraVNC deinstalliert wird -->
</commands>
</package>
</packages>
</source>
--[[User:Konus|Konus]] 16:20, 6 January 2012 (CET)
----