Hi,

 

I'm having issues trying to use wix to set up a complus application.
Wonder if anyone can provide any insight...

 

It all works fine for the components and event classes, but as soon as I
include the subscriptions, the install fails. After failure, the msiexec
log contains:

 

 

RegisterComPlusAssemblies: DLL: c:\Program Files\MyApp\MyApp.dll

Action 14:47:58: AddComPlusRoleAssignments. Assigning roles to COM+
components

Action 14:47:58: CreateSubscriptionsComPlusComponents. Creating
subscriptions for COM+ components

CreateSubscriptionsComPlusComponents: Subscription: MySubscription

ComPlusInstallExecute:  Error 0x80070057: Failed to put property value

ComPlusInstallExecute:  Error 0x80070057: Failed to set role event clsid
property

ComPlusInstallExecute:  Error 0x80070057: Failed to create subscription,
key: MySubscription_id

ComPlusInstallExecute:  Error 0x80070057: Failed to create subscriptions

Action ended 14:47:58: InstallFinalize. Return value 3.

Action 14:47:58: Rollback. Rolling back action:

Etc...

 

 

 

My component in the wix file looks kinda like this:

 

         <Component Id="MyComPlusComponent"   DiskId="1"
Guid="81BA322D-452F-4978-B080-C46DC37D9615">

            <File Id='MyEvents_File' Name='MyEvents.dll'
Source='C:\Test\MyEvents.dll' />

            <File Id='MyCom_file' Name='MyCom.dll'
Source='C:\Test\MyCom.dll' />

 

            <complus:ComPlusApplication Id="MerchClassicComPlus"
Name="[MERCOMPLUSAPPNAME]">

 

               <cpa:ComPlusAssembly Id='MyEvents_id' Type='native'
DllPath='[#MyEvents_File]' EventClass='yes'>

                  <cpa:ComPlusComponent Id="MyEvents.MyEventClass"
CLSID="2B902A6B-D34A-4F2C-B06D-003D0FEEF358" Transaction="supported"
TxIsolationLevel="serializable"  JustInTimeActivation="yes"
ComponentAccessChecksEnabled="no" AllowInprocSubscribers="yes">

                     <cpa:ComPlusInterface Id="MyEventInterface"
Description="IEventInterface" IID="D54AEDED-63C5-42BD-9825-4FCB5E04A5AE"
QueuingEnabled="yes"/>

                  </cpa:ComPlusComponent>

               </cpa:ComPlusAssembly>

 

               <cpa:ComPlusAssembly Id='MyCom_id' Type='native'
DllPath='[#MyCom_file]'>

                  <cpa:ComPlusComponent Id="MyCom.Progid"
CLSID="3DDB561-2726-4F2A-91AA-921A0316A04D" Transaction="none"
JustInTimeActivation="yes" ComponentAccessChecksEnabled="no" >

                     <cpa:ComPlusInterface Id="MyEventInterface"
IID="D54AEDED-63C5-42BD-9825-4FCB5E04A5AE" QueuingEnabled="yes"/>

                     <cpa:ComPlusSubscription Id="s4" Name="Subscriber4"
MethodName="MyMethod" EventCLSID="2B902A6B-D34A-4F2C-B06D-003D0FEEF358"
InterfaceID="D54AEDED-63C5-42BD-9825-4FCB5E04A5AE" Enabled="yes"
Queued="no"/>

                  </cpa:ComPlusComponent>

               </cpa:ComPlusAssembly>

            </cpa:ComPlusApplication>

         </Component>

 

 

Commenting out the ComPlusSubscription line will get the install to run
successfully, an I can then go into the complus app in component
services and manually add the subscription, so I don't see what I'm
missing to get it working in wix.

 

 

Thanks,

 

Tim J
--------------------------------------------------------

This e-mail is for the use of the intended recipient(s) only. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not use, disclose or 
distribute this e-mail without the author's prior permission. We have taken 
precautions to minimize the risk of transmitting software viruses, but we 
advise you to carry out your own virus checks on any attachment to this 
message. We cannot accept liability for any loss or damage caused by software 
viruses.
 
Le present courriel est envoye a l'intention exclusive de son ou de ses 
destinataires. Si vous avez recu ce courriel par erreur, veuillez en aviser 
immediatement l'expediteur et supprimer ce message. Si vous n'etes pas le 
destinataire vise, nous vous informons que toute utilisation, divulgation ou 
distribution de cette communication est strictement interdite sans la 
permission prealable de l'auteur. Des precautions ont ete prises afin de 
reduire au maximum le risque de transmission de virus informatique, mais nous 
tenons a vous conseiller de proceder a vos propres verifications antivirus de 
toute piece jointe a ce message. Aucune responsabilite ne sera assumee a la 
suite de toute perte ou de tout dommage causes par des virus.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to