Hi all,

In my installer I create a COM+ application and register some assemblies.
This works fine on install, but on reinstall it fails, with the following in
the install log.

MSI (s) (D0:A4) [16:24:36:606]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSIF6.tmp, Entrypoint: ComPlusInstallExecute
ComPlusInstallExecute:  Error 0x80110414: Failed to save changes
ComPlusInstallExecute:  Error 0x80110414: Failed to create application, key:
MyComApp
ComPlusInstallExecute:  Error 0x80110414: Failed to create applications

Has anyone experienced this problem before? Any pointers about how to get
around this would be great.
My wix source is like this: first wix describes the com plus app, but COM
app and assembly elements are in an include file:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns:pca="http://schemas.microsoft.com/wix/2005/02/pubca";
xmlns="http://schemas.microsoft.com/wix/2003/01/wi";>
<Fragment>
<DirectoryRef Id="AppSvrComponents">
<Component Id="comappcmp0" Guid="65387F88-3177-45E2-BE54-46E821A58310">
<?include VB6ComPlusAppFiles.wxs?>
</Component>
</DirectoryRef>
</Fragment>
</Wix>

My second wix source (include file), has the following format:

<?xml version="1.0" encoding="UTF-8"?>
<Include xmlns:pca="http://schemas.microsoft.com/wix/2005/02/pubca";
xmlns="http://schemas.microsoft.com/wix/2003/01/wi";>
        <pca:ComPlusApplication Id="gcmapp" Name="MyComApp"
ApplicationAccessChecksEnabled="no" Identity="[COMDOMAIN]\[COMUSERNAME]"
Password="[COMPASSWORD]">
                <pca:ComPlusAssembly
Id="complusassembly_d155214642234753b825fdd5654343defile0"
DllPath="[#vb6_file66]" Type="native">
                        <pca:ComPlusComponent 
CLSID="96E7A7AC-0BB3-453D-B90C-A5510A2A8C0D"
Id="compluscmp_940248a4d5204f49b4cdeb3f3fc8f1dd"/>
                </pca:ComPlusAssembly>
...
...
...
-- 
View this message in context: 
http://www.nabble.com/COM%2B-App-Reinstall-tf2795357.html#a7798758
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to