본문 바로가기

카테고리 없음

Install Mysql Using Inno Setup Review

Setup
  1. Inno Setup Download Free

You can execute the official MySQL setup from inside your setup program. Just like any other exe file. So you just need to add the MYSQL setup.exe to the distribution of your application and run it from inside the Setup of your application.SayShow a form where you ask the user:Do you want to install MySQL server now?Place 2 buttons there, and on 'Yes' do this WinExec(ApplicationPath+' MySQLsetup Filessetu p.exe',SW SHOWNORMAL ). // this is from the head, but you should get the ideea.This way you will run the MySQL official installation from your setup program.Also Setup builders in general have the option.

Something like: execute some program after or before the installation. So you should try them and ask afterRegards. It is possible to copy them of course.

I do not know if it is allowed to do so by MySQL licencing, you should check that out.Did you try the free setup builder applications that I told you about?All of them let you choose some files that your application use, and let you choose a destination folder for each of the files you choose. So there is no big deal doing that.Unless you chose to build your own Setup application. In this case you will probabely want to pack all your files in a rar or zip file (you can do that using free components or comercial), and in setup app runtime unpack these files in a temporary folder, after that just create your folders, write to the registry, and do whatever you need to do with the unpacked files. Just read the CopyFile or CopyFileEx help.' The CopyFileEx function copies an existing file to a new file.

This function preserves extended attributes, OLE structured storage, NTFS alternate data streams, and file attributes. Security attributes for the existing file are not copied to the new file.' - From Win32 Developer's referenceConsider using Jedi VCL components, they have a component that retrieves the system folders paths, such as Windows folder, Program Files folder, and so on.That is.

Inno Setup Download Free

If you consider the fact that the user might have change the default installation of windows.Regards.