|
-
May 1st, 2003, 02:36 AM
#1
Thread Starter
Registered User
How to register .tlb file silently
I hav developed a DCOM application which requires a .tlb file of my component to be registerd on client machine, i know how to do it manually can someone help me with the silent unstallation part like installer itself takes care of registering .tlb files without user intervention.
-
May 1st, 2003, 04:13 AM
#2
Fanatic Member
Do you mean during the installation process? If so, read:
ms-help://MS.VSCC/MS.MSDNVS/vsintro7/html/vbtskCreatingInstallerForYourApplication.htm
If you mean you want to associate a file extension with an application OUTSIDE of the installation process, that's really just a registry entry. For example if you create a file with the extension ".Fribbleglixy" and Open With -> Notepad.exe, with Always Use checked, the following is added to your registry (exported from mine):
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.Fribbleglixy]
"Application"="NOTEPAD.EXE"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.Fribbleglixy\OpenWith List]
"a"="NOTEPAD.EXE"
"MRUList"="a"
-
May 1st, 2003, 07:48 AM
#3
Thread Starter
Registered User
No i meant when you compile a com component as a remote component, u get a .vbr and a .tlb file u need to register ur type library with the client to use that component. we can do it with clireg but that' s an attended app but i want it to be unattended
-
May 1st, 2003, 08:28 AM
#4
Fanatic Member
I don't know then - but I strongly suspect it's still just a registry entry which you could duplicate. If you don't find the "right" way to do it I'd bet you could get the same result by manipulating the registry...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|