473,800 Members | 2,689 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1748
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=Micro soft.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*******@yaho o.nospammin.com wrote in message
news:1F******** *************** ***********@mic rosoft.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
2084
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 production server I only have FTP access. I tried copying the files with a FTP tool, but it seems that every application needs to have an own virtual directory, is this true? Or is it possible to just make 1 virtual directory and put al the projects...
6
1291
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 (and presumably the dB) to the Host server? The connection objects all refer to my PC not the server the app will eventually end up on? I guess my question is general. Where do I find out how to deploy a SQL Server/ASP.NET app to a...
3
2193
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 with FrontPage Server Extensions, but I don't manage to deploy the application to my web provider http root folder. When I run Copy Project, I get an error message just saying 'Unable to create Web project 'myname'. Not found.'.
0
1140
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 machine was to decrease the amount of work involved in the initial deployment and any future deployments. I want to make the deployment process as easy as possible without leaving gaping security holes.
3
2615
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 putting it in the Program Files directory along with the application executable, no problem. The problem is this... The OleDbConnection knows of the database in an absolute location (i.e. C:\Documents and Settings\ApplicationDB\data.mdb
0
1371
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 files then everytime i have to publish the site and give new upload for whole site everytime which i feel is not correct way of doing it.and if i give only appcode.dll file for upload then the application returns some parse error but if i give fresh...
5
1506
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 2. Copy the bin directory containing any pre-compiled dlls 3. Move BOTH aspx AND aspx.vb files into the applicable directories (is this correct?) If so, we're just duplicating the file system from the development
0
4152
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 the DLL files it needs. Is there any problem with deploying the 3 Microsoft ReportViewer DLL files to a networked drive and having users access them there? Microsoft.ReportViewer.Common.dll Microsoft.ReportViewer.WinForms.dll...
8
2820
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 2.0 application. But I followed the steps I do for a 1.1 ASP.Net applications. I get the following error message when I try to run it. The application run fine in VS2005 on the development machine. It is set up properlly as far as IIS 6.x is...
0
9690
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10504
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10274
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10033
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7576
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.