This article describes how to repackage your source installation (EXE, MSI, VBS, CMD, etc.) into MSI package using PACE Suite - MSI Generator.
You can find general information about repackaging scenarios in section 3.1 of the PACE Suite Getting Started document.
Review the educational video on how to convert EXE to MSI.
Step-by-step instruction of converting EXE to MSI using the Monitoring capturing method:
- Launch MSI Generator.
- Click Capture installation.
- Review the issues, which were detected on your system, and try to resolve them by closing the non-essential applications and stopping services. Thereafter, click Next>.
- Select the Monitoring method and click Next >.
- Click Next>.
- Click Select and run… to choose your source installation.
- Choose an executable file of the source installation (e.g. 7z1604-64.exe), which you want to repackage and click Open.
- Follow installation steps of the launched source installation to complete it. At this phase you can make any application configuration you need to be captured and included into your package.
- Once the source installation is completed, check if the Detected MSI installations field contains discovered MSI installers. Your source installation (EXE) could contain embedded MSI installers, launched hidden. As you may know, it is not recommended to recapture vendor MSI into MSI, because they could contain custom business logic in binary Custom Actions. This custom logic could not be captured and re-created again in MSI properly. So, if you have the detected MSI installation, cancel the capturing process and switch to editing MSI (described in section 3.6 of the PACE Suite Getting Started document). The detected MSI is copied to the project folder.
In our example, ‘7z1604-x64’ does not have embedded MSI installations, so we go next to complete the capturing process.
- Select the I have finished the installation checkbox and click the Next >.
- Click Finish to complete the wizard.
- (optional) In order to review the captured files and exclude unnecessary ones, go to the Files tab. Select Exclude from the context menu of a file or folder, which does not belong to your application and could not be a part of your package.
- (optional) In order to review the captured registry entries and exclude unnecessary ones, open the Registry tab. Select Exclude from the context menu of a registry entry, which does not belong to your application.
- In order to generate the MSI package from your project, navigate to the Package -> MSI tab, verify Application Details such as name, publisher, version, and click Build MSI.
- Click Go to…, located next to the MSI file name field, to open the package containing folder in Windows Explorer.