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

Home Posts Topics Members FAQ

registering assembly upon deployment

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.
Jul 21 '05 #1
5 1497
What do you mean register, put it into the gac? Use gacutil with reference
counting.

"Nikhil Patel" wrote:
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.

Jul 21 '05 #2
Hi,
Thanks for your reply. I need to use it in the <OBJECT> tag of an HTML
file. So I need to register it with windows.

"inetmug" <in*****@discus sions.microsoft .com> wrote in message
news:07******** *************** ***********@mic rosoft.com...
What do you mean register, put it into the gac? Use gacutil with
reference
counting.

"Nikhil Patel" wrote:
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.

Jul 21 '05 #3
Is is a COM callable wrapper...?

"Nikhil Patel" wrote:
Hi,
Thanks for your reply. I need to use it in the <OBJECT> tag of an HTML
file. So I need to register it with windows.

"inetmug" <in*****@discus sions.microsoft .com> wrote in message
news:07******** *************** ***********@mic rosoft.com...
What do you mean register, put it into the gac? Use gacutil with
reference
counting.

"Nikhil Patel" wrote:
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.


Jul 21 '05 #4
Write a Custom Action to do your need.

Refer the follwing article.

http://msdn.microsoft.com/library/de...stallation.asp

register your assembly using regsvr32
Modify the below line the above article to teh following
Dim Si As New
ProcessStartInf o(System.Enviro nment.GetFolder Path(Environmen t.SpecialFolder .System) & "regsvr32.e xe", Chr(34) & yourAssemblyNam e & Chr(34))

Regards
Prakash
Jul 21 '05 #5
Visual Studio Setup&Deploymen t projects have a vsdrxRegister property for
this (that x might be an 'a' or a 'p' depending on your project). It works
by running regasm /regfile when you build the MSI file, and the resulting
data is in the MSI file for use at install time. It doesn't register type
library info though.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Nikhil Patel" <do*******@nosp aml.com> wrote in message
news:uI******** ******@TK2MSFTN GP09.phx.gbl...
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.

Jul 21 '05 #6

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

Similar topics

2
517
by: Takuya Matsumoto | last post by:
Greetings to all, I am creating a setup project for a COM component I created in C#, but I can't get the component to be registered in the client system. What I would like to achieve is an equivalent of manually registering it with "gacutil.exe" and then with "regasm.exe". I went though the support documents and read the below, but the options I have are differenct:...
5
967
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
1993
by: glenn | last post by:
I have written a COM Server in C# and its working perfectly. I am not ready to deploy to client computers to begin the real testing and am now wondering how to perform. The part that confuses me is that you can not use regsvr32 to register the COM server so I'm wondering if placing it inside the .NET library will automatically take care of registering it so non managed code programs can access it or do I have to manually use the regasm...
10
3482
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read somewhere that each folder under the "web site" is compiled in separate assembly. I however, did not find that the "web site" creation in vs.net 2005 created any AssemblyInfo.cs file.
0
5253
by: Tifer | last post by:
Hello, I am building my first .Net Application. The first couple of Publish and Installs I did went fine. But after a couple of builds, I get a modal dialogue box error every time upon trying to install using the setup.exe. Title is "Cannot Start Application" and it says: ==================== Cannot download the application. The application is missing required files. Contact application vendor for assistance.
1
2595
by: =?Utf-8?B?UmljaA==?= | last post by:
I use "Click Once" Deployment from VS2005. Works like a charm. I have to deploy a console app and an MS Access ADP. The console app invokes the ADP. I copy the ADP to the application files to be deployed from the console app and then use the Process obejct to invoke the ADP on the end User's workstaion. Below in this post is the code I use in the console application. Anyway, I have had to add some additional functionality to the ADP...
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
2283
by: Grumpy Aero Guy | last post by:
I have an app that utilizes a DLL provided by a 3rd party. This DLL requires registration via "regsvr32" before adding it successfully as a reference in Visual Studio during development. This DLL has been added to the deployment project such that it is placed in the application directory up building the solution and subsequently installing the app. What is the appropriate/recommended method of having this DLL "register itself" upon...
1
2087
by: mrpetegroups | last post by:
Hi - Problem: The file below has become zero length \winnt\assembly\GAC_MSIL\system.deployment\2.0.0.0_b03f5f7f11d50a3a \system.deployment.dll Details follow ... I've been programming computers for a long, long time, but VB/.NET/ etc. is not my specialty.
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
10147
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
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...
0
8968
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
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...
1
4044
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
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.