Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 259FCBED7F2 for ; Mon, 30 Jan 2012 03:49:31 -0400 (AST) Received: from omr9.networksolutionsemail.com ([205.178.146.59]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RrlzX-00081b-Ow for pgsql-bugs@postgresql.org; Mon, 30 Jan 2012 07:49:32 +0000 Received: from cm-omr5 (mail.networksolutionsemail.com [205.178.146.50]) by omr9.networksolutionsemail.com (8.13.8/8.13.8) with ESMTP id q0U7nFnf017695 for ; Mon, 30 Jan 2012 02:49:16 -0500 Authentication-Results: cm-omr5 smtp.user=eborts@bltek.com; auth=pass (CRAM-MD5) X-Authenticated-UID: eborts@bltek.com Received: from [67.190.87.109] ([67.190.87.109:53197] helo=[192.168.1.103]) by cm-omr5 (envelope-from ) (ecelerity 2.2.2.41 r(31179/31189)) with ESMTPSA (cipher=AES256-SHA) id 3C/1C-06803-B7B462F4; Mon, 30 Jan 2012 02:49:15 -0500 Message-ID: <4F264B79.6040408@bltek.com> Date: Mon, 30 Jan 2012 00:49:13 -0700 From: Eric Borts User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Dave Page CC: Dharmendra Goyal , pgsql-bugs@postgresql.org Subject: Re: Windows x86-64 One-Click Install (9.1.2-1, 9.0.6-1) hangs on "initialising the database cluster" (with work-around) References: <4F209FF1.3080209@bltek.com> <4F219D77.9050800@bltek.com> <4F21A163.8060004@bltek.com> <4F22FBC7.2000902@bltek.com> <4F22FDD8.1020708@bltek.com> <4F230600.7030902@bltek.com> <4F230D46.2010200@bltek.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201201/254 X-Sequence-Number: 32321 On 1/29/2012 3:02 AM, Dave Page wrote: > On Sat, Jan 28, 2012 at 2:47 AM, Dharmendra Goyal > wrote: >> >> Nice analysis Eric. ANy idea why (which program set this) this particular >> registry was set. >> >> Dave, shall we consider using "%COMSPEC% /c" with 0 as second parameter..?? > We can certainly try it, though I'm concerned it may break more > systems than it fixes, eg. those where %COMSPEC% has been > intentionally changed because the use wants to use a different shell. > > I'd have to agree with Dave here. It was clearly a problem with my batch file association. I don't know *how* I got into this state, but at least there's a good log now of how to fix the problem for users that have the same problem! I suppose you could detect the problem and issue warning by running a test echo batch file and *not waiting* on the result, then pausing for a second, and checking to see if the output file was created. Heck or check the registry to see if there's a UserChoice key on the .bat extension. In any case, I'm satisfied that my computer was messed up and it's now fixed. And I've got my context menu back! Thanks, Eric