How to pack postgre packages under Win

xiaoxiao2021-03-05  30

Ready to pack the Postgre8 into the installer, but have a lot of postgre, monitor the registry, or not, this is what I understand.

1, copy files to installation directory

2, copy sharing library: libeay32.dll libiconv-2.dll libintl-2.dll libpq.dll ssleay32.dll to c: / windows / system32

3, registration components

4, registration as a service

Which one knows the postgre installation process, mainly is registered as a component. Please enlighten me, thank you!

And I have successfully added services but can't start.

E: / postgreSQL / BIN> PG_CTL register -n "postgre" -d "e: / postgre / data"

Here is an error message

The description of event ID (0) (in the resource (postgreSQL) is unable to find. Local computers may not have the necessary registration information or message DLL files to display messages from remote computers. You may be able to use the / auxSource = ID to search the word description; see help and support for details. The following information is part of an event: Execution of PostgreSQL by a user with administrative permissions is not

Permitted.

The Server Must Be Started Under An Unprivileged User ID TO Prevent

Possible System Security Compromises. See The Documentation for

More information on how to properly start the server.

------------------------------------------

Look at the prompt is because Postgre can't use high-rights users to start, but I have been modified to a regular user in the service manager, but it is still this, I don't know how to solve, please advise, thank you. . . . .

转载请注明原文地址:https://www.9cbs.com/read-33318.html

New Post(0)