Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8457451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:48:40+00:00 2026-06-10T12:48:40+00:00

I need to create one installer which will install components on two different machines.

  • 0

I need to create one installer which will install components on two different machines. Windows services and web services on “APP Server” and database part on “DB Server”. SQL Server 2005/2008 will be present only on DB Server.

I will have to run my installer on APP Server which will create database and will insert some static values in tables though SQL Server is not present there. DB Server and APP Server are in same network

Installer that I can create will do this stuff only when SQL Server is present on the same machine where installer is running. But not satisfies the above case.

Is it possible to implement it in this way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:48:41+00:00Added an answer on June 10, 2026 at 12:48 pm

    It is simply a matter of bundling a SQL script with the installer and executing the script by calling sqlcmd with ExecWait.

    We can run a script using a trusted connection via:

    sqlcmd -S _SERVER\_INSTANCE_ -d _DBNAME_ -i _SCRIPT_FILE_
    

    Or with a SQL Login:

    sqlcmd -S _SERVER\_INSTANCE_ -d _DBNAME_ -U _USERNAME_ -P _PASSWORD_ -i _SCRIPT_FILE_
    

    For performing actions on remote SQL Server engine native driver is required.In SQL Server 2005 or later the command line client is called sqlcmd.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to create one installer which will install components on two different machines.Windows
I need to create one list based on two other lists. But seems like
I need to create a stored proc that will return records (more than one
I need to create a data.frame that will be populated one row at a
Need to install a font on all user's machines that will use the application
I need to create a web based project where I will use java codes
I need to create one drop down list contains some Languages. By selecting any
I have a Report. I need to create another one, similar to the one
I need to create more than one UIView with MARQUEE effect like HTML <marquee>
I need to create a single trace file that spans several days for one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.