-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Eric J. Feldhusen schrieb:
> Is there an automatic way to shut off or better, provide for exceptions 
> to the Windows Firewall?  For example, I want to install UltraVNC 
> silently, but after install I can't reach it because the Windows 
> firewall doesn't have an exception for it until I sit down at the machine.
> 
> Any suggestions?
> 

We do it this way:

    <package
        id="tightvnc"
        name="Tight VNC Service"
        revision="6"
        reboot="false"
        priority="0">
        <check type="uninstall" condition="exists" path="TightVNC
1.2.9" />

        <install cmd='w:\packages\tightvnc-1.2.9-setup.exe /silent
/norestart '>
          <exit code="0" />
        </install>
        <install cmd='"%ProgramFiles%\TightVNC\WinVNC.exe" -install'>
          <exit code="0" />
        </install>
        <install cmd="cmd /c regedit /s
w:\packages\tightvnc-default-settings.reg" />
        <install cmd='cmd /c "netsh firewall set portopening TCP
5900 ENABLE" '/>
        <install cmd='cmd /c net start "VNC Server" '/>

        <remove cmd='cmd /c net stop "VNC Server" '>
          <exit code="0" />
          <exit code="2" />
        </remove>
        <remove cmd='"%ProgramFiles%\TightVNC\WinVNC.exe" -remove'/>
        <remove cmd='"%programfiles%\TightVNC\unins000.exe" /silent' />
        <remove cmd="cmd /c regedit /s
w:\packages\tightvnc-no-default-settings.reg" />
        <remove cmd='cmd /c "netsh firewall set portopening TCP 5900
DISABLE" '/>

        <upgrade cmd="cmd /c regedit /s
w:\packages\tightvnc-winfw-settings.reg" />
        <upgrade cmd="cmd /c regedit /s
w:\packages\tightvnc-default-settings.reg" />
        <upgrade cmd='cmd /c "netsh firewall set portopening TCP
5900 ENABLE" '/>

    </package>




- --
Falko Trojahn                     fon +49-341-3581294
Dipl.-Ingenieur Netzwerke/Support fax +49-341-3581295
SMI Softmark Informationstechnologien GmbH
www.smi-softmark.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iQEVAwUBRXgTvYkcY98goEs/AQLdgQf/VUJNc4H+YVUzPP9LlQE0hU32Vl/kzNxo
Xr7BJr4fYmRLnXoiYk7oCbUtV0SsNkt9GH608f1udsLP88StSQdEAkeqgSlO2xFm
mSG2P3vppSFDgDxsug48/FPDwiG8kVwf2hssILUF71h7WvOmBkBcd2CR4w3m+ktT
G/W8fZv5Zr9ohuoFHlLtErdHfIcerJ7331v53VxvA9oBo3fgSosaSyX3W/Vi9a6K
CCg0iyvBYW1XAPzqx2C2WxVqlR5jJFJ0JbMgUpxajHtHP3RQAnNbi42HbQ5rzD+V
4720x0xnvve3PWzpcV4V9aXV2aq2VxEbt1HxWmfOSnhBak4e//8qTQ==
=09TD
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to