473,783 Members | 2,564 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

(.NET) Registering assembly while deploying

I know there is a way to add a .bat file to your setup package in .NET.
I just have to run a regasm utility to register my dll.
How can I make sure that the .bat file will be ran at the end?
And is there any other way I can register my dll rather than adding a .bat
file. I am trying to avoid adding files to my setup project.

I have an registry entry which has the path C:\Program File\....\mydll .dll

Now I tried giving [Application Folder]\mydll.dll (in my setup I have chose
[Application Folder] as the location where the dll needs to be copied, but
still in my registry entry I dont get the Application Folder path.
Any clues on this will help.

Thank you,

Abhijeet
Jul 21 '05 #1
2 1425
Change the Register property on the mydll.dll to vsdraCOM.

Jul 21 '05 #2
Change the Register property on the mydll.dll to vsdraCOM.

Jul 21 '05 #3

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

Similar topics

0
1437
by: Oleg | last post by:
HI, all. Sorry for posting to so many groups, but I really don't know in which group this question fits best. Anyways, here goes... I have a bunch of DTS packages that my client application runs. I also have a deployment package for my application, which deploys all the DTS files (as described in http://sqldev.net/dts/DotNETCookBook.htm ) on the client.
5
1497
by: Nikhil Patel | last post by:
Hi all, I am creating a setup and deployment project for a signed assembly and need to register it when it is installed. How can set it to register when it is installed? Thanks.
2
361
by: source | last post by:
I know there is a way to add a .bat file to your setup package in .NET. I just have to run a regasm utility to register my dll. How can I make sure that the .bat file will be ran at the end? And is there any other way I can register my dll rather than adding a .bat file. I am trying to avoid adding files to my setup project. I have an registry entry which has the path C:\Program File\....\mydll.dll Now I tried giving \mydll.dll (in my...
0
1025
by: Lady_A | last post by:
Hi, I have a .NET C# assembly which needs to be registered for COM so it can be created by CoCreateInstance. Proper installation puts that assembly in the GAC. Registration is done by custom action coming from that assembly, which simply calls RegistrationServices and then RegisterAssembly with SetCodeBase flag. I cant run that proper installation and I need to rebuild that module on my machine.
1
1303
by: Atmapuri | last post by:
Hi! I have a C# project which references assembly myassembly.dll. The project worked fine. Then I removed the reference from the Reference list and added the assembly with the same name, but an older version. Regardless what I tried, I could not get the project reference the new assembly. It constantly kept looking for the assembly of the previous, as if though once added the assembly version
0
1563
by: meo45 | last post by:
All i want to do is add a service line to the SCM. I searched the net to do this in code with C# but found no decent way to do this. The only workable way was to use the .net utility installutil.exe. This util needs an excutable (or assembly) to run, so when run 'installutil.exe myexec.exe' i keep getting an error that my excutable has no 'assembly manifest'? I suppose installutil.exe trys to read the assembly and does not find the right ...
3
1167
by: Phil | last post by:
VB2005 I have created a class library project. I have created a class using the COM class template. In the Application tab under My projects if I click on Assembly Information, the 'Make assembly COM-visible' box is checked. In the Compile tab the 'Register for COM Interop box is checked. In the Signing tab the 'Sign the assembly' box is checked, and I have created a .snk file. The Delay sign only box is not checked. I have built the...
0
9643
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
9480
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
10315
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10083
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
9946
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
7494
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
6737
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();...
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2877
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.