Fix two Vista issues found recently:
On a Vista machine without the VC++ runtimes preinstalled, initdb will
fail. We fix that by bundling the vc_redist.exe runtime installer in
both the main installer package, and now in the no-installer package.
SETUP.bat and UPGRADE.bat are modified to run the runtime installer
with minimal UI, prior to launching the main installer.
- We still ship the runtimes in the main installer so pre-Vista
machines can ignore SETUP.bat and the external installer if required.
- The version of vc_redist.exe shipped is that supplied with Visual
Studio, *not* the one offered for free download on the Microsoft
website. The latter version adds a second IExpress wrapper with a
EULA, and therefore requires a difference command line to install. The
correct version must be used.
- Users repackaging/silent installing the MSIs are responsible for
pre-installing the runtimes on their target machines.
On Windows Vista, a service set to run with a user account of
<machinename>\<username> will cause the Service Control Manager to
start the Netlogon service as a dependency of PostgreSQL in some
circumstances. This fails on standalone machines as Netlogon will
terminate because it knows it's not on a domain and shouldn't be
needed, however this causes the SCM to terminate startup of Postgres
as well. This is resolved by using a user account in the form
.\<username>. To avoid using that potentially unclear notation in the
installer UI, the patch adds a SCMSERVICEDOMAIN property which is set
during the ServiceValidate action and used when installing the
service. If the domain specified matches the machine name, it sets it
to '.', otherwise it sets it to the value of SERVICEDOMAIN (which may
have been set to an actual domain name).
pginstca.c (r1.119 -> r1.120)
setup.bat (r1.2 -> r1.3)
upgrade.bat (r1.7 -> r1.8)
paths.projinc.in (r1.6 -> r1.7)
pginst.proj (r1.15 -> r1.16)
pginst.wxs (r1.227 -> r1.228)
pgsql-committers by date
|Next:||From: User Dpage||Date: 2008-02-26 10:10:15|
|Subject: pginstaller - pginst: Don't enable the debugger plugin by default.|
|Previous:||From: User Dpage||Date: 2008-02-26 10:07:49|
|Subject: pginstaller - pginst: Fix two Vista issues found recently: Fix 1 ***** |