473,669 Members | 2,304 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 1129
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="pa ths"/>

Example :

<configuratio n>
<runtime>
<assemblyBindin g xmlns="urn:sche mas-microsoft-com:asm.v1">
<probing privatePath="bi n;bin2\subbin;b in3"/>
</assemblyBinding >
</runtime>
</configuration>
Regards

Michel Posseth [MCP]
"steve" <ga*****@newsgr oups.nospamschr eef in bericht
news:uT******** ******@TK2MSFTN GP04.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.c omwrote in message
news:OI******** *****@TK2MSFTNG P02.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="pa ths"/>

Example :

<configuratio n>
<runtime>
<assemblyBindin g xmlns="urn:sche mas-microsoft-com:asm.v1">
<probing privatePath="bi n;bin2\subbin;b in3"/>
</assemblyBinding >
</runtime>
</configuration>
Regards

Michel Posseth [MCP]
"steve" <ga*****@newsgr oups.nospamschr eef in bericht
news:uT******** ******@TK2MSFTN GP04.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
1204
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 upgrade to the version that does. I really don't need many of the features of a full installer application. I just essentially want to copy files to a few folders, make several registry entries, and create a program files group. Also I would...
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 upgrade to the version that does. I really don't need many of the features of a full installer application. I just essentially want to copy files to a few folders, make several registry entries, and create a program files group. Also I would...
4
5829
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 Interop_Excel.dll and renamed it tm_Interop_Excel.dll after modification. This new dll has a strong name and all the correct attributes. If I create a deployment project for my app, the tm_Interop_excel.dll is
10
9470
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) and it worked fine. The setup app seems to crash though when I changed the path to C:\windows\system32. This is the error I receive... System.Runtime.InteropServices.COMException (0x80110401) Errors occurred accessing one or more objects
0
8462
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
8382
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8802
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...
1
8586
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8658
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...
1
6209
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
5682
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4384
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1787
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.