hello,
- can setup factory install postgre service ?
- is there a way to open a port exception from windows and third party firewalls like kaspersky ?
Thanks
Professional Software Development Tools
hello,
- can setup factory install postgre service ?
- is there a way to open a port exception from windows and third party firewalls like kaspersky ?
Thanks
Hello,- can setup factory install postgre service ?
of course it can. As long as you know how to do it. You can't expect that a software knows about all existing products in the world, and that you can perform any action on these products with no effort on your part. No, this research would be your task. Once you know the command that has to be issued, Setup Factory will be able to perform this command in the way you need it.
For example, and I am just pulling this from my memory, MySQL is installed as a service with something like this:
while FirebirdSQL installs with something like this:Code:File.Run(SessionVar.Expand("%AppFolder%\\mysqld.exe"), "--install service_name", SessionVar.Expand("%AppFolder%"), SW_SHOWNORMAL, true)
As you see, the syntax differs quite a bit. As long you know the correct command line, of course you will be able to install PostgreSQL as well.Code:File.Run(_TempFolder .. "/Firebird-2.0.3.12981-1-Win32.exe", "/SP /SILENT /NOCANCEL /COMPONENTS=\"ServerComponent,ServerComponent\\ClassicServerComponent,ClientComponent\"", "", SW_NORMAL, true);
Again, yes - it can. You can set an exception in the Windows firewall with- is there a way to open a port exception from windows and third party firewalls like kaspersky ?
However, do you know the syntax of the command required to allow a certain program to bypass this third party firewall? If you don't, you have some research to do, then include the command in the On Post Install actions, and you are done.Code:File.Run("netsh", "firewall set allowedprogram program=\"" .. SessionVar.Expand("%AppFolder%\\program.exe") .. "\" name=\"Description\" mode=enable", "", SW_SHOWNORMAL, true)
Ulrich