Community

How to automate the database configuration portion of the installation of Flexicapture 12

I have written a powershell script to perform the installation of ABBYY FlexiCapture 12. This works but now I am trying to find a way to automate the database configuration portion to use an existing database. Has anyone come up with a way to do this?

0

Comments

6 comments

  • Avatar
    Scott Chau

    Steven,

    Not sure why you need to automate the DB confirmation portion since this is usually only done once.  Maybe you trying to setup multiple installation?  In any case, please refer to the following information on how to create the DB manually

    Creating a database manually (abbyy.com)

    Create SQL Server Database with PowerShell (mssqltips.com)

    Just script it to create a DB and populate the DB.

    0
  • Avatar
    Scott Chau

    I miss read your original message.  You wanted to connect to an existing DB.  In that case edit the C:\inetpub\wwwroot\FlexiCapture12\Server\win.config

    Look at the <connectionStrings></connectionStrings>

    As always make sure you are always using File Storage unless this environment is for demo only.

    1
  • Avatar
    Steven Welborn

    Thank you Scott.  I am setting this up as automated deployment to be able to rapidly redeploy in case of a crash.  The database configuration portion was the only piece that I could not find out how to point to a database that was already created and ready to be used.  Did you mean to say WEB.CONFIG instead of WIN.CONFIG? I appreciate the help with this.

    Steve

    0
  • Avatar
    Steven Welborn

    Hey Scott, is the file WEB.CONFIG and also, I presume that I need to restart the ABBYY services?

    0
  • Avatar
    Scott Chau

    Steven,

    Yes typo on my end.  Its Web.Config.  You only need to restart the IIS Service.

    0
  • Avatar
    Steven Welborn

    Thanks Scott

    0

Please sign in to leave a comment.