Changes

Jump to: navigation, search

UltraVNC

3,738 bytes added, 20:34, 24 September 2009
Package for UltraVNC
This is a silent installer and uninstaller for distrubution of UltraVNC.
 
== Package for UltraVNC 1.0.6.4 ==
 
This builds on the example from 1.0.5.3, with the notable addition of the extra work to install the video driver. The bad news is that the video driver doesn't work unless the client option "WPKG User Interface Show" checkbox is checked. The good news is that if that's checked, the below will work. It's worth noting that the installation package no longer creates the 'driver' directory; this must now be done manually. You will have to setup your software repository with this directory.
 
Because of the issues with the video driver, I have commented out the installation bits. They are included here for completeness sake.
<source lang="xml">
<package id="UltraVNC" name="Ultra VNC" revision="1064" priority="0">
<check type="uninstall" condition="exists" path="UltraVNC 1.0.6.4" />
<!-- <check type="registry" condition="exists" path="HKLM\SYSTEM\CurrentControlSet\Services\mv2\Start" /> -->
 
<install cmd="net stop uvnc_service">
<exit code="0" />
<exit code="2" />
</install>
<install cmd="sc delete uvnc_service" />
<install cmd='\\sunpro\apps$\ultravnc\UltraVNC_1.0.6.4_Setup.exe /verysilent /loadinf="\\sunpro\apps$\ultravnc\UltraVNC_1.0.6.4_Setup.exe"' />
<install cmd='%comspec% /c copy /Y \\sunpro\apps$\ultravnc\ultravnc.ini "%ProgramFiles%\UltraVNC\"' />
<install cmd='%comspec% /c copy /Y \\sunpro\apps$\ultravnc\rc4.key "%ProgramFiles%\UltraVNC\"' />
<!-- <install cmd='%comspec% /c mkdir "%ProgramFiles%\UltraVNC\driver"'>
<exit code="0" />
<exit code="1" />
</install> -->
<!-- <install cmd='%comspec% /c xcopy /Q /Y /S \\sunpro\apps$\ultravnc\driver "%ProgramFiles%\UltraVNC\driver\"' /> -->
<install cmd='"%ProgramFiles%\UltraVNC\MSLogonACL.exe" /i /a \\sunpro\apps$\ultravnc\acls.txt' />
<!-- <install cmd='%comspec% /c start /WAIT "Mirror Driver Install" /D"%ProgramFiles%\UltraVNC\driver\XP" "%ProgramFiles%\UltraVNC\driver\XP\setupdrv.exe" install' /> -->
<install cmd='"%ProgramFiles%\UltraVNC\winvnc.exe" -installs' />
 
<upgrade cmd='net stop uvnc_service'>
<exit code='0' />
<exit code='2' />
</upgrade>
<upgrade cmd='sc delete uvnc_service' />
<upgrade cmd='\\sunpro\apps$\ultravnc\UltraVNC_1.0.6.4_Setup.exe /verysilent /loadinf="\\sunpro\apps$\ultravnc\UltraVNC_1.0.6.4_Setup.exe"' />
<upgrade cmd='%comspec% /c copy /Y \\sunpro\apps$\ultravnc\ultravnc.ini "%ProgramFiles%\UltraVNC\"' />
<upgrade cmd='%comspec% /c copy /Y \\sunpro\apps$\ultravnc\rc4.key "%ProgramFiles%\UltraVNC\"' />
<!-- <upgrade cmd='%comspec% /c mkdir "%ProgramFiles%\UltraVNC\driver"'>
<exit code="0" />
<exit code="1" />
</upgrade> -->
<!-- <upgrade cmd='%comspec% /c xcopy /Q /Y /S \\sunpro\apps$\ultravnc\driver "%ProgramFiles%\UltraVNC\driver\"' /> -->
<upgrade cmd='"%ProgramFiles%\UltraVNC\MSLogonACL.exe" /i /a \\sunpro\apps$\ultravnc\acls.txt' />
<!-- <upgrade cmd='%comspec% /c start /WAIT "Mirror Driver Install" /D"%ProgramFiles%\UltraVNC\XP" "%ProgramFiles%\UltraVNC\driver\XP\setupdrv.exe" install' /> -->
<upgrade cmd='"%ProgramFiles%\UltraVNC\winvnc.exe" -installs' />
 
<!-- <remove cmd='%comspec% /c start /WAIT "Mirror Driver Uninstall" /D"%ProgramFiles%\UltraVNC\driver\XP" "%ProgramFiles%\UltraVNC\driver\XP\setupdrv.exe" uninstall' /> -->
<remove cmd='net stop uvnc_service'>
<exit code='0' />
<exit code='2' />
</remove>
<remove cmd='sc delete uvnc_service' />
<!-- <remove cmd='sc delete mv2' /> -->
<remove cmd='"%ProgramFiles%\UltraVNC\unins000.exe" /verysilent /norestart' />
<remove cmd='%comspec% /c rmdir /S /Q "%programfiles%\UltraVNC"' />
 
</package>
</source>
 
 
== Package for UltraVNC 1.0.5.3 ==
2
edits

Navigation menu