Packager Code Template - question

Forum for users of SQL Toolkit 3,4,and 5

Packager Code Template - question

Postby TheBatA » Wed Oct 24, 2007 5:23 pm


I am developing an application that would create executable package from client's database on clients computer.
In order to do that, I have to distribute packager code template also, but I wouldn't like to distribute this template unprotected, but I'd like to hide it from user. I don't want user to be able to make changes to this template.
Is there any way to do this, can I add this project into application I am developing or something like that?

Posts: 12
Joined: Tue Sep 25, 2007 7:37 am
Location: Belgrade

Postby david connell » Thu Oct 25, 2007 8:41 am

Hi there,
I think that you are on the right lines.
You could store the template in your exe (as resources etc), and then copy it out into a temp folder when your program starts up.
Then when calling PackagerEngine.PackagerEngine(....) just need to pass in the temp folder where you copied the template into.
When your program shuts down you will need to clear down the temp. folder.
Hope that helps.
David Connell
david connell
Posts: 168
Joined: Mon Nov 21, 2005 9:12 am

Return to SQL Toolkit Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests