xuejian333
Posts: 3
Joined: Wed Apr 30, 2008 9:03 am

The register of COM Component!

Hi,all guys:
I'm a newer for the advanced installer,now my company asks me to make a MSI package and one of the features
i need to implement is as follows: Be able to register COM objects (like the Outlook plugin) ,
now,i have made a simple plugin to the outlook,and it works through coding the text "regsvr32 OutlookAddin.dll" in the command line,
then,there is a key value in the HKCU\Software\Microsoft\office\outlook\addins .(manually)

but when i press <new class> and load the outlookaddin.dll to the file properties,then build,run,
it seems that there is no key value in the HKCU\Software\Microsoft\office\outlook\addins ,also the plugin can't work.
maybe there are other properties need to fulfill,but i have no idea about how to make it.
so if anyone knows about it ,please guide me how to do it.

Thinks.
Sincerely,
Nicholas .
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: The register of COM Component!

Hi,

Please note that Advanced Installer allows you to register a file by using the "Auto register file (DLL, OCX, etc.)" option in the Edit File dialog. Also, if the DLL requires registry entries which are not created by it during it's registration, you can create them by using the Registry page.

If this option doesn't work, you can use the approach I suggested here:
http://www.advancedinstaller.com/forums ... php?t=4574

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
xuejian333
Posts: 3
Joined: Wed Apr 30, 2008 9:03 am

Re: The register of COM Component!

Hi,
I'm so sorry that i forgot to tell you that i'm using a free version of Advanced Installer,because i don't know whether it can or can't
meet my company's requirements.do that make a difference bettwen them?

i follow your guide ,but it still can't work~
1, i check the "Auto register file (DLL, OCX, etc.)" option in the "Edit file" dialog,then run,it still can't work.
(i'm sure that the outlookaddin.dll i need to register don't require any other registry entries )
2,for creating a key in the Registry Page,it already could work before i questioned here.
3,i follow the your suggestion links to viewtopic.php?t=4574 ,it still can't work.

so i don't know what's the problem?
Thanks,
Nicholas
xuejian333
Posts: 3
Joined: Wed Apr 30, 2008 9:03 am

Re: The register of COM Component!

Sorry,for the third step,i have made some changes:
3,there is a error when running it,the message is as follows:

There is a problem with this windows installer package.a problem required for this install to complete could not
be run,contact your support personnel or package vendor.

The installation failed.

Thanks,
Sincerely,
Nicholas
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: The register of COM Component!

Hi,
i check the "Auto register file (DLL, OCX, etc.)" option in the "Edit file" dialog,then run,it still can't work.
Please note that there are three available options for the Auto Register option. You should use the one which corresponds to your COM file (the author of the COM file should know what option must be used).
3,there is a error when running it,the message is as follows:
There is a problem with this windows installer package.a problem required for this install to complete could not
be run,contact your support personnel or package vendor.
This message is usually shown when a custom action in the package fails during the installation. Also, note that custom actions are not available in the free version of Advanced Installer.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”