Hi all,
I'm a new guy to Advanced Installer, I was used to WISE Installer. I can say that on many points, AI seems much better but I'm having an hard time with COM+ and DCOM. Maybe you can help me setting them up ?
COM+ :
The only way I managed to get a COM+ installed and registered in the setup was to Import an MSI with the COM+. Basically, I export the installed COM+ from my server to an MSI file and then import it into AI. This is not really a problem, it's just pretty long. Anyway, I was wondering if there was a way to change the name of the COM+ in AI. Let's say that my COM+ is named Test.dll, as well as the MSI, but after importing, the String into AI will be AppID with the GUID. Since this is probably only a reference, could I edit the name somewhere ? Or is there any other way to add a COM+ ? I tried adding the DLL itself into AI, but got an Invalid Character error while trying to install the setup.
Also, in WISE, I was able to add a COM+ and select if I wanted it to be either Client or Server and include a Server name in the case that the COM+ was a client. I noticed that after importing the MSI, a registry key for Remote Server was created in AI under AppID for the imported WSI. But, is it possible to do it via AI Interface or do I need to modify registries ?
DCOM :
In our entreprise, we use Delphi to develop. As a matter of fact, in order to register a DCOM, we use launch the .EXE associated with the DCOM we need to register and add /regserver as parameter. As exemple, test.exe /regserver would register all necessary DCOM for test.exe to work fine. I searched a bit and found out on another thread here that if I edit the properties file test.exe in AI (section Files and Folders), enabling Auto Register File should install the DCOM...but it doesn't. After enabling the check box, I try to choose 1 of the 3 methods to register the DCOM (Self register, Extract registration or Register .Net) and all of them give me a "The selected file could not be registered" error. The only workaround I found is to add a custom action where we call the test.exe and gives /regserver in parameter. Is there a way to get the Auto Register File working ?
Thank you,
Guillaume Leonard
FOLLOW US
Get the latest news in Application Packaging