Development:Windows Installer: Difference between revisions
Line 16: | Line 16: | ||
=== Create an icon === | === Create an icon === | ||
In order to create an icon for the executable files you can use SnIco Edit. You need to save your icon as a .ico file. | |||
=== Create an executable file === | === Create an executable file === |
Revision as of 07:51, 12 May 2008
WAMP: xampp
Moodle folders
All moodle files must be located in server/moodle/
'Start/Stop Moodle.exe'
Windows Installer package come with two root executable files. 'Start Moodle.exe' sets up the Xampp environment and launch Apache and Mysql processes. 'Stop Moodle.exe' stop the two processes. This section explains how to create these two executable files.
Create a batch file
'Start Moodle.exe'
This batch file readjusts, if needed, apache/mysql paths to the new location in hard disk. Then it launchs Apache and Mysql processes.
'Stop Moodle.exe'
This batch file stops the apache and mysql process.
Create an icon
In order to create an icon for the executable files you can use SnIco Edit. You need to save your icon as a .ico file.
Create an executable file
Resources
You can find all resources in CVS: http://cvs.moodle.org/contrib/tools/m4w_builder/bin/
- SnIco Edit: create/edit your .ico icon file.
- Bat to Exe Converter: convert a .bat file into a .exe file.
- Inno Setup: create a Windows Installer software. (setup.exe)