Re: BUG #2343: Silent installers fails - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #2343: Silent installers fails
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA351A3@algol.sollentuna.se
Whole thread Raw
In response to BUG #2343: Silent installers fails  ("Anton" <support@firedigit.com>)
Responses Re: BUG #2343: Silent installers fails
List pgsql-bugs
> Bug reference:      2343
> Logged by:          Anton
> Email address:      support@firedigit.com
> PostgreSQL version: 8.1.2
> Operating system:   Windows XP
> Description:        Silent installers fails
> Details:=20
>=20
> Hi All,
>=20
> When the installer creates the user account, I get the=20
> following error:=20
>=20
> Internal Account lookup failure
> No mapping between account names and security ID's was done.
>=20
> Here is the silent installer command:
>=20
> msiexec /i C:\hsm\source\pgsql\postgresql-8.1-int.msi  /qr=20
> INTERNALLAUNCH=3D1 ADDLOCAL=3Dserver,psql,pgadmin=20
> SERVICEDOMAIN=3D%COMPUTERNAME% SERVICEACCOUNT=3Dfd202016fd=20
> SERVICEPASSWORD=3Dfd_pgsql SUPERUSER=3Droot SUPERPASSWORD=3Dfd_hsm=20
> PERMITREMOTE=3D1 ENCODING=3DUTF8 CREATESERVICEUSER=3D1=20
> BASEDIR=3DC:\hsm\postgres
>=20
> This is run from an NSIS installer (with ExecWait).
> The user account "fd202016fd" specified was created.

Does it work if you run it manually?


> Any idea what could cause this and what could be a workaround?

Not really, it shouldn't normally happens. It seems it's created, but
the process that created it can't see it because of some delay
somewhere.

A workaround is to create the account before you launch the installer.

//Magnus

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: No length checking for "name" input
Next
From: Marinos Yannikos
Date:
Subject: Re: BUG #2334: WHERE IN (SUBSELECT) fails when column is null