Help me with my Setup project

M

Maha

Hi all,

It is my first time with windows forms applications using Visual
Studio .net 2005, and I have a question;

My project is a database driven one which will be distributed on a
CD.

I know that Ishould include 'Microsoft Sql Server 2005 Express' with
the setup project as a prerequisit, but what about my database
file(.mdf).
Should it be also available on the CD. This means that the DB
structure will be known to all.

Am I missing something here?
Can anybody help me please?

Thannks

Maha
 
L

Lucas

Hi all,

It is my first time with windows forms applications using Visual
Studio .net 2005, and I have a question;

My project is a database driven one which will be distributed on a
CD.

I know that Ishould include 'Microsoft Sql Server 2005 Express' with
the setup project as a prerequisit, but what about my database
file(.mdf).
Should it be also available on the CD. This means that the DB
structure will be known to all.

Am I missing something here?
Can anybody help me please?

Thannks

Maha

When you Add a Setup Project to your current solution you should add
the file to the Setup Project>File System

Possibly add a folder and then add the database file to the folder
 
G

Guest

If the file is packaged as vsdpaDefault, then the file is compressed into the
..msi file. If the file is packaged as vsdpaLoose, then it is visible on the
media. In any event, the file is available whereever the user installs the
application, so any curious user can find your DB structure unless you employ
some form of protection.
 
T

Tom

The MDF file is like an MDB file. It contains all the data and structure
of your data. You need to distribute it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top