From: Mathias Sundman Message-ID: MIME-Version: 1.0 Subject: [Openvpn-devel] Windows install pkg leaves a ; in path Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Feb 13 07:14:13 2005 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 8bit To: openvpn-devel@lists.sourceforge.net Cc: James Yonan , markku@...124... When uninstalling OpenVPN, the installation package leaves a semicolon at the end of the path. When OpenVPN is then re-installed, another semicolon is added to the path before the openvpn path, and you therefore end up with two semicolons before the OpenVPN path. Every time you install a new version of OpenVPN an extra semicolon is added! I have solved this in the OpenVPN GUI installation package simply by changing ; remove previously set path (if any) Push "$INSTDIR\bin" Call RemoveFromPath to ; remove previously set path (if any) Push ";$INSTDIR\bin" Call RemoveFromPath in the two places RemoveFromPath is called from the NSIS script. I guess a more "correct" solution would be to fix the setpath.nsi RemoveFromPath function so it removes the preceding semicolon if a such exists. Thanks to Markku Leinio for reporting this problem. -- _____________________________________________________________ Mathias Sundman (^) ASCII Ribbon Campaign OpenVPN GUI for Windows X NO HTML/RTF in e-mail http://openvpn.se / \ NO Word docs in e-mail