[wix-users] msiexec on ARM?

Alan Sinclair anadem at gmail.com
Fri Nov 22 11:04:17 PST 2019


How do I fix

*error LGHT0204 : ICE39: PID_TEMPLATE value in Summary Information Stream
is not valid. It must be of the form
"Platform,Platform,...;LangID,LangID,...".*


which occurs only when using the -arch arm parameter to candle

For first steps with the ARM package I'm using the SampleFirst.wxs
from the FireGiant
WiX Tutorial
<https://www.firegiant.com/wix/tutorial/getting-started/putting-it-to-use/>
It builds fine without the -arch arm

Candle succeeds with -arch arm parameter, but Light errors:













*C:\Users\alans\samplefirst\> candle -arch arm SampleArm.wxsWindows
Installer XML Toolset Compiler version 3.11.2.4516Copyright (c) .NET
Foundation and contributors. All rights
reserved.SampleArm.wxsC:\Users\alans\samplefirst\> light
SampleArm.wixobjWindows Installer XML Toolset Linker version
3.11.2.4516Copyright (c) .NET Foundation and contributors. All rights
reserved.C:\Users\alans\AppData\Local\Temp\sudxiqcc\SampleArm.msi : error
LGHT0204 : ICE39: PID_TEMPLATE value in Summary Information Stream is not
valid. It must be of the form
"Platform,Platform,...;LangID,LangID,...".C:\Users\alans\AppData\Local\Temp\sudxiqcc\SampleArm.msi
: error LGHT0204 : ICE39: PID_TEMPLATE value in Summary Information Stream
is not valid. It must be of the form
"Platform,Platform,...;LangID,LangID,...".*


Adding Platform="arm" doesn't help:

<Product Name='Foobar 1.0' Id='050956c9-47e9-4f63-ade68d4fcfd992ab'
    UpgradeCode='d7ff0930-9fca-41f1-9e4c-6a8a7d1fd776'
    Language='1033' Codepage='1252' Version='1.0.0' Manufacturer='Acme
Ltd.'>

<Package Id='*' Keywords='Installer' Description="Acme's Foobar 1.0
Installer"
    Comments='Foobar is a registered trademark of Acme Ltd.'
Manufacturer='Acme Ltd.'
    InstallerVersion='500' Platform="arm" Languages='1033' Compressed='yes'
SummaryCodepage='1252' />






On Fri, Nov 15, 2019 at 12:01 PM Alan Sinclair <anadem at gmail.com> wrote:

> When you built an MSI for ARM, how did you handle the -arch parameter for
> candle?  for v.3.11 the -arch options are all intel (x86, x64, or ia64). I
> don't know what -arch does under the hood
>
> Anyone have a clue when wix 4 might be coming?
>
> thanks
> Alan
>
> On Mon, Oct 28, 2019 at 12:13 PM Bill Wandel <bill at bwandel.com> wrote:
>
>> This is correct.
>>
>>
>>
>> Bill
>>
>>
>>
>> *From:* Christopher Painter <chrpai at iswix.com>
>> *Sent:* Monday, October 28, 2019 1:17 PM
>> *To:* Bill Wandel <bill at bwandel.com>; WiX Toolset Users Mailing List <
>> wix-users at lists.wixtoolset.org>
>> *Cc:* Alan Sinclair <anadem at gmail.com>
>> *Subject:* Re: [wix-users] msiexec on ARM?
>>
>>
>>
>> DTF encapsulates a .NET assembly with a native hosting component that is
>> compiled for x86 or x64.  My best understanding of ARM is that Windows has
>> an emulation layer for x86 compatibility.  I don't own any devices to play
>> with this but this is what I've read.
>>
>>
>> ------------------------------
>>
>> *From:* wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of
>> Alan Sinclair via wix-users <wix-users at lists.wixtoolset.org>
>> *Sent:* Monday, October 28, 2019 11:57 AM
>> *To:* Bill Wandel <bill at bwandel.com>
>> *Cc:* Alan Sinclair <anadem at gmail.com>; WiX Toolset Users Mailing List <
>> wix-users at lists.wixtoolset.org>
>> *Subject:* Re: [wix-users] msiexec on ARM?
>>
>>
>>
>>   sorry, I think I asked a stupid question so please ignore!
>>  .. it's too long since I did this stuff, need to immerse myself again
>>
>> On Mon, Oct 28, 2019 at 9:28 AM Bill Wandel <bill at bwandel.com> wrote:
>>
>> > I use .NET DTF. What API are you referring to? I am pretty new to WiX.
>> >
>> >
>> >
>> > Bill Wandel
>> >
>> >
>> >
>> > *From:* Alan Sinclair <anadem at gmail.com>
>> > *Sent:* Monday, October 28, 2019 12:02 PM
>> > *To:* Bill Wandel <bill at bwandel.com>
>> > *Cc:* WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
>> > *Subject:* Re: [wix-users] msiexec on ARM?
>> >
>> >
>> >
>> > On ARM do you call any of the WiX API from your DLL?
>> >
>> >
>> >
>> > Rob's reply above:
>> >
>> >  > *we didn't have the ARM SDK to build all the custom action DLLs *
>> >
>> > (viz. "*all*") suggests that some bits just work already.
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Mon, Oct 28, 2019 at 7:22 AM Bill Wandel <bill at bwandel.com> wrote:
>> >
>> > I just tested my installer on both Server 2019 and WIN10 ARM64. It
>> > correctly installed on both. This installer installs x86 services and
>> > applications plus the correct drivers for the particular installation.
>> It
>> > includes a custom DLL for some utility functions plus the driver
>> > installation. ARM64 supports ARM64 applications and x86 applications. It
>> > does not support x64 applications. If your installer is x86 and you are
>> > installing x86 applications, you should be OK. Note that there is an
>> ARM64
>> > msiexec and an x86 msiexec. This is similar to an x64 system where
>> there is
>> > an x64 msiexec and an x86 msiexec.
>> >
>> >
>> >
>> > Bill Wandel
>> >
>> >
>> >
>> > *From:* Alan Sinclair <anadem at gmail.com>
>> > *Sent:* Saturday, October 26, 2019 12:01 PM
>> > *To:* Bill Wandel <bill at bwandel.com>
>> > *Cc:* WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
>> > *Subject:* Re: [wix-users] msiexec on ARM?
>> >
>> >
>> >
>> > thanks Bill, helpful info!
>> >
>> >
>> >
>> > *>   I didn’t do anything special*
>> >
>> >
>> >
>> > Is the custom action DLL specific to ARM, or do you use different C#
>> > source for ARM vs Intel Windows?
>> >
>> > Does the WiX source of your installer have ARM bits vs Intel bits?
>> >
>> >
>> >
>> > thanks again
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Fri, Oct 25, 2019, 7:22 PM Bill Wandel <bill at bwandel.com> wrote:
>> >
>> > Yes, I have a custom DLL in my installer which worked on an ARM64
>> laptop.
>> > I didn’t do anything special. MSIExec on ARM64 might be a 32 bit x86
>> > application. The DLL was built from a C# source so I assume that the
>> > resulting DLL was 32 bit.
>> >
>> > I haven’t tested on that laptop in quite some time. I will try my
>> > installer on it this weekend.
>> >
>> >
>> >
>> > Bill Wandel
>> >
>> >
>> >
>> > *From:* Alan Sinclair <anadem at gmail.com>
>> > *Sent:* Thursday, October 24, 2019 12:25 PM
>> > *To:* Bill Wandel <bill at bwandel.com>
>> > *Cc:* WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
>> > *Subject:* Re: [wix-users] msiexec on ARM?
>> >
>> >
>> >
>> > Rob - Is there an ETA for WiX 4?  (Btw I didn't see any ARM info at
>> > Firegiant.com)
>> >
>> >
>> >
>> > Bill - Did you add custom DLLs to your ARM MSI?
>> >
>> >
>> >
>> > thanks!
>> >
>> >
>> >
>> > On Thu, Oct 24, 2019 at 3:36 AM Bill Wandel <bill at bwandel.com> wrote:
>> >
>> > I have used WiX to build an ARM64 installer.
>> >
>> > Bill Wandel
>> >
>> > -----Original Message-----
>> > From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of
>> Alan
>> > Sinclair via wix-users
>> > Sent: Wednesday, October 23, 2019 3:49 PM
>> > To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
>> > Cc: Alan Sinclair <anadem at gmail.com>
>> > Subject: [wix-users] msiexec on ARM?
>> >
>> > Does the ARM version of Windows 10 include Windows Installer, and if it
>> > does, can WiX build MSIs for it?
>> >
>> > If not, does anyone know of packaging tools for ARM Win 10 ?
>> >
>> > Sorry if this has been discussed before; I've been out of the installer
>> > business for a couple of years, just now been roped in for some contract
>> > stuff. I've tried looking in the list archive but didn't find anything
>> > about
>> > ARM
>> >
>> > Thanks
>> > Alan
>> >
>> > ____________________________________________________________________
>> > WiX Toolset Users Mailing List provided by FireGiant
>> > http://www.firegiant.com/
>> >
>> >
>>
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant
>> http://www.firegiant.com/
>>
>



More information about the wix-users mailing list