Registering COM+ problem - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ntodorov
Posts: 7
Joined: Tue Aug 07, 2007 3:41 pm

Registering COM+ problem

Hi,

I'm trying to register my custom COM+ server and I found the following problems:
1. I can’t rename the COM+ Application – if it is really Application name under COM+ folder.
2. During install msi raises exception with message “The folder path TAS_Wa~1.dll|TAS_Watermeter_MSSQL.dll” conteins an invalid character.”

Package is in Eglish. When I remove COM+ registration – installation is successful.

Part of Log with error is :

Code: Select all

.....
Property(S): SourcedirProduct = {321FC0C6-C8D1-4C2F-8F04-FD2CC2D3F2F9}
MSI (s) (7C:DC) [17:32:56:376]: MainEngineThread is returning 1603
MSI (c) (CC:E4) [17:32:56:376]: Back from server. Return value: 1603
MSI (c) (CC:E4) [17:32:56:376]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (CC:E4) [17:32:56:376]: PROPERTY CHANGE: Deleting SECONDSEQUENCE property. Its current value is '1'.
Action ended 17:32:56: ExecuteAction. Return value 3.
MSI (c) (CC:E4) [17:32:56:376]: Doing action: FatalError
Action 17:32:56: FatalError. 
Action start 17:32:56: FatalError.
DEBUG: Error 2826:  Control BottomLine on dialog FatalError extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalError, BottomLine, to the right
Action 17:32:56: FatalError. Dialog created
Action ended 17:32:57: FatalError. Return value 2. 
...
If there are any examples about installing COM+ Applications with Advanced Installer please post me link.

Kind Regards,
Nikolay Todorov
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,
I can’t rename the COM+ Application – if it is really Application name under COM+ folder.
You cannot rename a COM+ application. You can read here how to install a COM+ application: http://msdn2.microsoft.com/en-us/library/ms680546.aspx
In order to use the exported MSI you can run it as a custom action.

If the problem persists, please send us the .aip file and the COM+ application (if it doesn't contain confidential information) or a small test case reproducing this behavior to support at advancedinstaller dot com so we can take a look.

Regards,
cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ntodorov
Posts: 7
Joined: Tue Aug 07, 2007 3:41 pm

Is it possible to run another msi package with custom action?
I read that Windows Installer allows only one instance at time.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,
I read that Windows Installer allows only one instance at time.
You can create a "MSI Database relative to package" custom action (in the "New Custom Action" menu) which will attach the exported MSI to your project.

Note that this kind of custom action will automatically add an uninstall custom action for that MSI package.

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

Return to “Common Problems”