Thread: BUG #5485: Microsoft VC++ exception during postgres instalation
The following bug has been logged online: Bug reference: 5485 Logged by: Jakub Bogacz Email address: jakubbogacz@o2.pl PostgreSQL version: 8.4.1, 9.0.0 Operating system: Windows 7 Description: Microsoft VC++ exception during postgres instalation Details: Hi, Since I've instaled W7, I can't install postgres DB. After run a instaler, I always get an error:"An error occured executing the Microsoft VC++ runtime installer." Please some help.
On 31/05/2010 4:01 PM, Jakub Bogacz wrote: > > The following bug has been logged online: > > Bug reference: 5485 > Logged by: Jakub Bogacz > Email address: jakubbogacz@o2.pl > PostgreSQL version: 8.4.1, 9.0.0 > Operating system: Windows 7 > Description: Microsoft VC++ exception during postgres instalation > Details: > > Hi, > > Since I've instaled W7, I can't install postgres DB. After run a instaler, I > always get an error:"An error occured executing the Microsoft VC++ runtime > installer." Works for me - I just installed Pg 9.0.0beta1 on my new win7 install today. (Thanks Dave!) Are you running Windows 7 32-bit or Windows 7 64-bit? Which edition? (Home, Pro, Ultimate, etc) Is this an upgrade from an older Windows version (and if so, which one) or is it a clean install? If it's an upgrade, did you have a version of PostgreSQL installed at some previous time? Is your Windows 7 install a "standard" Microsoft one, or was it a preinstall/restore by a hardware manufacturer? Are you running an Administrator account or a basic user account? (if you're using the account created with the operating system install, it's an admin account). Is UAC at the default settings, or have you changed them? Do you have a virus scanner installed? If so, which one? If you download and install the MSVC++ 2005 runtime redist ( http://www.microsoft.com/Downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&displaylang=en ) separately, are you then able to install Pg? -- Craig Ringer
As a workaround you can run the installer with a CLI option '--install_runtimes 0' which will skip the VC++ runtimes installation, However if your system doesn;t have those runtimes installation will fail subsequently in the later stages. From the the installation logs found in %TEMP%, you can find the error code returned by the VC++ runtimes installer which will be helpful in knowing why it failed on your system. On 5/31/10 1:31 PM, Jakub Bogacz wrote: > The following bug has been logged online: > > Bug reference: 5485 > Logged by: Jakub Bogacz > Email address: jakubbogacz@o2.pl > PostgreSQL version: 8.4.1, 9.0.0 > Operating system: Windows 7 > Description: Microsoft VC++ exception during postgres instalation > Details: > > Hi, > > Since I've instaled W7, I can't install postgres DB. After run a instaler, I > always get an error:"An error occured executing the Microsoft VC++ runtime > installer." > > Please some help. > > -- Regards, Sachin Srivastava EnterpriseDB <http://www.enterprisedb.com>, the Enterprise Postgres <http://www.enterprisedb.com> company.