Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZibL3-0002ag-4n for pgadmin-hackers@arkaria.postgresql.org; Sun, 04 Oct 2015 04:55:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZibL2-0005sQ-Ft for pgadmin-hackers@arkaria.postgresql.org; Sun, 04 Oct 2015 04:55:56 +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 1ZibKp-0005dt-8N for pgadmin-hackers@postgresql.org; Sun, 04 Oct 2015 04:55:43 +0000 Received: from smtp45.i.mail.ru ([94.100.177.105]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZibKi-00040C-4Y for pgadmin-hackers@postgresql.org; Sun, 04 Oct 2015 04:55:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Subject:CC:To:Message-ID:Reply-To:From:Date; bh=H0SFgD8NEWHD5dydG6HKHFQIW9yZDNp55a+XPbKsdNk=; b=o7I+O9RQH/ZNGUXgPPXKHmfsoWOqXS5QV1LjzSGG4BJGl0PcdKSQwo+9f1pOPj7XadASaLr8FWyw0r+F9uPPeOSiiRk1IEh5iw0GiIqfPh/u0oIpvaLjPiCoQ/nFgejXOpjFz/OkY+iKUt4b2RemXlmS24Ce/pgOPJ+JxKrsXys=; Received: from [5.165.249.156] (port=49346 helo=HomePC) by smtp45.i.mail.ru with esmtpa (envelope-from ) id 1ZibKg-0000ot-CQ; Sun, 04 Oct 2015 07:55:35 +0300 Date: Sun, 4 Oct 2015 07:55:33 +0300 From: "J.F. Oster" Reply-To: "J.F. Oster" X-Priority: 3 (Normal) Message-ID: <747437891.20151004075533@mail.ru> To: Nikolai Zhubr CC: pgadmin-hackers@postgresql.org Subject: Re: [Patch] Windows installer: allow manually setting WIXDIR as appropriate. In-Reply-To: <560EF2C6.9040402@yandex.ru> References: <560EDBFF.9020305@yandex.ru> <560EF2C6.9040402@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mras: Ok 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 Hello, +1 I proposed the same once but had no feedback. Nikolai, why doesn't the first version work for you? I have it done similar: if NOT "%WIXDIR%"=="" GOTO WIXDIR_SET SET WIXDIR="C:\Program Files (x86)\Windows Installer XML v3\bin" :WIXDIR_SET Saturday, October 3, 2015, 12:10:30 AM, Nikolai Zhubr wrote: NZ> Hi again, NZ> there is some problem in my previous patch, it did not actually work, NZ> here goes a better one: NZ> --- pkg/win32/Make.bat.orig Fri Sep 25 13:20:24 2015 NZ> +++ pkg/win32/Make.bat Fri Oct 02 21:55:27 2015 NZ> @@ -9,7 +9,9 @@ NZ> SET APPKEYWORDS=PostgreSQL, pgAdmin NZ> SET APPCOMMENTS=PostgreSQL Tools NZ> SET APPDESCRIPTION=Management and administration tools for the NZ> PostgreSQL DBMS NZ> +IF NOT (%WIXDIR%)==() GOTO DONE_WIXDIR NZ> SET WIXDIR="C:\Program Files (x86)\Windows Installer XML v3\bin" NZ> +:DONE_WIXDIR NZ> SET BUILDTREE="../.." NZ> Thank you, NZ> Nikolai NZ> 02.10.2015 22:33, I wrote: >> Hi all, >> >> How about allowing wix3 to be located in a different path, pointed to by >> setting WIXDIR environment variable _manually_ before building. >> >> The following patch allows doing so, while fully retaining previous >> behaviour in case this variable was not manually set. >> >> (E.g. when building in a 32bit windows, the "Program Files (x86)" is not >> good enough, and I'd rather not modify the scripts for just setting a >> correct path) >> >> --- pkg/win32/Make.bat.orig Fri Sep 25 13:20:24 2015 >> +++ pkg/win32/Make.bat Fri Oct 02 21:55:27 2015 >> @@ -9,7 +9,9 @@ >> SET APPKEYWORDS=PostgreSQL, pgAdmin >> SET APPCOMMENTS=PostgreSQL Tools >> SET APPDESCRIPTION=Management and administration tools for the >> PostgreSQL DBMS >> +IF NOT "%WIXDIR%"=="" GOTO DONE_WIXDIR >> SET WIXDIR="C:\Program Files (x86)\Windows Installer XML v3\bin" >> +:DONE_WIXDIR >> >> SET BUILDTREE="../.." >> >> >> Thank you, >> Nikolai >> >> -- Best regards, J.F. -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers