[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-devel] Win 32 Install script bug openvpn.nsi


  • Subject: [Openvpn-devel] Win 32 Install script bug openvpn.nsi
  • From: Remco Boom <rab@xxxxxxxxxx>
  • Date: Wed, 29 Sep 2004 14:52:30 +0200

Hello all

In the file openvpn.nsi.in version 1.2.2.9, This is the most recent file in CVS
http://cvs.sourceforge.net/viewcvs.py/openvpn/openvpn/install-win32/openvpn.nsi.in?rev=1.2.2.9&view=markup
I found a bug, When you reinstall the same version openvpn the old tap driver isn't removed and you endup with 2 tap drivers installed and openvpn doesn't work.
To fix it, just change the following in the nsi file:


At line 348 it says:
nsExec::ExecToLog '"$INSTDIR\bin\tapinstall.exe" remove TAP'
But is must be
nsExec::ExecToLog '"$INSTDIR\bin\tapinstall.exe" remove ${TAP}'

At line 351 it says:
nsExec::ExecToLog '"$INSTDIR\bin\tapinstall.exe" remove TAPDEV'
This must be
nsExec::ExecToLog '"$INSTDIR\bin\tapinstall.exe" remove ${TAPDRV}'
at line 353 TAPDEV must also be replaced bij ${TAPDRV}


I'm not shore how or if i'm able to change this in CVS, can one of you do this?
Thnx


Grtz,Remco

____________________________________________
Openvpn-devel mailing list
Openvpn-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-devel