I'm talking about the MSI. Ignore the BA for now. Do a manual MSI upgrade on a test VM and verify it has the same flaws. Then using the command line perform a repair on the upgraded package and see if the behavior is any different.
The one thing I wonder is why you don't have a single event log source per component, or simply attribute the first event source as KeyPath = Yes and get rid of your forced registry key (and the KeyPath attribute on the component). -----Original Message----- From: Steve-Ogilvie [mailto:steven.ogil...@titus.com] Sent: Tuesday, February 18, 2014 12:02 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Event Source not populating on upgrade... [P] Classification: Public Sorry the bootstrapper only has install/uninstall (the first install (rtm) is via bootstrapper, the upgrade is via bootstrapper [Latest TITUS News!]<http://www.titus.com/TMCPolicy_footer_link_landingpage.php> This message has been marked as Public by Steven Ogilvie on February-18-14 1:01:32 PM. The above classification labels were added to the message by TITUS Message Classification. For more information visit www.titus.com<http://www.titus.com/>. From: Hoover, Jacob [via Windows Installer XML (WiX) toolset] [mailto:ml-node+s687559n7592750...@n2.nabble.com] Sent: February-18-14 12:58 PM To: Steven Ogilvie Subject: Re: Event Source not populating on upgrade... Ok, and does doing a repair at the end actually restore the missing event sources? -----Original Message----- From: Steven Ogilvie [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=7592750&i=0>] Sent: Monday, February 17, 2014 9:05 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Event Source not populating on upgrade... 32 bit condition (sorry nabble removes the conditions :( hence I have put extra spaces here... <Condition>< ! [ CDATA[NETFRAMEWORK40FULLINSTALLROOTDIR AND NOT VersionNT64] ] ></Condition> 64 bit condition: Condition>< ! [ CDATA[NETFRAMEWORK40FULLINSTALLROOTDIR64 AND Condition>VersionNT64] ] ></Condition> RemoveExistingProducts is (all my clients and my services installer): <RemoveExistingProducts Overridable="yes" After="InstallInitialize"/> I have this in all my Clients, and services: <MajorUpgrade DowngradeErrorMessage="A newer version of $(var.PlatformProductName) is already installed. Setup will now exit." Schedule="afterInstallValidate" AllowDowngrades="no"/> -----Original Message----- From: Hoover, Jacob [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=7592750&i=1>] Sent: February-17-14 8:18 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Event Source not populating on upgrade... What are the conditions on the components? When do you have RemoveExistingProducts scheduled? If you repair your upgrade, do the other event sources show up? -----Original Message----- From: Steve-Ogilvie [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=7592750&i=2>] Sent: Monday, February 17, 2014 6:41 PM To: [hidden email]</user/SendEmail.jtp?type=node&node=7592750&i=3> Subject: [WiX-users] Event Source not populating on upgrade... Hi all, I have a RTM version of our software which has 2 client MSI’s The Event Source on the RTM install is fine, all there, but on the upgrade only 1 of the Event Source is showing up: RTM: <PropertyRef Id="NETFRAMEWORK40FULLINSTALLROOTDIR"/> <PropertyRef Id="NETFRAMEWORK40FULLINSTALLROOTDIR64"/> <Component Id="cmp_TMCEventLog" Guid="SOME GUID" KeyPath="yes"> <RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\EventLog\My Company" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes"> <Permission User="NETWORK SERVICE" ReadPermission="yes" /> </RegistryKey> <util:EventSource Name="Blah Blah for Blah" EventMessageFile="[NETFRAMEWORK40FULLINSTALLROOTDIR]EventLogMessages.dll" Log=" My Company "/> <util:EventSource Name="Blah" EventMessageFile="[NETFRAMEWORK40FULLINSTALLROOTDIR]EventLogMessages.dll" Log=" My Company "/> <util:EventSource Name="MYCOMPANY" EventMessageFile="[NETFRAMEWORK40FULLINSTALLROOTDIR]EventLogMessages.dll" Log=" My Company "/> <Condition></Condition> </Component> <!—same for x64 but x64 property- -> Run our “hotfox” (just a later build with GUID and 3rd number in version incremented which forces an major upgrade) <PropertyRef Id="NETFRAMEWORK40FULLINSTALLROOTDIR"/> <PropertyRef Id="NETFRAMEWORK40FULLINSTALLROOTDIR64"/> <PropertyRef Id="NETFRAMEWORK40CLIENTINSTALLROOTDIR"/> <PropertyRef Id="NETFRAMEWORK40CLIENTINSTALLROOTDIR64"/> <Component Id="cmp_TMCEventLog_Full" Guid="SOME GUID" KeyPath="yes"> <RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\EventLog\My Company" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes"> <Permission User="NETWORK SERVICE" ReadPermission="yes" /> </RegistryKey> <util:EventSource Name="Blah Blah for Blah" EventMessageFile="[NETFRAMEWORK40FULLINSTALLROOTDIR]EventLogMessages.dll" Log="My Company"/> <util:EventSource Name="Blah" EventMessageFile="[NETFRAMEWORK40FULLINSTALLROOTDIR]EventLogMessages.dll" Log="My Company"/> <util:EventSource Name="MYCOMPANY" EventMessageFile="[NETFRAMEWORK40FULLINSTALLROOTDIR]EventLogMessages.dll" Log="My Company"/> <Condition></Condition> </Component> <Component Id="cmp_TMCEventLog_Client" Guid="SOME GUID" KeyPath="yes"> <RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\EventLog\My Company" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes"> <Permission User="NETWORK SERVICE" ReadPermission="yes" /> </RegistryKey> <util:EventSource Name="Blah Blah for Blah" EventMessageFile="[NETFRAMEWORK40CLIENTINSTALLROOTDIR]EventLogMessages.dll" Log="My Company"/> <util:EventSource Name="Blah" EventMessageFile="[NETFRAMEWORK40CLIENTINSTALLROOTDIR]EventLogMessages.dll" Log="My Company"/> <util:EventSource Name="MYCOMPANY" EventMessageFile="[NETFRAMEWORK40CLIENTINSTALLROOTDIR]EventLogMessages.dll" Log="My Company"/> <Condition></Condition> </Component> And the same for X64 Looking at the log, during the uninstall I can see it removing the registry keys for event source and during install of the new version I can see it creating the registry keys but why are they not there?? Anyway here is he uninstall logging of event source: MSI (s) (5C:90) [13:21:40:726]: Executing op: RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs,,BinaryType=0,,) MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveValue(Name=Sources,Value=[~]TITUS Message Classification,) MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveKey() MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveValue(Name=AutoBackupLogFiles,Value=#0,) MSI (s) (5C:90) [13:21:40:726]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs 3: 2 MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveValue(Name=File,Value=#%[%SystemRoot]\System32\config\Titus La.evt,) MSI (s) (5C:90) [13:21:40:726]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs 3: 2 MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveValue(Name=MaxSize,Value=#524288,) MSI (s) (5C:90) [13:21:40:726]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs 3: 2 MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveValue(Name=Retention,Value=#604800,) MSI (s) (5C:90) [13:21:40:726]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs 3: 2 MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveKey() MSI (s) (5C:90) [13:21:40:726]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs 3: 2 MSI (s) (5C:90) [13:21:40:726]: Executing op: RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs\Message Classification for Microsoft Outlook,,BinaryType=0,,) MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveValue(Name=EventMessageFile,Value=#%[NETFRAMEWORK40FULLINSTALLROOTDIR]EventLogMessages.dll,) MSI (s) (5C:90) [13:21:40:726]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs\Message Classification for Microsoft Outlook 3: 2 MSI (s) (5C:90) [13:21:40:726]: Executing op: RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs\Message Classification,,BinaryType=0,,) MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveValue(Name=EventMessageFile,Value=#%[NETFRAMEWORK40FULLINSTALLROOTDIR]EventLogMessages.dll,) MSI (s) (5C:90) [13:21:40:726]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs\Message Classification 3: 2 MSI (s) (5C:90) [13:21:40:726]: Executing op: RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs\TITUS,,BinaryType=0,,) MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveValue(Name=EventMessageFile,Value=#%[NETFRAMEWORK40FULLINSTALLROOTDIR]EventLogMessages.dll,) MSI (s) (5C:90) [13:21:40:726]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs\TITUS 3: 2 MSI (s) (5C:90) [13:21:40:726]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\Microsoft\Office\Outlook\Addins\TitusLabsMessageClassification.Connect,,BinaryType=0,,) MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveValue(Name=Description,Value=TITUS Message Classification for Microsoft Outlook,) MSI (s) (5C:90) [13:21:40:726]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Outlook\Addins\TitusLabsMessageClassification.Connect 3: 2 MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveValue(Name=FriendlyName,Value=TITUS Message Classification for Microsoft Outlook,) MSI (s) (5C:90) [13:21:40:726]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Outlook\Addins\TitusLabsMessageClassification.Connect 3: 2 MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveValue(Name=ProductInstalled,Value=TMC,) MSI (s) (5C:90) [13:21:40:726]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Outlook\Addins\TitusLabsMessageClassification.Connect 3: 2 MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveValue(Name=LoadBehavior,Value=#3,) MSI (s) (5C:90) [13:21:40:726]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Outlook\Addins\TitusLabsMessageClassification.Connect 3: 2 MSI (s) (5C:90) [13:21:40:726]: Executing op: RegRemoveKey() MSI (s) (5C:90) [13:21:40:726]: Note: 1: 1402 2: Here is install logging of event source: MSI (s) (5C:50) [13:21:53:062]: Executing op: RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs,,BinaryType=0,,) MSI (s) (5C:50) [13:21:53:062]: Executing op: RegAddValue(Name=Sources,Value=[~]TITUS Message Classification,) MSI (s) (5C:50) [13:21:53:062]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs 3: 2 MSI (s) (5C:50) [13:21:53:062]: Executing op: RegCreateKey() MSI (s) (5C:50) [13:21:53:062]: Executing op: RegCreateKey() MSI (s) (5C:50) [13:21:53:062]: Executing op: RegAddValue(Name=AutoBackupLogFiles,Value=#0,) MSI (s) (5C:50) [13:21:53:062]: Executing op: RegAddValue(Name=File,Value=#%C:\Windows\System32\config\Titus La.evt,) MSI (s) (5C:50) [13:21:53:078]: Executing op: RegAddValue(Name=MaxSize,Value=#524288,) MSI (s) (5C:50) [13:21:53:078]: Executing op: RegAddValue(Name=Retention,Value=#604800,) MSI (s) (5C:50) [13:21:53:078]: Executing op: RegCreateKey() MSI (s) (5C:50) [13:21:53:078]: Executing op: RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs\Message Classification for Microsoft Outlook,,BinaryType=0,,) MSI (s) (5C:50) [13:21:53:078]: Executing op: RegAddValue(Name=EventMessageFile,Value=#%C:\Windows\Microsoft.NET\Framework\v4.0.30319\EventLogMessages.dll,) MSI (s) (5C:50) [13:21:53:078]: Executing op: RegAddValue(Name=EventMessageFile,Value=#%C:\Windows\Microsoft.NET\Framework\v4.0.30319\EventLogMessages.dll,) MSI (s) (5C:50) [13:21:53:078]: Executing op: RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs\Message Classification,,BinaryType=0,,) MSI (s) (5C:50) [13:21:53:078]: Executing op: RegAddValue(Name=EventMessageFile,Value=#%C:\Windows\Microsoft.NET\Framework\v4.0.30319\EventLogMessages.dll,) MSI (s) (5C:50) [13:21:53:078]: Executing op: RegAddValue(Name=EventMessageFile,Value=#%C:\Windows\Microsoft.NET\Framework\v4.0.30319\EventLogMessages.dll,) MSI (s) (5C:50) [13:21:53:078]: Executing op: RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\EventLog\Titus Labs\TITUS,,BinaryType=0,,) MSI (s) (5C:50) [13:21:53:078]: Executing op: RegAddValue(Name=EventMessageFile,Value=#%C:\Windows\Microsoft.NET\Framework\v4.0.30319\EventLogMessages.dll,) MSI (s) (5C:50) [13:21:53:078]: Executing op: RegAddValue(Name=EventMessageFile,Value=#%C:\Windows\Microsoft.NET\Framework\v4.0.30319\EventLogMessages.dll,) Why is it not really in the registry?? From the logging it states it is there… Any help would be appreciated STeve -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Event-Source-not-populating-on-upgrade-tp7592732.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list [hidden email]</user/SendEmail.jtp?type=node&node=7592750&i=4> https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list [hidden email]</user/SendEmail.jtp?type=node&node=7592750&i=5> https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list [hidden email]</user/SendEmail.jtp?type=node&node=7592750&i=6> https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list [hidden email]</user/SendEmail.jtp?type=node&node=7592750&i=7> https://lists.sourceforge.net/lists/listinfo/wix-users ________________________________ If you reply to this email, your message will be added to the discussion below: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Event-Source-not-populating-on-upgrade-tp7592732p7592750.html To unsubscribe from Event Source not populating on upgrade..., click here<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7592732&code=U3RldmVuLk9naWx2aWVAdGl0dXMuY29tfDc1OTI3MzJ8ODU3MjA0NTIw>. NAML<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> image001.png (35K) <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/attachment/7592751/0/image001.png> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/RE-Event-Source-not-populating-on-upgrade-P-tp7592751.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users