Project

General

Profile

Create virtuemart installer » History » Version 3

Akarawuth Tamrareang, 06/17/2011 07:15 PM

1 1 Max Milbers
h1. Create virtuemart installer
2 1 Max Milbers
3 1 Max Milbers
To create a package is very easy.
4 1 Max Milbers
5 1 Max Milbers
Just make a checkout of the complete SVN tree (checkout folder), export the virtuemart directory to another directory (VirtueMart_export folder).
6 1 Max Milbers
7 3 Akarawuth Tamrareang
After that cut the files VirtueMart_export\virtuemart\administrator\components\com_virtuemart\virtuemart.xml , VirtueMart_export\virtuemart\administrator\components\com_virtuemart\install\install.virtuemart.php , VirtueMart_export\virtuemart\administrator\components\com_virtuemart\install\uninstall.virtuemart.php
8 1 Max Milbers
9 3 Akarawuth Tamrareang
and paste it to the installerRoot (virtuemart) folder.
10 1 Max Milbers
11 3 Akarawuth Tamrareang
Zip the folders administrator (backend), components (frontend), language, and the files virtuemart.xml , install.virtuemart.php , uninstall.virtuemart.php. The installer is ready.
12 3 Akarawuth Tamrareang
13 1 Max Milbers
The root directory of the installer should contain the directories
14 1 Max Milbers
15 1 Max Milbers
    * administrator
16 1 Max Milbers
    * components
17 2 Max Milbers
    * images
18 2 Max Milbers
    * language
19 1 Max Milbers
20 1 Max Milbers
and the file
21 1 Max Milbers
22 1 Max Milbers
    * virtuemart.xml 
23 3 Akarawuth Tamrareang
    * install.virtuemart.php
24 3 Akarawuth Tamrareang
    * uninstall.virtuemart.php