display automatically sqlserver instance ???

Forum for users of SQL Packager database archive utility

display automatically sqlserver instance ???

Postby senior_oracle » Tue Jan 05, 2010 2:49 pm

how can we display automatically the .\\SQLEXPRESS instance once SQL Pachager is loaded , so that the user will press only on ok and the packager will install the database , and is there a way so that the sql pachager will go quiet when performing the job ?

would appreciate any help
thank you in advance !
Posts: 3
Joined: Tue Jan 05, 2010 2:34 pm

Postby Chris Auckland » Wed Jan 06, 2010 8:41 pm

Thanks for your post.

If you save the package as a C# project, you can set the server text in the PackageExecutor class.


private string m_ServerName = @".\\SQLExpress"

Also, you can run the package without the interface if you use the /quiet switch from the command line. e.g.

Indicates the package will run without any user interface

I hope this helps.
Chris Auckland
Posts: 760
Joined: Tue Oct 24, 2006 1:12 pm
Location: Red Gate Software Ltd.

Return to SQL Packager Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests