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!

scott97777
Posts: 1
Joined: Mon Jul 24, 2017 8:47 pm

Installing MySQL Community Web Installer as a prerequisite

I'm trying to install MySQL Community Web installer as a prerequisite for a project that I'm building.

I've tried installing it as a regular prerequisite, but the .msi file doesn't wait until it is finished installing to return back to the parent process. I've also tried setting up a powershell script as a post finish dialog stage script to run.

My powershell parameter is:
[#mysqlinstallerwebcommunity5.7.19.0.msi]

My powershell script is:
# Block for declaring the script parameters.
Param($msiFile)

# Your code goes here.
$cmd = "& " + $msiFile
invoke-expression $cmd

It isn't giving any errors, but it isn't running the installer either.

I don't wan to use the full installer because it is 300+ MB, and I'd rather not make my installer that much bigger.

Any suggestions?

Thanks for any help
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Installing MySQL Community Web Installer as a prerequisite

Hello,

This behaviour is triggered by the design of your prerequisite's web installer.

In order to overcome this issue you could use our URL Based prerequisite feature along with the large setup (the one that is 300+ mb). In this way, the prerequisite will not be included in your package, but it will be downloaded at install time on the target machine.

You could use the following URL for for MySQL Installer Community 5.7.19.0 prerequisite:

Code: Select all

https://cdn.mysql.com//Downloads/MySQLInstaller/mysql-installer-community-5.7.19.0.msi
Please take a look on my attached sample project configured for your scenario.

Best regards,
Sorin
Attachments
Your Application.aip
(14.09 KiB) Downloaded 351 times
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”