deploying an application and attaching files

G

gordon

Hi

I have done my build and testing and I am ready to deploy my version1 of my
application.

I have added a new setup (msi) project and am using the file system editor -
but what settings do i need to add a ms access database file to my project
that will copy the file to the same directory that the program files will
look for? I would like to have the setup file install to the c:\program
files\hilda helpa folder and to put a short cut on the [start]-[programs]
menu on xp pro.

In my ole db connection string i have the data source as "Data source
=hh.mdb" - but when i compile and deploy - how do i force a copy of that
file to be located in an area where my application will look? When I add a
file that needs to be included in the installation - i dont know how it is
included.

Any links to a site with good deployment examples would be appreciated too.

Thanks

Doug
 
G

Guest

When you add additional file to an MSI project that aren't part of the base
applicationa and dependencies (e.g., "Project output") you can add them to
the Application folder, or any other folder you like. That's where they'll be
placed when the MSI istaller is run.
Peter
 
G

gordon

Thanks Peter

Could you pls tell me how I can use this to point my sql connection string
to the same file location?

I currently use the following " string strConnection =
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=hh.mdb";" - what path should
I give to make sure that the ole db can find the file?

I have found on installation attempts that the msi file wants to put the app
in the c:\program files\name of computer\[name of company]\hilda helpa
folder. I want to put the app in c:\program files\name of computer\hilda
helpa and put my mdb file there too.

Thanks

Doug




Peter Bromberg said:
When you add additional file to an MSI project that aren't part of the
base
applicationa and dependencies (e.g., "Project output") you can add them to
the Application folder, or any other folder you like. That's where they'll
be
placed when the MSI istaller is run.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




gordon said:
Hi

I have done my build and testing and I am ready to deploy my version1 of
my
application.

I have added a new setup (msi) project and am using the file system
editor -
but what settings do i need to add a ms access database file to my
project
that will copy the file to the same directory that the program files will
look for? I would like to have the setup file install to the c:\program
files\hilda helpa folder and to put a short cut on the [start]-[programs]
menu on xp pro.

In my ole db connection string i have the data source as "Data source
=hh.mdb" - but when i compile and deploy - how do i force a copy of that
file to be located in an area where my application will look? When I add
a
file that needs to be included in the installation - i dont know how it
is
included.

Any links to a site with good deployment examples would be appreciated
too.

Thanks

Doug
 

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