Package from script?

Forum for users of SQL Packager database archive utility

Moderator: David Atkinson

Package from script?

Postby ajs » Sun Apr 27, 2008 3: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?
ajs
 
Posts: 1
Joined: Sun Apr 27, 2008 2:57 am

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

Hello,

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: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to SQL Packager Previous Versions

Who is online

Users browsing this forum: No registered users and 1 guest