PC Review


Reply
Thread Tools Rate Thread

confusion working with setup project?

 
 
=?Utf-8?B?Q2hyaXM=?=
Guest
Posts: n/a
 
      29th Nov 2005
Hi,

I have a VB.NET 2003 project framework 1.1.4.

I would like to create a setup project with the following structure for the
final
installation when the setup.msi is run.

C:\program files\company name\progname (this I have completed)

the the programe name directory I would like to have the exe file, the
app.config, and 3 text files that I have containing other config data.
then in the bin directory all the dependency assemblies(dlls).

The problem:

When I am debugging the application the 3 text files are'nt found unless
they are in the bin directory of the project. I am using
Application.StartupPath to find the text files. They are only found when they
are in the bin directory where I don't want them to be. The debug .exe is
created in the bin directory which I thinks explains some of this.

Also, when I make the setup.msi file and run it, the dependency files in the
bin are not found by the exe application which is in the root. If I copy the
dendencies from the bin into the root, it works fine.

the only way I can get it to work is all the text files and dependency dlls
in the same directory on the root.

I want the dependencies in the bin, the text files in the root, the exe in
the root, and the app.config in the root.

I've messed around for hours and cant' get this.

please advise.

thanks

Chris


 
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
Project works frm VS.Net 2003 & not working whn install setup in v V.Chockalingam. Microsoft VB .NET 3 5th Mar 2008 12:49 PM
Confusion when opening VS 2005 project in VS 2008 Cirene Microsoft ASP .NET 7 21st Nov 2007 09:56 PM
Moving project from VS2003 - VS2005 Crystal reports and setup project Claire Microsoft C# .NET 4 30th Aug 2007 07:36 PM
VS2005 mixed project intellisense confusion =?Utf-8?B?dGIyMDAw?= Microsoft Dot NET Compact Framework 2 10th May 2006 08:54 PM
MSI vs setup confusion Jason Shohet Microsoft ASP .NET 1 23rd Aug 2004 03:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:16 AM.