[wix-users] Publisher policy file missing in c:\windows\assembly\tmp folder when adding it through patch.

Rob Mensching rob at firegiant.com
Fri Oct 11 06:19:38 PDT 2019


Yes. See them both.

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 Vladimir Kolobkov via wix-users
Sent: Friday, October 11, 2019 12:56 AM
To: wix-users at lists.wixtoolset.org
Cc: Vladimir Kolobkov <vkolobkov at gmail.com>
Subject: Re: [wix-users] Publisher policy file missing in c:\windows\assembly\tmp folder when adding it through patch.

Dear Group,

I have send message to mail group and didn't get same mail as described in subscription configuration which says "*Receive your own posts to the list?*"
by default it is "Yes" and i didn't change it.
So i'm wondering, did anybody get my message or not?

Best regards,
Vladimir Kolobkov


On Thu, 10 Oct 2019 at 15:58, Vladimir Kolobkov <vkolobkov at gmail.com> wrote:

> Hi folks,
>
> I have strange behavior while creating the patch with wix 3.11.0.1701.
> I want to add publisher policy to the already installed application.
> So i have added 2 new .net assemblies with increased versions and 
> generate policy assembly.
>
> Policy assembly was added as new component:
>       <Component Guid="95297615-6284-40D4-BCC4-88F250F7F6D1"
> Id="CMP_Policy1_1IcalInvoicesSapDll">
>         <File KeyPath="yes" Assembly=".net"
> Id="FILE_Policy1_1IcalInvoicesSapDll"
> Source="$(var.IpaAssembliesDir)\policy.1.1.ICAL.Invoices.SAP.dll"
> Name="policy.1.1.ICAL.Invoices.SAP.dll"/>
>         <File Id="FILE_Policy1_1IcalInvoicesSapConfig"
> Source="$(var.IpaAssembliesDir)\ICAL.Invoices.SAP.config"
> CompanionFile="FILE_Policy1_1IcalInvoicesSapDll"
> Name="ICAL.Invoices.SAP.config"/>
>       </Component>
>
> After that i have created new msi(based on original). But the patch 
> installation fails with an error:
> 10/10/2019 14:55:46.627 [7172]: Assembly Install: Failing with 
> hr=80131042 at CAssemblyCacheItem::LegacyCommit, line 1360
>
> MSI (s) (04:10) [14:55:46:633]: Assembly Error:A module specified in 
> the manifest of assembly '%1' could not be found.
> MSI (s) (04:10) [14:55:46:633]: Note: 1: 1938 2:
> {95297615-6284-40D4-BCC4-88F250F7F6D1} 3: 0x80131042 4: 
> IAssemblyCacheItem
> 5: Commit 6:
> policy.1.1.ICAL.Invoices.SAP,version="0.0.0.0",culture="neutral",publicKeyToken="0A00A7449EA4C480",processorArchitecture="MSIL"
>
> MSI (c) (2C:48) [14:55:46:634]: Transforming table Binary.
>
> MSI (c) (2C:48) [14:55:46:634]: Transforming table Binary.
>
> MSI (c) (2C:48) [14:55:46:634]: Note: 1: 2262 2: Binary 3: -2147287038 
> Error 1938. An error occurred during the installation of assembly 
> 'policy.1.1.ICAL.Invoices.SAP,version="0.0.0.0",culture="neutral",publicKeyToken="0A00A7449EA4C480",processorArchitecture="MSIL"'.
> One or more modules of the assembly could not be found. HRESULT:
> 0x80131042. assembly interface: IAssemblyCacheItem, function: Commit,
> component: {95297615-6284-40D4-BCC4-88F250F7F6D1}
> MSI (s) (04:10) [14:55:54:475]: Product: Kofax Invoice Processing 
> Agility
> 1.1 -- Error 1938. An error occurred during the installation of 
> assembly 'policy.1.1.ICAL.Invoices.SAP,version="0.0.0.0",culture="neutral",publicKeyToken="0A00A7449EA4C480",processorArchitecture="MSIL"'.
> One or more modules of the assembly could not be found. HRESULT:
> 0x80131042. assembly interface: IAssemblyCacheItem, function: Commit,
> component: {95297615-6284-40D4-BCC4-88F250F7F6D1}
>
> 10/10/2019 14:55:54.477 [7172]: Assembly Install: Failing with 
> hr=80070005 at RemoveDirectoryAndChildren, line 393
>
> 10/10/2019 14:55:54.478 [7172]: Detailed info about 
> C:\Windows\assembly\tmp\X36OJITA\policy.1.1.ICAL.Invoices.SAP.dll
>
> 10/10/2019 14:55:54.478 [7172]: File attributes: 00000080
>
> 10/10/2019 14:55:54.523 [7172]: Restart Manager Info: 1 entries
>
> 10/10/2019 14:55:54.523 [7172]: App[0]: (7172) Windows Installer 
> (msiserver), type = 3
>
> 10/10/2019 14:55:54.523 [7172]: Security info:
>
> 10/10/2019 14:55:54.524 [7172]: Owner: S-1-5-18
>
> 10/10/2019 14:55:54.524 [7172]: Group: S-1-5-18
>
> 10/10/2019 14:55:54.524 [7172]: DACL information: 4 entries:
>
> 10/10/2019 14:55:54.524 [7172]: ACE[0]: Type = 0x00, Flags = 010, Mask 
> = 001f01ff, SID = S-1-5-18
>
> 10/10/2019 14:55:54.525 [7172]: ACE[1]: Type = 0x00, Flags = 010, Mask 
> = 001f01ff, SID = S-1-5-32-544
>
> 10/10/2019 14:55:54.525 [7172]: ACE[2]: Type = 0x00, Flags = 010, Mask 
> = 001200a9, SID = S-1-5-32-545
>
> 10/10/2019 14:55:54.525 [7172]: ACE[3]: Type = 0x00, Flags = 010, Mask 
> = 001200a9, SID = S-1-15-2-1
>
> Action ended 14:55:54: InstallFinalize. Return value 3.
>
> I have checked the c:\windows\assembly\tmp folder and there was no 
> config file for policy assembly.
> Meanwhile the installer which was used to create patch installs policy 
> without any errors.
> Does anybody knows how i can achive policy into GAC through patch.
>
> Best regards,
> Vladimir Kolobkov
>

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



More information about the wix-users mailing list