I've been trying to do an upgrade of one of my products with the following WXS file. As you can see from the bottom of it, there's an attempt to install a Windows log source (so that a non-privileged user can use the application without further ado). This looks correct; the similar auto-generation for the original version works as far as I can tell. However, the resulting installer fails to create the source correctly - I see nothing under the relevant key at all (I noticed this when the application complained). Looking with Orca, I see the two registry entries "repeated", after a fashion, and with what looks like strange names (and empty values)
reg9AA99B7EB17E239A147BF7246A59A4CC 1 Software\Statistics Canada\test DTSC19b43187_595b_4741_afdd_11e5432ee09e #1 DesktopShortCutDialer3 reg38B342D6D46945CE2C1176CD25D7B678 2 System\CurrentControlSet\services\eventlog\Application\Dialer3 EventMessageFile C:\Windows\Microsoft.NET\Framework\v2.0.50727\EventLogMessages.dll RegistryEntries reg19C9628B821BABEAB84A3DF2745241BF 1 Software\Statistics Canada\test * DesktopShortCutDialer3 reg9AA99B7EB17E239A147BF7246A59A4CC 2 System\CurrentControlSet\services\eventlog\Application\Dialer3 + RegistryEntries Any idea what is going on here? (Note the first key is just the usual hack to get a shortcut to work right.) WXS: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" UpgradeCode="5E2C9CC6-602E-4663-A0D8-9E3BBBECAC9B" Version="2.2.0" Language="1033" Name="Dialer320130114135534" Manufacturer="Statistics Canada" Codepage="1252"> <Package InstallerVersion="300" Compressed="yes" InstallScope="perMachine" /> <MajorUpgrade DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit." /> <Media Id="1" Cabinet="Dialer320130114135534.cab" EmbedCab="yes" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder" Name="ProgramFilesFolder"> <Directory Id="StatisticsCanada" Name="Statistics Canada"> <Directory Id="Dialer3" Name="Dialer 3"> <Directory Id="EnglishDialerLocalization" Name="en-CA" /> <Directory Id="FrenchDialerLocalization" Name="fr-CA" /> <Directory Id="PickWirelessDevice" Name="PickWirelessDevice"> <Directory Id="EnglishPwdLocalization" Name="en-CA" /> <Directory Id="FrenchPwdLocalization" Name="fr-CA" /> </Directory> </Directory> </Directory> </Directory> <Directory Id="DesktopFolder" Name="Desktop" /> </Directory> <DirectoryRef Id="EnglishDialerLocalization"> <Component Id="F0cdffc224a6c4" Guid="af1efd9b-e737-48df-b99d-151ce80e1207"> <File Id="F0cdffc224a6c4" Source="\\F7coll-dev01\blaise\DEVELOPMENT\Social\InstallerBuilder\CasemanComponent\Dialer3\Files\Dialer 3 Localization\en-CA\Dialer3.resources.dll" KeyPath="yes" /> </Component> </DirectoryRef> <DirectoryRef Id="FrenchDialerLocalization"> <Component Id="Fb4ce61c07d334" Guid="dc836d2f-2f15-4603-a38a-c2165e5d9dab"> <File Id="Fb4ce61c07d334" Source="\\F7coll-dev01\blaise\DEVELOPMENT\Social\InstallerBuilder\CasemanComponent\Dialer3\Files\Dialer 3 Localization\fr-CA\Dialer3.resources.dll" KeyPath="yes" /> </Component> </DirectoryRef> <DirectoryRef Id="EnglishPwdLocalization"> <Component Id="Ff6dac355a7114" Guid="749d856c-4443-4d07-b535-8b701972a664"> <File Id="Ff6dac355a7114" Source="\\F7coll-dev01\blaise\DEVELOPMENT\Social\InstallerBuilder\CasemanComponent\Dialer3\Files\PWD Localization\en-CA\PickWirelessDevice.resources.dll" KeyPath="yes" /> </Component> </DirectoryRef> <DirectoryRef Id="FrenchPwdLocalization"> <Component Id="F001c6eca01824" Guid="5a7c48bd-3135-476d-934e-e964bcbc33c8"> <File Id="F001c6eca01824" Source="\\F7coll-dev01\blaise\DEVELOPMENT\Social\InstallerBuilder\CasemanComponent\Dialer3\Files\PWD Localization\fr-CA\PickWirelessDevice.resources.dll" KeyPath="yes" /> </Component> </DirectoryRef> <DirectoryRef Id="PickWirelessDevice"> <Component Id="F6b6bffd860144" Guid="90877d3a-c2b5-4992-ad7f-9162a933ac62"> <File Id="F6b6bffd860144" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\PWD\CasemanUtilities.dll" KeyPath="yes" /> </Component> <Component Id="F1987701ca5d24" Guid="1597f8b4-2218-4c21-b12f-c8324031b7fd"> <File Id="F1987701ca5d24" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\PWD\EscalationServiceInterface.dll" KeyPath="yes" /> </Component> <Component Id="Fc2ea0e6d293a4" Guid="eb056c5b-f2e0-4993-968f-9f9d6debb550"> <File Id="Fc2ea0e6d293a4" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\PWD\Microsoft.Deployment.Compression.Cab.dll" KeyPath="yes" /> </Component> <Component Id="Fb0742dbbd00a4" Guid="81fb03e8-22a8-433b-98bb-dcdc15bba257"> <File Id="Fb0742dbbd00a4" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\PWD\Microsoft.Deployment.Compression.dll" KeyPath="yes" /> </Component> <Component Id="F948e4ebd20734" Guid="8f7dbf5a-2fe6-4af9-836f-b07b21d51a38"> <File Id="F948e4ebd20734" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\PWD\Microsoft.Deployment.WindowsInstaller.dll" KeyPath="yes" /> </Component> <Component Id="F875103db5a834" Guid="02347679-ee98-478f-919b-1400343798bf"> <File Id="F875103db5a834" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\PWD\Microsoft.Deployment.WindowsInstaller.Package.dll" KeyPath="yes" /> </Component> <Component Id="F4798c30282814" Guid="fd8ee9f3-7dc9-41a1-a722-2dfe9e34a08c"> <File Id="F4798c30282814" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\PWD\Microsoft.VisualBasic.PowerPacks.Vs.dll" KeyPath="yes" /> </Component> <Component Id="F7cef1d2bf0e74" Guid="511cc279-d1ae-4ba2-904c-ed472c003047"> <File Id="F7cef1d2bf0e74" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\PWD\PickWirelessDevice.exe" KeyPath="yes" Checksum="yes" /> </Component> <Component Id="F028b98416c9d4" Guid="dfef5e74-0566-43a6-9ae5-9bb50e4072e2"> <File Id="F028b98416c9d4" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\PWD\PickWirelessDevice.exe.config" KeyPath="yes" /> </Component> <Component Id="F6e8d1929f1674" Guid="3a15c3c5-ea58-4665-aae4-175182303152"> <File Id="F6e8d1929f1674" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\PWD\PickWirelessDeviceInformation.xml" KeyPath="yes" /> </Component> </DirectoryRef> <DirectoryRef Id="Dialer3"> <Component Id="F92c3214c9d734" Guid="89cd8acd-ddcc-465e-9415-fb8e65a2559c"> <File Id="F92c3214c9d734" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\CasemanControls.dll" KeyPath="yes" /> </Component> <Component Id="F9e37a7f033e84" Guid="d95043d5-1e02-4f31-a364-2063f357e24b"> <File Id="F9e37a7f033e84" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\CasemanUtilities.dll" KeyPath="yes" /> </Component> <Component Id="F1444cb2984704" Guid="8bb22fde-450c-44fb-a2bf-eeaa7bcfcbdb"> <File Id="F1444cb2984704" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\Dialer3.application" KeyPath="yes" /> </Component> <Component Id="Fe030e32bffd94" Guid="2a742f82-a289-4521-9b87-869de5cd9098"> <File Id="Fe030e32bffd94" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\Dialer3.exe" KeyPath="yes" Checksum="yes" /> </Component> <Component Id="DesktopShortCutDialer3" Guid="9d13856b-ce72-4d22-8c7f-cf1aae6aea13"> <RegistryKey Root="HKCU" Key="Software\Statistics Canada\test" Action="createAndRemoveOnUninstall"> <RegistryValue Name="DTSC19b43187_595b_4741_afdd_11e5432ee09e" Value="1" Type="integer" KeyPath="yes" /> </RegistryKey> <Shortcut Id="DesktopShortCutDialer3" Directory="DesktopFolder" Name="Dialer 3" WorkingDirectory="INSTALLDIR" Target="[#Fe030e32bffd94]" /> </Component> <Component Id="F7a4b67f07fcd4" Guid="6b6ef4d8-e743-486f-aa53-500f6c323ffa"> <File Id="F7a4b67f07fcd4" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\Dialer3.exe.config" KeyPath="yes" /> </Component> <Component Id="F65c9c277824f4" Guid="d7a0f1fd-4629-4918-baa3-a19052e9736e"> <File Id="F65c9c277824f4" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\Dialer3.exe.manifest" KeyPath="yes" /> </Component> <Component Id="Fe98177f377d24" Guid="bbad78f0-86a8-40b4-9ffb-c71a8a3f3477"> <File Id="Fe98177f377d24" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\EscalationServiceInterface.dll" KeyPath="yes" /> </Component> <Component Id="F9b4491f5d4a24" Guid="988728b9-e69d-4d5e-9640-5f9817fd00a2"> <File Id="F9b4491f5d4a24" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\Interop.VpnApiLib.dll" KeyPath="yes" /> </Component> <Component Id="F6a0a90183d8e4" Guid="fc4e4b68-cf91-4ada-be3a-3eb84a5eed52"> <File Id="F6a0a90183d8e4" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\Interop.XeClientLib.dll" KeyPath="yes" /> </Component> <Component Id="F91f877e829134" Guid="b72dc14f-4d19-4dc5-bfc0-718ca106d8c4"> <File Id="F91f877e829134" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\Microsoft.Deployment.Compression.Cab.dll" KeyPath="yes" /> </Component> <Component Id="F9253c365b67e4" Guid="3e16cba1-1acb-40a6-bc6f-eb32d3ea6454"> <File Id="F9253c365b67e4" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\Microsoft.Deployment.Compression.dll" KeyPath="yes" /> </Component> <Component Id="Faa97a6fea0d14" Guid="6cdbf280-d7ea-46d0-a3b0-873bef6e8dc1"> <File Id="Faa97a6fea0d14" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\Microsoft.Deployment.WindowsInstaller.dll" KeyPath="yes" /> </Component> <Component Id="F911256e6297c4" Guid="4d207c76-3d9e-4beb-8cd3-693501385dc3"> <File Id="F911256e6297c4" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\Microsoft.Deployment.WindowsInstaller.Package.dll" KeyPath="yes" /> </Component> <Component Id="F4b067b78b7b34" Guid="9208a363-7820-47a4-b94d-86d5b8ffe1a8"> <File Id="F4b067b78b7b34" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\PHONE01.ICO" KeyPath="yes" /> </Component> <Component Id="Fe58a5f468cc24" Guid="aa6c86d1-e80f-4c6b-bfad-be141d13bb37"> <File Id="Fe58a5f468cc24" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\test.bmp" KeyPath="yes" /> </Component> <Component Id="Fdec1eb6a2ea64" Guid="91824962-8c54-4e4e-9560-f1a1227237d4"> <File Id="Fdec1eb6a2ea64" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\test2.bmp" KeyPath="yes" /> </Component> <Component Id="F6681ed849b384" Guid="d4cbe044-a940-47e8-81b9-d11e2a21062f"> <File Id="F6681ed849b384" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\test3.bmp" KeyPath="yes" /> </Component> <Component Id="Ff5eb9f9a196f4" Guid="7e394891-5044-4580-b552-d0211b39474c"> <File Id="Ff5eb9f9a196f4" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\test4.bmp" KeyPath="yes" /> </Component> <Component Id="Ffbd1205c26694" Guid="f402e844-5e77-4548-94e5-a0549f599b59"> <File Id="Ffbd1205c26694" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\Dialer 3 Proper\Thumbs.db" KeyPath="yes" /> </Component> <Component Id="Fdcb7379ccfe94" Guid="ea0b1896-3faa-4c79-8178-5b28c5b15318"> <File Id="Fdcb7379ccfe94" Source="\\f7coll-dev01\blaise\development\social\installerbuilder\casemancomponent\dialer3\files\device support dlls and libraries\sierra330u.dll" KeyPath="yes" /> </Component> <Component Id="Fc1e017e219ed4" Guid="95688ab6-d622-4570-83e9-fbd90a8900af"> <File Id="Fc1e017e219ed4" Source="\\F7coll-dev01\blaise\DEVELOPMENT\Social\InstallerBuilder\CasemanComponent\Dialer3\Files\Release Notes\release notes.txt" KeyPath="yes" /> </Component> </DirectoryRef> <Feature Id="MainApplication" Title="Main Application" Level="1"> <ComponentRef Id="F92c3214c9d734" /> <ComponentRef Id="F9e37a7f033e84" /> <ComponentRef Id="F1444cb2984704" /> <ComponentRef Id="Fe030e32bffd94" /> <ComponentRef Id="F7a4b67f07fcd4" /> <ComponentRef Id="F65c9c277824f4" /> <ComponentRef Id="Fe98177f377d24" /> <ComponentRef Id="F9b4491f5d4a24" /> <ComponentRef Id="F6a0a90183d8e4" /> <ComponentRef Id="F91f877e829134" /> <ComponentRef Id="F9253c365b67e4" /> <ComponentRef Id="Faa97a6fea0d14" /> <ComponentRef Id="F911256e6297c4" /> <ComponentRef Id="F4b067b78b7b34" /> <ComponentRef Id="Fe58a5f468cc24" /> <ComponentRef Id="Fdec1eb6a2ea64" /> <ComponentRef Id="F6681ed849b384" /> <ComponentRef Id="Ff5eb9f9a196f4" /> <ComponentRef Id="Ffbd1205c26694" /> <ComponentRef Id="Fdcb7379ccfe94" /> <ComponentRef Id="Fc1e017e219ed4" /> <ComponentRef Id="F0cdffc224a6c4" /> <ComponentRef Id="Fb4ce61c07d334" /> <ComponentRef Id="F6b6bffd860144" /> <ComponentRef Id="F1987701ca5d24" /> <ComponentRef Id="Fc2ea0e6d293a4" /> <ComponentRef Id="Fb0742dbbd00a4" /> <ComponentRef Id="F948e4ebd20734" /> <ComponentRef Id="F875103db5a834" /> <ComponentRef Id="F4798c30282814" /> <ComponentRef Id="F7cef1d2bf0e74" /> <ComponentRef Id="F028b98416c9d4" /> <ComponentRef Id="F6e8d1929f1674" /> <ComponentRef Id="Ff6dac355a7114" /> <ComponentRef Id="F001c6eca01824" /> <ComponentRef Id="DesktopShortCutDialer3" /> </Feature> <Binary Id="DeviceSupportDllLibrary" SourceFile="\\F7coll-dev01\blaise\DEVELOPMENT\Social\InstallerBuilder\CasemanComponent\Dialer3\Extras\DeviceSupportDllInstallationLibrary.CA.dll" /> <CustomAction Id="CA_DeviceSupportDllLibrary" BinaryKey="DeviceSupportDllLibrary" DllEntry="UpdateGeneralSettings" Execute="immediate" Return="check" /> <InstallExecuteSequence> <Custom Action="CA_DeviceSupportDllLibrary" After="PublishProduct">NOT REMOVE</Custom> </InstallExecuteSequence> <Property Id="DeviceSupportName1" Value="Sierra330U" /> <Property Id="PhoneBookEntry1" Value="LTE Connection Rogers" /> <Property Id="HumanReadableName1" Value="Sierra Wireless HSPA Modem" /> <Property Id="Carrier1" Value="Rogers" /> <Property Id="DeviceSupportNameCount" Value="1" /> <DirectoryRef Id="TARGETDIR"> <Component Id="RegistryEntries" Guid="b45f011f-69c7-48df-b8c4-90f8d6b13ccf"> <RegistryKey Root="HKLM" Key="System\CurrentControlSet\services\eventlog\Application\Dialer3" Action="create"> <RegistryValue Type="string" Name="EventMessageFile" Value="C:\Windows\Microsoft.NET\Framework\v2.0.50727\EventLogMessages.dll" /> </RegistryKey> </Component> </DirectoryRef> <Property Id="Creator" Value="STATCAN\dougkei" /> </Product> </Wix> Keith Douglas Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6 Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6 keith.doug...@statcan.gc.ca Telephone | Téléphone 613-951-4405 Facsimile | Télécopieur 613-951-1966 Government of Canada | Gouvernement du Canada ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users