473,511 Members | 15,852 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installing .net assemblies windows installer

Hi All

I have some application which I install to clients computers using a vb.net
setup and deployment project

For some .net assemblies (not part of the GAC) I want to install them to a
subfolder under my program folder to make the main folder less cluttered

I install them to \DLLs folder as part of the windows installer setup

Some assemblies I have found have to be in the same folder as the
program.exe otherwise I get an error when running the program that it could
not be found.

Others are OK

Is it acceptable to locate them in a subfolder of the main program on the
clients computer or should I put them in the same folder as the .exe?

Regards
Steve
Nov 11 '06 #1
2 1116
Hello Steve ,

You can put the dll`s in a sub folder however you must then put a section in
the config file

there are more elements to use for this but i guess that probing is the most
apropriate in your situation

Specifies application base subdirectories to search for assemblies

<probing privatePath="paths"/>

Example :

<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin2\subbin;bin3"/>
</assemblyBinding>
</runtime>
</configuration>
Regards

Michel Posseth [MCP]
"steve" <ga*****@newsgroups.nospamschreef in bericht
news:uT**************@TK2MSFTNGP04.phx.gbl...
Hi All

I have some application which I install to clients computers using a
vb.net setup and deployment project

For some .net assemblies (not part of the GAC) I want to install them to a
subfolder under my program folder to make the main folder less cluttered

I install them to \DLLs folder as part of the windows installer setup

Some assemblies I have found have to be in the same folder as the
program.exe otherwise I get an error when running the program that it
could not be found.

Others are OK

Is it acceptable to locate them in a subfolder of the main program on the
clients computer or should I put them in the same folder as the .exe?

Regards
Steve

Nov 11 '06 #2
Hi Michel

Thanks for the reply

Works a treat

Regards
Steve

"Michel Posseth [MCP]" <MS**@posseth.comwrote in message
news:OI*************@TK2MSFTNGP02.phx.gbl...
Hello Steve ,

You can put the dll`s in a sub folder however you must then put a section
in the config file

there are more elements to use for this but i guess that probing is the
most apropriate in your situation

Specifies application base subdirectories to search for assemblies

<probing privatePath="paths"/>

Example :

<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin2\subbin;bin3"/>
</assemblyBinding>
</runtime>
</configuration>
Regards

Michel Posseth [MCP]
"steve" <ga*****@newsgroups.nospamschreef in bericht
news:uT**************@TK2MSFTNGP04.phx.gbl...
>Hi All

I have some application which I install to clients computers using a
vb.net setup and deployment project

For some .net assemblies (not part of the GAC) I want to install them to
a subfolder under my program folder to make the main folder less
cluttered

I install them to \DLLs folder as part of the windows installer setup

Some assemblies I have found have to be in the same folder as the
program.exe otherwise I get an error when running the program that it
could not be found.

Others are OK

Is it acceptable to locate them in a subfolder of the main program on the
clients computer or should I put them in the same folder as the .exe?

Regards
Steve


Nov 11 '06 #3

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

Similar topics

2
1194
by: Bill Henning | last post by:
Hi all... I have been using InstallShield to build our installers for our products. However I just found out that our version of InstallShield doesn't support 64-bit deploys and it costs $700 to...
4
295
by: Bill Henning | last post by:
Hi all... I have been using InstallShield to build our installers for our products. However I just found out that our version of InstallShield doesn't support 64-bit deploys and it costs $700 to...
4
5824
by: Tim Marsden | last post by:
Hi, I have written an App in vb.Net (2003) which references Excel 2000. This creates a Interop_Excel.dll which I need to reference in my project. All OK so far. I had to modify the...
10
9452
by: aljamala | last post by:
Hi, I am working on an installer application to install 2 COM components in the system32 directory. I had this implemented previously to install to a different directory (i.e. C:\sample\dll)...
0
7242
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,...
0
7138
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7418
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...
1
7075
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5662
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,...
1
5063
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...
0
4737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1572
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 ...
0
446
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.