Difference between revisions of "Creating an EPrints MSI"

From EPrints Documentation
Jump to: navigation, search
(EPrints MSI Package)
Line 1: Line 1:
[[Category:Installing]]
+
[[Category:Installation]]
  
 
{{Template:version|since=3.2.1}}
 
{{Template:version|since=3.2.1}}
Line 7: Line 7:
 
== Requirements ==
 
== Requirements ==
  
Microsoft Windows XP SP3 or later with .NET.
+
* Microsoft Windows XP SP3 or later with .NET.
 +
 
 +
To build the Zip source package:
 +
 
 +
* Subversion
 +
* Perl + XML::LibXML (see [[Installing EPrints 3 on Win32]])
 +
* [http://gnuwin32.sourceforge.net/packages/zip.htm gnuwin32 zip tool]
  
 
=== WiX ===
 
=== WiX ===
Line 19: Line 25:
 
=== Srvany.exe ===
 
=== Srvany.exe ===
  
Download and install the Windows Server 2003 Resource Kit Tools from http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en.
+
Download and install the [http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en. Windows Server 2003 Resource Kit Tools].
  
 
Once installed copy the srvany.exe file to a convenient location (you can now uninstall the resource kit if you wish to).
 
Once installed copy the srvany.exe file to a convenient location (you can now uninstall the resource kit if you wish to).
Line 27: Line 33:
 
Download the EPrints Win32 installation builder file (eprints-XXX-win32.zip) and unpack it to somewhere convenient. Copy srvany.exe to the unpacked directory (the same location as eprints.wsx).
 
Download the EPrints Win32 installation builder file (eprints-XXX-win32.zip) and unpack it to somewhere convenient. Copy srvany.exe to the unpacked directory (the same location as eprints.wsx).
  
Note: to build the Zip file from EPrints source:
+
To build the Zip file from EPrints source:
  
 
   svn co https://svn.eprints.org/eprints/tools/release
 
   svn co https://svn.eprints.org/eprints/tools/release

Revision as of 14:37, 14 May 2010


Warning This feature requires EPrints version 3.2.1 or later

Note: this page is only for those wishing to build a Win32 installer of the EPrints package. If you wish to install EPrints on Windows see Installing EPrints 3 on Win32.

Requirements

  • Microsoft Windows XP SP3 or later with .NET.

To build the Zip source package:

WiX

Download and install the latest stable version of WiX (3.0 as of writing) from http://wix.sourceforge.net/.

Ignore any errors reported due to missing Visual Studio (we don't need it).

Note: you will need to use the command-line tools from WiX so you may wish to relocate it to somewhere more convenient than Program Files.

Srvany.exe

Download and install the Windows Server 2003 Resource Kit Tools.

Once installed copy the srvany.exe file to a convenient location (you can now uninstall the resource kit if you wish to).

EPrints MSI Package

Download the EPrints Win32 installation builder file (eprints-XXX-win32.zip) and unpack it to somewhere convenient. Copy srvany.exe to the unpacked directory (the same location as eprints.wsx).

To build the Zip file from EPrints source:

 svn co https://svn.eprints.org/eprints/tools/release
 perl makepackage.pl --win32 --zip nightly

Building the MSI

Start a command-prompt and change to the directory you unpacked eprints-XXX-win32.zip to.

If you do not have the WiX tools in your path you will need to prepend the full path to the WiX command-line tools for candle and light

 candle eprints.wsx
 light -ext WixUIExtension eprints.wixobj

You should now have a "eprints.msi" installation package.

To continue installing EPrints follow the instructions at Installing EPrints 3 on Win32.