473,406 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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 1469
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*****@discussions.microsoft.com> wrote in message
news:07**********************************@microsof t.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*****@discussions.microsoft.com> wrote in message
news:07**********************************@microsof t.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
ProcessStartInfo(System.Environment.GetFolderPath( Environment.SpecialFolder.System) & "regsvr32.exe", Chr(34) & yourAssemblyName & Chr(34))

Regards
Prakash
Jul 21 '05 #5
Visual Studio Setup&Deployment 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*******@nospaml.com> wrote in message
news:uI**************@TK2MSFTNGP09.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
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...
5
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
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...
10
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...
0
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...
1
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...
3
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...
0
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...
1
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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,...

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.