473,795 Members | 3,167 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 1426
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
1498
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
1026
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
9672
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
10213
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
10163
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,...
1
7538
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
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
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 we have to send another system
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
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.