Hi,

Win 7 - 32\64 bit.

I'm creating an msi to add a dll and register it (regsvr32 /s).

I'm used to using Wise. In Wise I would use wisecomcapture to extract the registry entries and add to the msi.

I'm running repackager in Installshield, am I correct in saying that I only need to:

1) start snapshot
2) copy the file
3) close snapshot

Then in 'Files and folders' - right click the dll (it's a keypath) and select 'Extract COM Data for key file'.

Does selecting 'Extract COM Data for key file' do the same as running regsvr32 during the snapshot? Or do I still need to run regsvr32?

Thanks...
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1
Which version of InstallShield are you using?
Prior to InstallShield 2011, if UAC is disabled then 'Extract COM Data for key file' had a limitation of not capturing Interface and TypeLib keys.
Answered 01/11/2012 by: SandeepPanat
Orange Senior Belt

Please log in to comment
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Easiest solution imo is still to capture the dll registration and add the registry keys to your package directly.
Unless you need advertised entry points on the dll's it will cover your needs just fine.

Kr,
PJ
Answered 01/11/2012 by: pjgeutjens
Red Belt

Please log in to comment
0
Thanks for your replies.

Using Installshield 2011.

When you say 'easiest solution is still to capture the dll registration and add the registry key to the package directly', do you mean caputre it by running regsvr32 on the dll during capture or by running wisecomcapture?

Thanks.
Answered 01/11/2012 by: Meic
Second Degree Blue Belt

Please log in to comment
0
Using wisecomcapture makes your work easy ... i would recommend it ....
Answered 01/11/2012 by: mahendraKumar
Senior Yellow Belt

Please log in to comment
0
Using wisecomcapture makes your work easyA little tricky when the OP doesn't own a Wise product...
Answered 01/12/2012 by: VBScab
Red Belt

Please log in to comment
2
ORIGINAL: VBScab

Using wisecomcapture makes your work easyA little tricky when the OP doesn't own a Wise product...


RegSpyUI.exe which can be found in %ProgramFiles%\InstallShield\2010\Support (for InstallShield 2010) is, broadly speaking, an equivalent tool which will allow you to export the COM registration details of a DLL as a .REG file suitable for import to your package.

Spartacus
Answered 01/12/2012 by: spartacus
Black Belt

Please log in to comment
0
I tried to register 64 bit dll using RegSpyUI.exe, it didn't export any COM data information & Created empty .reg file. But it is getting registered with regsvr32.exe Please suggest, Is there any other tool for 64 bit dll or am i missing something to export.
Answered 01/17/2012 by: bandarukishore
Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity