Differences between msi and exe installs - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

cecil@coral8.com
Posts: 18
Joined: Mon Oct 27, 2008 11:45 pm

Differences between msi and exe installs

I am producing an msi install and an exe install with different builds using the Project Definition -> Media. The DefaultBuild outputs the msi file and this displays the various desired settings and properties.

However, when I add another build, "ExeBuild", with Bootstrapper "Create EXE setup file" checked, I get an exe build. The MSI Location has "Included in EXE boostrapper" checked so the exe file should contain everything necessary to install. The size of the exe and msi file are about the same.

BUT, when I install using the exe file, it does not appear to apply the various properties to the installation GUI. Specifically, I modify APPDIR with a build version and number and the FolderDlg does not display this modified APPDIR!

After modifying APPDIR with the build version and number, I do not see it getting set back to the default. All of these modifications happen as UI Custom Actions. I believe this is correct since the msi file displays these settings properly.

When using the command line
"install.exe /L*V server.log"
I can see from the debug trace in server.log that APPDIR does indeed get set to the desired value. BUT it displays the default in the FolderDlg! Why?

What am I not understanding about exe file?
cecil@coral8.com
Posts: 18
Joined: Mon Oct 27, 2008 11:45 pm

Re: Differences between msi and exe installs

I stand corrected. The exe log is VERY different from the msi log.

Am I understanding the exe concept correctly in that it wraps the msi to form an executable? If so, then the exe should operate the same as an exe.

I'm even seeing the icon in the WelcomeDlg displaying as about half the width.

I used a commercial msi to exe converter and except for the nag screen, the installation was identical to the msi installation.

What am I not understanding about the exe build in AI?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Differences between msi and exe installs

Hi,

Please note that the EXE bootstrapper simply launches the MSI, it doesn't modify its settings. Most likely the problems you are encountering are caused by the configuration for each build. The settings in the "Install Parameters" page and in the "Global Properties" page are per-build, so you can try making sure that both builds use the same settings. The current build can be changed through the "Build" combo on the toolbar.

If this doesn't solve the problem, please send us the AIP you are using to support at advancedinstaller dot com so we can investigate it.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”