By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,549 Members | 872 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,549 IT Pros & Developers. It's quick & easy.

Installing .net assemblies windows installer

P: n/a
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
Share this Question
Share on Google+
2 Replies

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.