[wix-users] MSP->wxs (Dark) and go back
Daniel Żołopa
daniel.zolopa at gmail.com
Tue Nov 1 11:32:24 PDT 2022
Thank you for your answer.
--
danz
wt., 1 lis 2022 o 19:27 Rob Mensching <rob at firegiant.com> napisał(a):
> Correct. Decompilation (dark.exe) exists to help convert existing
> installation packages created by other (non-WiX) tooling into WiX source
> code.
>
>
>
> You can’t take .msps back to source code (they’re diffs between multiple
> MSIs) so there is no decompliation scenario.
>
>
>
> You’re hacking. It can be probably done. But generally I’d recommend,
> “Just build a new version.” YMMV.
>
>
>
> *From:* Daniel Żołopa <daniel.zolopa at gmail.com>
> *Sent:* Tuesday, November 1, 2022 11:21 AM
> *To:* Rob Mensching <rob at firegiant.com>
> *Cc:* WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> *Subject:* Re: [wix-users] MSP->wxs (Dark) and go back
>
>
>
> Thank you for your response. Maybe I'll try to describe the
> original problem.
>
> I have got an old msi installer and a set of msp patches which can be
> installed on the top of this msi.
>
> Msi/msp and content of these are not digitally signed. I have no sources
> for this stack (ups!).
>
>
>
> I need to sign the content of msi/msp, rebuild and sign msi/msp.
>
> Now I have scripts which extract cab from msi, extract cab, analize File
> table sign content, update file size, hashes, build cab, replace cab,
> build msi, sign msi:) it is a long way which shows how complicated msi is.
> Everything works, but I need a similar way to do it with msp.
>
>
>
> As I understand your answer, the "unpack-edit-pack" proces is
> technically possible, but there is no exposed switches/api to do it in
> current implementation am I right?
>
>
>
> --
>
> danz
>
>
>
>
>
>
>
> wt., 1 lis 2022 o 17:13 Rob Mensching <rob at firegiant.com> napisał(a):
>
> It is probably possible somehow but that's not a scenario today.
>
> -----Original Message-----
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of
> Daniel Zolopa via wix-users
> Sent: Tuesday, November 1, 2022 7:51 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Daniel Żołopa <daniel.zolopa at gmail.com>
> Subject: [wix-users] MSP->wxs (Dark) and go back
>
> Hello,
>
> Is there any possibility to get source and binaries from msp, change some
> files e.g. give a digital signature and build to msp?
> First step is simple:
> dark.exe -swall -x wixbin a.mps
>
> How to build msp from source:
> <?xml version="1.0" encoding="utf-8"?>
> <wixOutput type="Patch"
>
> and extracted binaries? Any Pyro magic command line combination?
>
> --
> danz
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
>
More information about the wix-users
mailing list