<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Development%3AOffline_Moodle_Create_Installer</id>
	<title>Development:Offline Moodle Create Installer - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Development%3AOffline_Moodle_Create_Installer"/>
	<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Offline_Moodle_Create_Installer&amp;action=history"/>
	<updated>2026-05-06T20:49:57Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Development:Offline_Moodle_Create_Installer&amp;diff=11506&amp;oldid=prev</id>
		<title>Олег Давидович: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Offline_Moodle_Create_Installer&amp;diff=11506&amp;oldid=prev"/>
		<updated>2024-10-21T08:52:52Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 08:52, 21 октября 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Олег Давидович</name></author>
	</entry>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Development:Offline_Moodle_Create_Installer&amp;diff=11505&amp;oldid=prev</id>
		<title>1&gt;Colchambers в 14:19, 4 июня 2008</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Offline_Moodle_Create_Installer&amp;diff=11505&amp;oldid=prev"/>
		<updated>2008-06-04T14:19:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To ensure a standard approach to developing offline moodle environments it is important to record and maintain details&lt;br /&gt;
&lt;br /&gt;
=What You’ll Need=&lt;br /&gt;
&lt;br /&gt;
Firstly you&amp;#039;ll need an Offline Moodle environment to go inside your installer in the first place. For details on how to create one check out [[Development:Offline_Moodle_Create_Environment|Creating an Offline Moodle Environment]].&lt;br /&gt;
&lt;br /&gt;
Once you have a working environment you want to begin creating a distributable package, the installer. The easiest way to do this is to use a ready made tool that&amp;#039;ll create the installer for you. The best we&amp;#039;ve found that&amp;#039;s free is the [http://nsis.sourceforge.net/Main_Page NSIS installer]  since it provides a customisable installer package that runs on the windows platform and it’s free. It’s very easy to create an installer using the wizard provided in the nsis edit at http://hmne.sourceforge.net/ &lt;br /&gt;
&lt;br /&gt;
=Creating an Installer=&lt;br /&gt;
Ok, you should now have a working Offline Moodle environment. The next step is to package it up and distribute it. &lt;br /&gt;
&lt;br /&gt;
First you have to decide on the installer you want to package this up with. We chose the NSIS installer from Nullsoft because it’s highly configurable and it’s free. Unfortunately it only works on windows.&lt;br /&gt;
&lt;br /&gt;
==Creating an NSIS script==&lt;br /&gt;
Once you have installed the nsis editor go to ‘file\new script from wizard’ click next &lt;br /&gt;
&lt;br /&gt;
===Application Information===&lt;br /&gt;
then enter the request values. Note that the Application Website field will be used to create an internet shortcut and placed in the same folder as Offline Moodle. It will have the same name as the Application name. We already have an internet shortcut named Offline Moodle that points to http://localhost/moodle which takes a user to Offline Moodle on their machine.  So you might want to leave this empty to avoid overwriting the current file.&lt;br /&gt;
&lt;br /&gt;
Click next&lt;br /&gt;
&lt;br /&gt;
===Setup Options===&lt;br /&gt;
Leave all settings at default. Setup file can be something like Offline Moodle Setup 0.3.exe&lt;br /&gt;
Setup Lang defaults to English&lt;br /&gt;
&lt;br /&gt;
Click next&lt;br /&gt;
&lt;br /&gt;
===Application directory and License===&lt;br /&gt;
Leave with default values except for license file. We use the apache license file at xampp\licenses\apache\LICENSE.txt in the absence of a specific file for Offline Moodle&lt;br /&gt;
&lt;br /&gt;
Click next&lt;br /&gt;
&lt;br /&gt;
===Application Files===&lt;br /&gt;
This part takes a while because we can’t find away to import all the necessary files without letting the nsis installer run through each one. This can take quite a while. &lt;br /&gt;
&lt;br /&gt;
Delete the two example files using the x (Remove file) icon above the file window. Then click the add directory tree icon. It will open a dialogue box titled EditDirectory&lt;br /&gt;
&lt;br /&gt;
Enter the path to the xampp folder containing the xampp and moodle installation you wish to use (Copy and pasting from windows explorer is easiest I find). Leave the defaults and click ok.&lt;br /&gt;
&lt;br /&gt;
The dialogue box will then close and begin importing the many files necessary into the install script you are creating. The program will look as if it is not doing anything and has hung but check your hard drive activity light and you should see a lot of activity. &lt;br /&gt;
&lt;br /&gt;
Once all the files have been imported to the script the file area will list all the files included in the xampp install.&lt;br /&gt;
&lt;br /&gt;
Click next&lt;br /&gt;
&lt;br /&gt;
===Application Icons===&lt;br /&gt;
Enter the Application Start Menu Folder Name.&lt;br /&gt;
&lt;br /&gt;
Leave the defaults. &lt;br /&gt;
Remove the first two shortcuts since we want users to use the portable start menu. &lt;br /&gt;
Change the help.lnk shortcut to point to the readme.htm file &lt;br /&gt;
&lt;br /&gt;
Click next&lt;br /&gt;
&lt;br /&gt;
===Execute after setup===&lt;br /&gt;
You can use these values&lt;br /&gt;
Program: $INSTDIR\setup_xampp.bat&lt;br /&gt;
Readme: $INSTDIR\readme.htm&lt;br /&gt;
&lt;br /&gt;
Click next&lt;br /&gt;
&lt;br /&gt;
===Uninstaller===&lt;br /&gt;
Accept the defaults&lt;br /&gt;
&lt;br /&gt;
Click next&lt;br /&gt;
&lt;br /&gt;
===Wizard Finished===&lt;br /&gt;
Check the save script and compile boxes. Click finish&lt;br /&gt;
&lt;br /&gt;
Enter the path to where you wish the script to be saved and the installer to be created.&lt;/div&gt;</summary>
		<author><name>1&gt;Colchambers</name></author>
	</entry>
</feed>