[wix-users] WiX NativeImage variable Priority
Joseph L. Casale
jcasale at activenetwerx.com
Wed Sep 20 08:15:25 PDT 2017
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
Of Wim Brosens via wix-users
Sent: Wednesday, September 20, 2017 8:33 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Wim Brosens <Wim.Brosens at realdolmen.com>
Subject: Re: [wix-users] WiX NativeImage variable Priority
> Can you help me out with this CustomAction ? I'm not familiar on how to do
> that ...
I don't know if it would even work, however a test is pretty easy. You need to
create a CA and schedule it in InstallExecuteSequence before InstallValidate.
The CA would access the MSI database write temporary updates to the row.
The first thing to do is move your PI out of the value attribute of the Property
element and into the Priority attribute of the netfx:NativeImage element and
make sure your installation works as expected with the hard coded value.
Take the MSI and inspect it Orca and find the table and row/column you need
to manipulate. In the CA, you will open a view into that table and update the
record with the value you supply at invocation time (NGENPRIORITY). See the
DTF.chm file for guidance on that. Once you get this stubbed out, fire back any
questions. Updating the database has some quirks in its implementation...
jlc
More information about the wix-users
mailing list