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 -> r22.214.171.124)
setup.bat (r1.2 -> r126.96.36.199)
upgrade.bat (r1.7 -> r188.8.131.52)
paths.projinc.in (r1.5 -> r184.108.40.206)
pginst.proj (r220.127.116.11 -> r18.104.22.168)
pginst.wxs (r22.214.171.124 -> r126.96.36.199)
pgsql-committers by date
|Next:||From: User Dpage||Date: 2008-02-26 10:08:32|
|Subject: pginstaller - pginst: Fix two Vista issues found recently: Fix 1 ***** |
|Previous:||From: Peter Eisentraut||Date: 2008-02-26 08:23:31|
|Subject: pgsql: Need more dependencies to get the build order right when |