[wix-users] Where did this component come from!? [P]

Steven Ogilvie Steven.Ogilvie at titus.com
Tue Feb 21 11:50:25 PST 2017


Classification: Public

This is bizarre,

On my windows 10 VM my client install has:

Component: cmp_Log4Net_TMC; Installed: Absent;   Request: Null;   Action: Null
Then later
Component: __cmp_Log4Net_TMC65; Installed: Null;   Request: Null;   Action: Null

This was an upgrade install...

On my Windows 2012R2 Server VM, the same MSI has:
Component: cmp_Log4Net_TMC; Installed: Absent;   Request: Local;   Action: Null
Component: __cmp_Log4Net_TMC65; Installed: Null;   Request: Local;   Action: Null

What is up with that?

This is what the actual component looks like:

<Component Id="cmp_Log4Net_TMC" KeyPath="yes" Guid="some GUID">
        <CopyFile Id="cpy_log4net_TMC" SourceName="log4net.dll" SourceDirectory="CLIENT_SERVICE_PATH" DestinationName="log4net.dll" DestinationDirectory="DIRECTORY_PATH_CLIENT_TMC" />
        <Condition><![CDATA[WIX_UPGRADE_DETECTED]]></Condition>
      </Component>

2 files are missing on upgrade so I have tried everything... I am trying to copy the file from 1 location to another

My next step is to create a custom action to copy the 2 files :(

Weird,

Steve


This message has been marked as Public by Steven Ogilvie on February 21, 2017 2:50:23 PM. Classification provided by TITUS. 





-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Edwin Castro
Sent: February 21, 2017 1:51 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Where did this component come from!?

I understand this is not a WiX question but rather a Windows Installer question. Please let me know if there is a better place I can ask this question. I've asked here because there are a lot of folks with lots of experience with Windows Installer. I apologize for the noise.

I'm looking at a verbose log from our installer and I found a component that I wasn't expecting!

MSI (s) (38:00) [09:53:15:264]: Feature: DefaultFeature; Installed:
Absent;   Request: Local;   Action: Local
...
MSI (s) (38:00) [09:53:15:264]: Component: service.exe; Installed:
Absent;   Request: Local;   Action: Local
...
MSI (s) (38:00) [09:53:15:264]: Component: __service.exe65; Installed:
Null;   Request: Local;   Action: Local

I expected service.exe to appear in the log BUT I did NOT expect __service.exe65!

This is a "clean" install attempt _after_ the product was previously installed and uninstalled on a test system.

I've opened up the MSI in InstEdit and checked the Component table to ensure it contained all the expected rows. I see the service.exe component as expected. The __service.exe65 component does not exist in the Component table.

Does anybody have any clue as to where this "phantom" component may be coming from?

--
Edwin G. Castro

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list