Package from script?

Forum for users of SQL Packager database archive utility

Package from script?

Postby ajs » Sun Apr 27, 2008 2:01 am

Is it possible to create a package from a script rather than pointing to a database? My database uses encryption and SQL Packager throws up over 200 warnings when I try to package my database. I have a script that I can use for installs, but I would like to wrap it up in SQL Packager. It seems my alternative is to manually generate the Package.resx files and import them in to the generated project.

Before I do that, is there another way?
Posts: 1
Joined: Sun Apr 27, 2008 1:57 am

Postby Brian Donahue » Mon Apr 28, 2008 8:33 am


SQL Packager does not support reading a database from scripts, at least not yet. SQL Compare does, though, so I think it may be possible right now to use SQL Toolkit API to register a set of schema scripts as a database, register the data in the databases normally, and then use the Packager API to create an executable. This would all need to be done in C# or VB (.NET) code.
Brian Donahue
Posts: 6590
Joined: Mon Aug 23, 2004 9:48 am

Return to SQL Packager Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests