Message-Id: <48E3FF17.7D5B.00BC.0@...1133...> Date: Wed, 01 Oct 2008 22:55:00 +0200 From: "Svein Hansen" Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=__Part94BD32B4.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. --=__Part94BD32B4.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 --=__Part94BD32B4.0__= Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Content-Description: HTML =20=20=20=20

Hi

 

Two requests:

 

1:  Prebuilt openvpn for RC12 (and upcoming releases&= #41;

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 r= eleased?

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= 9;t know if this is the best way to solve the problem.  =

 

; tap-64bit:

 

  DetailPrint "We are running on a 64-bit system.&qu= ot;
  SetRegView 64
  WriteRegStr HKLM "Soft= ware\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\= ;Layers" "$INSTDIR\bin\openvpn-gui-1.0.3.exe" &q= uot;RUNASADMIN"
  SetRegView 32

 

  SetOutPath "$INSTDIR\bin"

 

  File "${GEN}\tapinstall\amd6= 4\tapinstall.exe"

 

  SetOutPath "$INSTDIR\driver"

 

  File "${GEN}\driver\amd64 = 2;OemWin2k.inf"
  File "${GEN}\dri= ver\amd64\${PRODUCT_TAP_ID}.cat"
  = File "${GEN}\driver\amd64\${TAPDRV&= #125;"

 

goto tapend

 

tap-32bit:

 

  DetailPrint "We are running on a 32-bit system.&qu= ot;
  WriteRegStr HKLM "Software\Microsoft\Window= s NT\CurrentVersion\AppCompatFlags\Layers" "$INST= DIR\bin\openvpn-gui-1.0.3.exe" "RUNASADMIN"

 

  SetOutPath "$INSTDIR\bin"
 &n= bsp;File "${GEN}\tapinstall\i386\tapinstall.= exe"

 

  SetOutPath "$INSTDIR\driver"
 = ; File "${GEN}\driver\i386\OemWin2k.inf= "
  File "${GEN}\driver\i386&#= 92;${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

--=__Part94BD32B4.0__=--