Are you installing the same COM+ application twice?  If so, did you use the 
same Component/@Guid on both eployments?  If not, then your reference counting 
is broken and that is by design in the Windows Installer

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm
Sent: Thursday, December 14, 2006 12:25
To: gcoates; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] COM+ App Reinstall

One thing I have noticed with COM+ which may be relevant to your problem
is that when the last object that is using the package is removed, the
package is deleted by the WiX CA. This happens irrespective of whether
your MSI created it. So in my case I already have a package created by
another application, I reference but don't create it in my WiX MSI but
when I uninstall the MSI the package is deleted. I haven't tried it but
I suspect that a reinstall may remove the package and then fail to
install because it has gone. I think this behaviour is a bug but I have
yet to report it.

I hope this helps.

Neil

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of gcoates
Sent: 14 December 2006 12:02
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] COM+ App Reinstall


Frederik,

I think I may be mistaken, and there is some other problem with my wix
setup.
Ive created a small test installer which creates a COM+ app and installs
an
assembly and it works fine during reinstall. So, I think there is a
different problem somewhere in my (huge) installation program. Perhaps
you
were right about the properties, ill have to do more checking.

Thanks for your help though.


gcoates wrote:
>
> No problem! I'll open a bug report on source forge.
>
> To get around the problem for now I have created the com+ application
as a
> separate feature which I don't include in a reinstall:
>
> <Feature Id="ComPlusApps" Level="1" Title="ComPlusApps"
> AllowAdvertise="yes" Absent="allow" Description="Com Plus
Applications"
> InstallDefault="followParent" Display="hidden">
>       <!--Don't create com+ apps on reinstall-->
>       <Condition Level="0">REINSTALL</Condition>
> </Feature>
>
>
> Fredrik Grohn-3 wrote:
>>
>> This sounds very strange. There should not be any need for any
additional
>> conditions, it should work just fine the way it looks.
>>
>> Do you think you could open a bug at source forge about this issue?
Also,
>> the more detailed repro steps you would be able to provide the faster
I
>> will
>> probably be able to solve this. :)
>>
>> Fredrik
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of gcoates
>> Sent: Tuesday, December 12, 2006 11:10 AM
>> To: wix-users@lists.sourceforge.net
>> Subject: Re: [WiX-users] COM+ App Reinstall
>>
>>
>> Yes, ive checked in the log and they have correct values during
>> reinstall.
>> I think the problem is that it fails to create the COM+ application
>> because
>> it already exists (i.e. created during install).
>>
>> Install / Reinstall works if I build the installer using a COM
>> Application
>> locator instead of a putting the application it in a component (which
>> creates the application).
>>
>> It looks to me like there is some condition required in the COM+
>> application
>> component so that msi doesnt try to create it during reinstall.
>>
>>
>> Fredrik Grohn-3 wrote:
>>>
>>> Does the properties COMDOMAIN, COMUSERNAME and COMPASSWORD contain
>>> correct
>>> values even during reinstall?
>>>
>>> Fredrik
>>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] On Behalf Of
gcoates
>>> Sent: Monday, December 11, 2006 6:07 PM
>>> To: wix-users@lists.sourceforge.net
>>> Subject: [WiX-users] COM+ App Reinstall
>>>
>>>
>>> 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=DEVDE
V
>>> _______________________________________________
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>>>
>>>
>>>
------------------------------------------------------------------------
-
>>> 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=DEVDE
V
>>> _______________________________________________
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/COM%2B-App-Reinstall-tf2795357.html#a7830408
>> 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=DEVDE
V
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>>
>>
------------------------------------------------------------------------
-
>> 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=DEVDE
V
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>
>

--
View this message in context:
http://www.nabble.com/COM%2B-App-Reinstall-tf2795357.html#a7871263
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=DEVDE
V
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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