[wpkg-users] help with a package - ultravnc

Paul McGrath J.P.McGrath at leeds.ac.uk
Fri Feb 26 17:27:16 CET 2010


Hi,
  I am trying to create a package of ultravnc 1.0.8.2 and have been working on it for two days.  I cannot get the mirror driver to install.

I have created two packages, one is the mirror driver and the other ultravnc.  Ultravnc installs okay and is working but I need to install the mirror driver and I cannot get any of the suggested methods to work.  If I try any of the three methods manually it installs the mirror driver, but by WPKG it doesn't.

<package 
    id="mirrordrv" 
    name="UltraVNC Mirror Driver" 
    revision="1.0.2.2" 
    priority="16">
    <install cmd='cmd /c mkdir "%PROGRAMFILES%\ultravnc" ' >
      <exit code='1' />
    </install>
    <install cmd='cmd /c copy /y %SOFTWARE%\ultravnc\drivers.zip "%PROGRAMFILES%\ultravnc" ' >
      <exit code='1' />
    </install>
    <install cmd='cmd /c %SETTINGS%\tools\unzip.exe -o "%PROGRAMFILES%\ultravnc\drivers.zip" -d "%PROGRAMFILES%\ultravnc" ' />

<!-- HERE ARE MY THREE LINES WHICH I HAVE TRIED -->
<!--   <install cmd='%comspec% /c start /WAIT "Mirror Driver Install" /D"%ProgramFiles%\UltraVNC\driver\XP" "%ProgramFiles%\UltraVNC\driver\XP\setupdrv.exe" installs ' />  -->
    <install cmd='cmd /c "%PROGRAMFILES%\ultravnc\driver\xp\setupdrv.exe" install ' />   
<!--      <install cmd='cmd /c "%PROGRAMFILES%\ultravnc\driver\xp\install_silent.bat" ' />   -->


    <install cmd='cmd /c del /q "%PROGRAMFILES%\ultravnc\drivers.zip" ' />
    <remove cmd='sc delete mv2' />
</package>

Thanks in advance
Paul

------------------------------
Paul McGrath,
IT Manager,
Leeds Institute of Molecular Medicine,
St James's University Hospital,
Beckett Street, Leeds, LS9 7TF, UK
Ext.....: Uni - 38630, NHS - (89)38630
Tel.....: +44 113 34 38630
Email...: j.p.mcgrath at leeds.ac.uk
Homepage: http://www.limm.leeds.ac.uk







More information about the wpkg-users mailing list