Include MS Database in Winforms Project using Intellilock

I have a Winforms project I want to distribute to others and I need to include the projects MS SQL Server database.

If I publish the project there is only an application file.

But I need to obfuscate the programs exe with Intellilock (which creates its own exe in a folder named Locked).

How can I include the database when I distribute the program?

Thanks
Dennis VogelAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ktaczalaCommented:
Create an installer with inno setup compiler, add your database to the inno compiler script.
It will create a setup.exe (or what ever you'd like to call the install app.)
you tell it where to install the app and also any other files you wish to include.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dennis VogelAuthor Commented:
I just realized the .NET framework may also need to be installed and I did not see that option in the Inno Compiler site.

Thanks
0
ktaczalaCommented:
What version windows? It gets downloaded as part of windows updates. Or depending on version, user may have to go into programs and feature > turn on feature for certain options. (i.e. .net 3.5) just give them installation pre-requisite instructions
0
Dennis VogelAuthor Commented:
I need a better way. I cannot ask the user to turn on a feature or download .net 4.5. Thanks again.
0
Dennis VogelAuthor Commented:
Your comment reminded me I have InstallShield and it will install dot net.

My plans are to include the database mdf put it in the AppData / Roaming folder. So I gave you an "Assisted Solution."
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.