Message-Id: <48E34A1F.7D5B.00BC.0@...1133...> Date: Wed, 01 Oct 2008 09:59:59 +0200 From: "Svein Hansen" Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=__Part0128A7EF.0__=" Subject: [Openvpn-devel] Req: UAC in Vista and updated prebuilds List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: openvpn-devel@lists.sourceforge.net This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part0128A7EF.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi Two requests: 1: Prebuilt openvpn for RC12 (and upcoming releases) I want to include my own configuration files in the installer. Can someone upload to: https://secure.openvpn.net/devel/ when a new release/bugfix is released? Please... 2: Add support for UAC(if:enabled) in Vista: Set "RUNASADMIN" for the GUI in the installer. (When connecting to OpenVPN in Vista I need admin-rights to set routes.) I have included some code in the openvpn.nsi, but i don't know if this is the best way to solve the problem. ; tap-64bit: DetailPrint "We are running on a 64-bit system." SetRegView 64 WriteRegStr HKLM "Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" "$INSTDIR\bin\openvpn-gui-1.0.3.exe" "RUNASADMIN" SetRegView 32 SetOutPath "$INSTDIR\bin" File "${GEN}\tapinstall\amd64\tapinstall.exe" SetOutPath "$INSTDIR\driver" File "${GEN}\driver\amd64\OemWin2k.inf" File "${GEN}\driver\amd64\${PRODUCT_TAP_ID}.cat" File "${GEN}\driver\amd64\${TAPDRV}" goto tapend tap-32bit: DetailPrint "We are running on a 32-bit system." WriteRegStr HKLM "Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" "$INSTDIR\bin\openvpn-gui-1.0.3.exe" "RUNASADMIN" SetOutPath "$INSTDIR\bin" File "${GEN}\tapinstall\i386\tapinstall.exe" SetOutPath "$INSTDIR\driver" File "${GEN}\driver\i386\OemWin2k.inf" File "${GEN}\driver\i386\${PRODUCT_TAP_ID}.cat" File "${GEN}\driver\i386\${TAPDRV}" tapend: This works on both 32- and 64-bit Vista (I can't see that this would cause problems for XP) So my question is: Can this be included in the source? Svein Hansen --=__Part0128A7EF.0__= Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Content-Description: HTML
Hi
 
Two requests:
 
1:  Prebuilt openvpn for RC12 (and upcoming releases)
I want to include my own configuration files in the installer.
Can someone upload to: h= ttps://secure.openvpn.net/devel/ when a new release/bugfix is rele= ased?
Please...
 
2: Add support for UAC(if:enabled) in Vista: Set "RUNASADMIN" for= the GUI in the installer.
(When connecting to OpenVPN in Vista I need admin-rights to set routes= .)
I have included some code in the openvpn.nsi, but i don't know if= this is the best way to solve the problem. 
 
; tap-64bit:
 
  DetailPrint "We are running on a 64-bit system."
  SetR= egView 64
  WriteRegStr HKLM "Software\Microsoft\Windows NT\Current= Version\AppCompatFlags\Layers" "$INSTDIR\bin\openvpn-gui-1.0.3.exe" "RUNASA= DMIN"
  SetRegView 32
 
  SetOutPath "$INSTDIR\bin"
 
  File "${GEN}\tapinstall\amd64\tapinstall.exe"
 
  SetOutPath "$INSTDIR\driver"
 
  File "${GEN}\driver\amd64\OemWin2k.inf"
  File "${GEN}\= driver\amd64\${PRODUCT_TAP_ID}.cat"
  File "${GEN}\driver\amd64\${T= APDRV}"
 
goto tapend
 
tap-32bit:
 
  DetailPrint "We are running on a 32-bit system."
  Writ= eRegStr HKLM "Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\L= ayers" "$INSTDIR\bin\openvpn-gui-1.0.3.exe" "RUNASADMIN"
 
  SetOutPath "$INSTDIR\bin"
  File "${GEN}\tapinstall\i38= 6\tapinstall.exe"
 
  SetOutPath "$INSTDIR\driver"
  File "${GEN}\driver\i386= \OemWin2k.inf"
  File "${GEN}\driver\i386\${PRODUCT_TAP_ID}.cat"  File "${GEN}\driver\i386\${TAPDRV}"
 
  tapend:
 
This works on both 32- and 64-bit Vista
(I can't see that this would cause problems for XP)
So my question is:
Can this be included in the source?
 
Svein Hansen
--=__Part0128A7EF.0__=--