473,320 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

deploying an application and attaching files

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
Dec 17 '06 #1
2 1728
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" wrote:
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
Dec 17 '06 #2
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 [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message
news:1F**********************************@microsof t.com...
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" wrote:
>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

Dec 17 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this...
6
by: Skully | last post by:
If I have created my Web Application on my PC using command and connection objects (dragging them onto the forms from the Server Explorer window) how do I make it work when I deploy the application...
3
by: Johnny | last post by:
Hi, I have created an ASP.NET application (let's call it FooBar) with VS.NET on my local machine, residing in http://localhost/FooBar. Deploying it to another folder on my machine works well...
0
by: E Jensen | last post by:
I am trying to deploy a .NET 2.0 Application to the network. However, I have run into the Runtime Security Policy problem. The whole point of deploying to the network instead of to each user's...
3
by: pooba53 | last post by:
I have a VB .NET 2003 application that communicates with an Access db. I am deploying the application using the Wizard that creates an install package and it IS properly grabbing the Access db and...
0
by: Amit | last post by:
Hi,I am new to .net 2.0 and have just built one web application and deployed the application on web server. The problem which i am facing is that if i make any changes in the .cs files or aspx...
5
by: daokfella | last post by:
I'm still stuck on the .dll and bin folder mentality in 1.1. When deploying a 2.0 web application, there is no web .dll to deploy? So is this how we deploy in 2.0? 1. Copy the app_code folder...
0
by: jimmarq | last post by:
I need reporting functionality in my app, but for several reasons, I don't want to have to package any DLL files in a setup. I want to deploy my application straight to a shared network drive with...
8
by: =?Utf-8?B?V2hpc2tleVJvbWVv?= | last post by:
I am trying to copy files and folders onto a production machine (Windows 2003 web edition -- we had to install the .NetFramework 2.0 on it). I wasn't even sure which files to copy for a ASP.NET...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.