How to extract a WiX Toolset package

When working with application installations you often wan’t to use .msi files instead of .exe files.
Sometimes vendors make .exe packages with .msi files.

Often they can be extracted with 7-Zip or they will be extracted to %temp% folder when started.

But some times you will see files that are not extracted so easy.

If you see something like this in the setup log file.
[2FBC:4F94][2020-02-20T10:32:22]i001: Burn v3.11.1.2318, Windows v10.0 (Build 18363: Service Pack 0), path: C:\Users\FREDRI~1\AppData\Local\Temp{131D7831-33BA-4595-8E96-DD7FC2B9DC4E}.cr\PBIDesktopSetup_x64 (6).exe

Then the setup file was generated with the WiX Toolset.
You can see that by the first thing after [2FBC:4F94][2020-02-20T10:32:22]i001:
Burn v3.xx.xxxx

Extracting a WiX Toolset installation .exe package is easy.
Just use dark.exe from the WiX Toolset.

C:\Program Files (x86)\WiX Toolset v3.11\bin\dark.exe c:\temp\PBIDesktopSetup_x64.exe -x c:\temp\PowerBITemp

In the AttachedContainer folder there will ba an .msi file.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.