Unpack WIX Burn bundle
Asked Answered
N

3

9

Is it possible to somehow unpack a bundle? I need to make sure all packages within a bundle are signed correctly...

TIA

Nanette answered 17/1, 2012 at 3:38 Comment(0)
J
18

Dark.exe decompiles bundles; use -x to extract the bits.

Jemma answered 17/1, 2012 at 4:54 Comment(1)
thanks for the tip. the tool works, and it extracts everything... except the bundle engine. my primary goal was checking if the engine is signed correctly. i managed to do that by executing the bundle and locating cached engine in c:\ProgramData\Package Cache\{GUID}\... (in Win7) btw, engine executable is named the same way the bundle is. i found useful info there too - #5628862Nanette
L
4

Run the installer with the argument -layout and it should download or extract (as appropriate) the packages that it contains to the directory the installer is in. You can specify a target directory as a second argument if you wish.

This was tested with a bundle created with version 3.6.2520.0. It is known to be broken on the current weekly release of wix36.exe itself.

Lingwood answered 24/1, 2012 at 18:35 Comment(2)
thanks. looks like it extracts everything except the engine though.Nanette
this doesnt work for me, all it does is to copy the bundle.exe itself. My bundle.exe should and does contain another .exe and an .msi. That's what I want to get out (using wix 3.9 to build it)Displease
J
4

insignia will extract the engine.

insignia -ib Install.exe  -o engine.exe

Then I use signtool to sign the engine then you have to put the engine back into the bundle...

insignia -ab engine.exe Install.exe -o Install.exe

I then sign the whole bundle

Jacklyn answered 1/11, 2013 at 20:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.