NickFair
Posts: 1
Joined: Sun Mar 07, 2021 2:46 am

Extracting MSI from encrypted EXE setup to create a Patch.

Sun Mar 07, 2021 2:52 am

Hello! We are trying to extract the MSI from an all-in-one encrypted EXE setup using the /extract command from command line. It fails to extract for an unspecified reason when it's encrypted, (obviously it hasn't been fed the password), but it extracts just fine when the same setup is unencrypted. This is to be expected. Is there a way to input the password for the encryption, to then extract the msi for an encrypted patch? Am I asking the correct question? Is there an alternate method of doing what I'm looking for?

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Extracting MSI from encrypted EXE setup to create a Patch.

Mon Mar 08, 2021 3:30 pm

Hello and welcome to our forums,

Unfortunately, the "/extract" parameter does not support providing the password for the LZMA Compression.

However, what can be done here is:

- launch the .EXE providing the password, e.g.:

Code: Select all

setup.exe /aespassword:<your_password>
- in "Builds" page --> "Configuration" tab --> check the "Extract Location" from under "Bootstrapper Options"

- go to that location and copy the MSI from there

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”