Problem with silent install of PgSQL on Windows

Started by Gregalmost 20 years ago1 messagesgeneral
Jump to latest
#1Greg
greg@officium.co.za

I cannot figure this out. I am trying to do a silent install.

Here is my command

msiexec /i postgresql-8.1-int.msi /qb /log install.log INTERNALLAUNCH=1
ADDLOCAL=server,psql SERVICEDOMAIN="%COMPUTERNAME%"
SERVICEPASSWORD="SecretWindowsPassword123" SUPERPASSWORD="VerySecret"
BASEDIR="c:\postgres"

I then get the error.

Invalid username specified, Logon failure unknown username or bad password

How do I sort this problem out? This silent install can run on a number of
PC's and not one so I can't hardcode any values.

My install.log has nothing useful.

=== Logging started: 2006/06/09 16:30:17 ===

Action start 16:30:17: INSTALL.

Action start 16:30:17: LaunchConditions.

Action ended 16:30:17: LaunchConditions. Return value 1.

Action start 16:30:17: ValidateProductID.

Action ended 16:30:17: ValidateProductID. Return value 1.

Action start 16:30:17: CostInitialize.

Action ended 16:30:17: CostInitialize. Return value 1.

Action start 16:30:17: FileCost.

Action ended 16:30:17: FileCost. Return value 1.

Action start 16:30:17: CostFinalize.

Action ended 16:30:17: CostFinalize. Return value 1.

Action start 16:30:17: InstallValidate.

Action ended 16:30:18: InstallValidate. Return value 1.

Action start 16:30:18: InstallInitialize.

Action ended 16:30:25: InstallInitialize. Return value 1.

Action start 16:30:25: ProcessComponents.

Action ended 16:30:25: ProcessComponents. Return value 1.

Action start 16:30:25: UnpublishFeatures.

Action ended 16:30:25: UnpublishFeatures. Return value 1.

Action start 16:30:25: StopServices.

Action ended 16:30:25: StopServices. Return value 1.

Action start 16:30:25: DeleteServices.

Action ended 16:30:25: DeleteServices. Return value 1.

Action start 16:30:25: SelfUnregModules.

Action ended 16:30:25: SelfUnregModules. Return value 1.

Action start 16:30:25: RemoveRegistryValues.

Action ended 16:30:25: RemoveRegistryValues. Return value 1.

Action start 16:30:25: RemoveShortcuts.

Action ended 16:30:25: RemoveShortcuts. Return value 1.

Action start 16:30:25: RemoveEnvironmentStrings.

Action ended 16:30:25: RemoveEnvironmentStrings. Return value 1.

Action start 16:30:25: RemoveFiles.

Action ended 16:30:25: RemoveFiles. Return value 0.

Action start 16:30:25: PrepVerifyUser.

Action ended 16:30:25: PrepVerifyUser. Return value 1.

Action start 16:30:25: DoVerifyUser.

Action ended 16:30:25: DoVerifyUser. Return value 1.

Action start 16:30:25: InstallFiles.

Action ended 16:30:25: InstallFiles. Return value 1.

Action start 16:30:25: PrepInitdb.

Action ended 16:30:25: PrepInitdb. Return value 1.

Action start 16:30:25: PrepInstallContrib.

Action ended 16:30:25: PrepInstallContrib. Return value 1.

Action start 16:30:25: PrepInstallPl.

Action ended 16:30:25: PrepInstallPl. Return value 1.

Action start 16:30:25: PrepSetPermissions.

Action ended 16:30:25: PrepSetPermissions. Return value 1.

Action start 16:30:25: SetPermissions.

Action ended 16:30:25: SetPermissions. Return value 1.

Action start 16:30:25: RunInitdb.

Action ended 16:30:25: RunInitdb. Return value 1.

Action start 16:30:25: CreateShortcuts.

Action ended 16:30:25: CreateShortcuts. Return value 1.

Action start 16:30:25: WriteRegistryValues.

Action ended 16:30:25: WriteRegistryValues. Return value 1.

Action start 16:30:25: WriteEnvironmentStrings.

Action ended 16:30:25: WriteEnvironmentStrings. Return value 1.

Action start 16:30:25: SelfRegModules.

Action ended 16:30:25: SelfRegModules. Return value 1.

Action start 16:30:25: InstallServices.

Action ended 16:30:25: InstallServices. Return value 1.

Action start 16:30:25: StartServices.

Action ended 16:30:25: StartServices. Return value 1.

Action start 16:30:25: InstallPl.

Action ended 16:30:25: InstallPl. Return value 1.

Action start 16:30:25: InstallContrib.

Action ended 16:30:25: InstallContrib. Return value 1.

Action start 16:30:25: RegisterUser.

Action ended 16:30:25: RegisterUser. Return value 1.

Action start 16:30:25: RegisterProduct.

Action ended 16:30:25: RegisterProduct. Return value 1.

Action start 16:30:25: PublishFeatures.

Action ended 16:30:25: PublishFeatures. Return value 1.

Action start 16:30:25: PublishProduct.

Action ended 16:30:25: PublishProduct. Return value 1.

Action start 16:30:25: InstallFinalize.