Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2008
    Posts
    4

    install postgre service

    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

  2. #2
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    - can setup factory install postgre service ?
    Hello,

    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:
    Code:
    File.Run(SessionVar.Expand("%AppFolder%\\mysqld.exe"), "--install service_name", SessionVar.Expand("%AppFolder%"), SW_SHOWNORMAL, true)
    while FirebirdSQL installs with something like this:
    Code:
    File.Run(_TempFolder .. "/Firebird-2.0.3.12981-1-Win32.exe", "/SP /SILENT /NOCANCEL /COMPONENTS=\"ServerComponent,ServerComponent\\ClassicServerComponent,ClientComponent\"", "", SW_NORMAL, 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.
    - is there a way to open a port exception from windows and third party firewalls like kaspersky ?
    Again, yes - it can. You can set an exception in the Windows firewall with
    Code:
    File.Run("netsh", "firewall set allowedprogram program=\"" .. SessionVar.Expand("%AppFolder%\\program.exe") .. "\" name=\"Description\" mode=enable", "", SW_SHOWNORMAL, true)
    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.

    Ulrich

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts