Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zij8t-0007Ce-RP for pgadmin-hackers@arkaria.postgresql.org; Sun, 04 Oct 2015 13:15:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zij8t-0003xt-93 for pgadmin-hackers@arkaria.postgresql.org; Sun, 04 Oct 2015 13:15:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zij8f-0003jR-1o for pgadmin-hackers@postgresql.org; Sun, 04 Oct 2015 13:15:41 +0000 Received: from forward12.mail.yandex.net ([2a02:6b8:0:801::2]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Zij8c-0005TB-3B for pgadmin-hackers@postgresql.org; Sun, 04 Oct 2015 13:15:40 +0000 Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward12.mail.yandex.net (Yandex) with ESMTP id 7CB9FC20F2F for ; Sun, 4 Oct 2015 16:15:36 +0300 (MSK) Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id 4C81EE4040C for ; Sun, 4 Oct 2015 16:15:36 +0300 (MSK) Received: by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id TDhFCuIPvq-FZn8G5a9; Sun, 4 Oct 2015 16:15:35 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1443964535; bh=gtuL4WojA2VvtGzYlPfwyU8EAfKgFTNGNeoc1ZGw4CE=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Ah5PeB9yP9JWsVzPrsFSm9099STz3WaaAam+kgRlfA3q1eiNBMwVeTZHl90eIr2T2 jzEsgEZJC+vChi4fy2mcPQtJ2Jowne66kAzn4k0VNhtu76/pPeDKustE5bIdkmPNmG cMt5l4PNLpHXHnA+lSi95642KtCC36Qq/T+JaPC8= Authentication-Results: smtp13.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-ForeignMX: SE Message-ID: <56112A4B.6080202@yandex.ru> Date: Sun, 04 Oct 2015 16:31:55 +0300 From: Nikolai Zhubr User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: pgadmin-hackers Subject: Re: [Patch] Windows installer: allow manually setting WIXDIR as appropriate. References: <560EDBFF.9020305@yandex.ru> <560EF2C6.9040402@yandex.ru> <747437891.20151004075533@mail.ru> In-Reply-To: <747437891.20151004075533@mail.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org Hi all, 04.10.2015 7:55, J.F. Oster wrote: > Hello, > > +1 > I proposed the same once but had no feedback. I'm actually surprised by the very low feedback on the list altogether. > Nikolai, why doesn't the first version work for you? I have it done similar: Because if the variable itself contains quotes (and typically it does, to deal with spaces in paths) then AFAICS command interpreter gets confused when it sees yet more surrounding quotes in a comparison operator in a line like you listed below. I'm no expert in cmd.exe behaviour, but at least on windows xp it caused interpreter errors, so I just used a simple workaround and it then ran fine. > if NOT "%WIXDIR%"=="" GOTO WIXDIR_SET > SET WIXDIR="C:\Program Files (x86)\Windows Installer XML v3\bin" > :WIXDIR_SET > > Thank you, Nikolai -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers