Re: BUG #7851: Installer crash with message: An error occured executing the Microsoft VC++ runtimeinstaller

From: Ivano Luberti <luberti(at)archicoop(dot)it>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #7851: Installer crash with message: An error occured executing the Microsoft VC++ runtimeinstaller
Date: 2013-02-06 15:03:05
Message-ID: 511270A9.3090902@archicoop.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thanks Dave, I have followe your instructions and the result is really
weird.
The script doesn't run and error message is that VBScript interpreter
cannot be found.
At the same time .vbs files are recognized as associated with WScript.exe

In detail:

I copied your file on my desktop.
I renamed it with the .vbs extension.
Then I opened the cmd prompt both normally and as an administrator.
Here you can find the output (in italian but I think i understandable):

Normal running:
-----------------------

Microsoft Windows [Versione 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tutti i diritti riservati.

C:\Users\luberti>cd desktop

C:\Users\luberti\Desktop>assoc .vbs
.vbs=VBSFile

C:\Users\luberti\Desktop>ftype VBSFile
VBSFile="%SystemRoot%\System32\WScript.exe" "%1" %*

C:\Users\luberti\Desktop>cscript //nologo prerun_checks.vbs
Errore CScript: Impossibile trovare l'interprete di script "VBScript"
per lo scr
ipt "C:\Users\luberti\Desktop\prerun_checks.vbs".

Running as an administrator:
------------------------------------------

Microsoft Windows [Versione 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tutti i diritti riservati.

C:\Windows\system32>cd ..

C:\Windows>cd ..

C:\>cd Users\luberti\Desktop

C:\Users\luberti\Desktop>assoc .vbs
.vbs=VBSFile

C:\Users\luberti\Desktop>ftype VBSFile
VBSFile="%SystemRoot%\System32\WScript.exe" "%1" %*

C:\Users\luberti\Desktop>cscript //nologo prerun_checks.vbs
Errore CScript: Impossibile trovare l'interprete di script "VBScript"
per lo scr
ipt "C:\Users\luberti\Desktop\prerun_checks.vbs".

C:\Users\luberti\Desktop>

--
==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==================================================

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jozef Hlavaty 2013-02-06 15:15:55 Re: A bug in documentation for the Query Tool PostgreSQL Version 9.2.2, Win x86-64
Previous Message Dave Page 2013-02-06 13:33:10 Re: BUG #7851: Installer crash with message: An error occured executing the Microsoft VC++ runtimeinstaller