I want to find a way to have an exe installer and an msi installer which are really equivalent to each other, in a sense that I could use the exe to install, and the msi to uninstall, or vice versa. When I create an exe installer and an msi installer in the same Advanced Installer project, this seems not to work. So I found https://www.advancedinstaller.com/extra ... m-exe.html and started to work with the hints from that page.
The exe installer file is 97 MB big and the msi, created from the same project, is 93 MB. I understand the the exe installer has a bit added functionality which explains the difference.
First I used the "/extract" command line switch of the exe installer. This is what I found:
- The extract-to directory must be created before the /extract operation is started, otherwise the directory specification is ignored.
- The operation extracts 3 files: an msi file of 61 MB, a cab file of 7 MB, and the prerequisite file VC_redist.x64.exe of 24 MB. In total, these files are a bit smaller than the msi file which I created directly from the project.
Finally, I started the exe installer and found the extracted msi file in %APPDATA%\<vendor>\<product>\install, alongside a file "holder0.aiph" of 7 MB. The msi is 61 MB large which again is smaller than what I expect to see. Installation from this file didn't find the VC_redist.x64.exe prerequisite and finally complained about missing cab file.
Can you please comment on these items? Is there no way to extract a usable msi file from the exe installer?
I am using AdvancedInstaller 23.6.
Thank you, Hans
FOLLOW US
Get the latest news in Application Packaging