jstuardo
Posts: 88
Joined: Mon Nov 09, 2015 10:44 pm

Patch for .exe file

Hello,

How can I create a patch when installer file is an exe? I have AI 12.1

Thanks
Jaime
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Patch for .exe file

Hello Jaime,

In order to create a patch for a .EXE file, you will need to extract the .MSI from both the upgraded and old version and use those in order to create a patch. Here are few things you should keep in mind while doing this:
  • create a new version of your .EXE file by increased its version, but keeping the same ProductCode
  • normally, a patch will require the target MSI file during installation. Since our .EXE file deletes the MSI and CAB file by default, please go to "Builds" page and make sure the "Do not delete extracted MSI and CAB files" option is checked
  • after configuring the Patch project, please go to "Build" page (in the Patch project) --> "Bootstrapper" tab --> check the "Use EXE"
The MSI can be extracted out of the EXE file by using the following commandline:

Code: Select all

setup.exe /extract
In addition to what's written above, please have a look on our "Creating Patches" article which I think you may find useful.

Hope this helps.

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

Return to “Building Installers”