[wix-users] XmlConfig does not work when applied throug transform

Rob Mensching rob at firegiant.com
Mon Aug 20 10:20:39 PDT 2018


Maybe the CA DLL isn't in the MST?

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Herman van Drie via wix-users
Sent: Monday, August 20, 2018 2:02 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Herman van Drie <hvandrie at outlook.com>
Subject: [wix-users] XmlConfig does not work when applied throug transform

Hi,

Am trying to apply Wix XmlConfig custom action to an Msi database through a transform file.
Mst contains all Wix related binary, actions and XmlConfig table to apply to msi database.

Upon installing, I get an error in log file:

MSI (s) (FC:FC) [10:43:18:124]: Doing action: SchedXmlConfig Action 10:43:18: SchedXmlConfig.
Action start 10:43:18: SchedXmlConfig.
MSI (s) (FC:FC) [10:43:18:126]: Transforming table CustomAction.
MSI (s) (FC:FC) [10:43:18:126]: Transforming table Binary.
MSI (s) (FC:88) [10:43:18:130]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIA47E.tmp, Entrypoint: SchedXmlConfig MSI (s) (FC:D0) [10:43:18:130]: Generating random cookie.
MSI (s) (FC:D0) [10:43:18:135]: Created Custom Action Server with PID 20672 (0x50C0).
MSI (s) (FC:20) [10:43:18:190]: Running as a service.
MSI (s) (FC:D4) [10:43:18:192]: Hello, I'm your 32bit Impersonated custom action server.
MSI (s) (FC!5C) [10:43:18:204]: Note: 1: 2262 2: XmlConfig 3: -2147287038 MSI (s) (FC!5C) [10:43:18:204]: Transforming table XmlConfig.
Action ended 10:43:18: SchedXmlConfig. Return value 1.


The error returned is related to Windows Installer error 2262 which says it can't find the stream:
Stream does not exist: [2]. System error: [3].

This sounds not logical to me, the referred file in the XmlConfig File column is key to an xml file in the File table of the original msi database, which is marked to be installed (in deferred mode).

Am wondering whether anyone has same experience or knows a solution other than to merge with the msi database.
Anyone has some pointers for me?

Thanks,

Herman


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


More information about the wix-users mailing list