473,395 Members | 1,639 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,395 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.
Nov 21 '05 #1
5 1246
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.

Nov 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.

Nov 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.


Nov 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
Nov 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.

Nov 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...
2
by: john | last post by:
Maybe I haven't had that "a-ha" moment yet, but I think the new approach to web projects is a step in the wrong direction. My main beef is that control over the assembly generation process has...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
0
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...
0
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,...
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
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...

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.