PC Review


Reply
Thread Tools Rate Thread

deploying an application and attaching files

 
 
gordon
Guest
Posts: n/a
 
      17th Dec 2006
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


 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      17th Dec 2006
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
>
>
>

 
Reply With Quote
 
gordon
Guest
Posts: n/a
 
      17th Dec 2006
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]" <(E-Mail Removed)> wrote in message
news:1F245916-B85F-40C8-B74E-(E-Mail Removed)...
> 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
>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Attaching files in Word 2000 like attaching files to email =?Utf-8?B?UyB0cmFpbmVy?= Microsoft Word Document Management 1 23rd Dec 2006 08:54 PM
Deploying a CF 2.0 application. Which cab files ? Steve B. Microsoft Dot NET Compact Framework 3 12th Apr 2006 03:07 PM
Attaching multiple files in .Net Windows Application =?Utf-8?B?Um9zaGFuIEphbWVz?= Microsoft Dot NET 0 2nd Oct 2005 11:43 AM
attaching to application in IE Help DaveS Windows XP Internet Explorer 2 29th Jan 2005 09:53 AM
deploying VB application... PVP Microsoft VB .NET 6 22nd Dec 2003 03:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:24 AM.