We help IT Professionals succeed at work.

Include MS Database in Winforms Project using Intellilock

136 Views
Last Modified: 2018-03-07
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
Comment
Watch Question

CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Author

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
CERTIFIED EXPERT

Commented:
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

Author

Commented:
I need a better way. I cannot ask the user to turn on a feature or download .net 4.5. Thanks again.

Author

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."