How to make an app - Andromo App Maker

Announcement

Collapse
No announcement yet.

Setup Factory SQL Execution on Windows 10

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setup Factory SQL Execution on Windows 10

    I am using setup factory for my releases deployment/implementation. Its working fine on windows 8 and even on windows server 2012. Now I am using the same on windows server 2016 and windows 10 but setup factory terminates while executing SQL scripts.

    Any solution?

  • #2
    How are you executing the SQL scripts?

    Ulrich

    Comment


    • #3
      I am using shell.execute method

      Comment


      • #4
        This method is working fine on windows 8 or windows server 2012. The same is not in windows 10 or windows server 2016

        Comment


        • #5
          This is my code.

          if (db==true) then

          server = SessionVar.Get("%DBSERVER%");
          db = SessionVar.Get("%DBNAME%");
          user = SessionVar.Get("%DBUSER%");
          pass = SessionVar.Get("%DBPASS%");
          pathfile = "D:\\Temp\\DB\\ScriptIndex.txt"

          Lines = server.." "..db.." "..user.." "..pass.." "..pathfile;

          result = Shell.Execute("D:\\Temp\\Database.exe", "open", Lines, "", SW_SHOWNORMAL, true);

          Comment


          • #6
            I see. So what is actually causing an error is the execution of this third party command "database.exe", not Setup Factory. You may want to contact the developer for a newer version, see if additional command line parameters or runtime/support libraries are required, etc. If you execute the same command manually on the computer, you may see additional error messages, which may assist you in resolving the issue.

            Ulrich

            Comment

            Working...
            X