Specific script for Windows Installer

I have this script, we developed a Windows application and it has a prerequisite for mysql, so we need:

1. Install MySql 2. Create users and get great privileges 3. Create a database 4. Install several exe files 5. Run 3-4 sql scripts.

We want to make one installation, if possible, or a wizard to install only 1, after some research I saw InstallShield and NSIS, but I have 0 experience in mking installations,

Anyone have a suggestion for a solution in this scenario?

0
source share
1 answer

InstallShield can technically accomplish all these things, but I really suggest not trying to do this in the installer. If you look at the installer for large database-dependent products, such as Microsoft Team Foundation Server, you will see that they passed all this to the setup wizard, which starts after installation. The wizard collects all the connection information (the database mechanism may not even be on this computer) and has all the logic to make everything happy, including security and maintenance plans.

0
source

Source: https://habr.com/ru/post/1493133/


All Articles