Options

Packager Code Template - question

TheBatATheBatA Posts: 18
edited October 25, 2007 4:41AM in SQL Toolkit Previous Versions
Hi!

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?

Thanks!

Comments

  • Options
    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
Sign In or Register to comment.