I would like to automate MSI patch generation. Our build needs is the next DiskId
and LastSequence
(or SequenceStart
as input. They can be read from the table Media
with the orca.exe tool and "Transform -> View Patch":
I found this powershell and this post on how to extract values from MSI/MSP files, however, it seems the LastSequence
can only be obtained by opening MSI and MSP file together in orca. How can I read this value automatically (with Powershell preferably)?