How to make your own personalized installation package?

Installation Forum (Inactive)
How to make your own personalized installation package? wit2wit  2016-08-13 03:00
Status: Closed
 
Hello,I installed only Labkey core and Filecontent and audit modules. Publishing package is installed there are many modules,Delete not every module is cumbersome. How to make your own personalized installation package?

Thanks
 
 
adam responded:  2016-08-13 07:29
Standard distribution definitions are in the folder <labkey_root>/server/distributions. You can copy one of those XML files and modify it to create a custom distribution definition. In your case, you probably want to copy standard.xml and remove the modules you don't need. If you name your distribution file "mydist.xml" then you'd create the actual distribution with the command:

   ant dist -Dname=mydist

Note that if you plan to run the distribution on a production server it's very important that you first build the entire server in production mode. See https://www.labkey.org/home/Documentation/wiki-page.view?name=productionBuilds

Adam
 
wit2wit responded:  2016-08-13 20:51
Hi,Adam
After I modify standard.XML as my needs, how to generate a release? Using NSIS?
 
adam responded:  2016-08-14 08:16
If you're modifying standard.xml directly you can invoke the dist target from the <labkey_root>/server folder.

   ant dist -Dname=standard

I should add that if you plan to run the distribution on a production server it's very important that you first build the entire server in production mode. See https://www.labkey.org/home/Documentation/wiki-page.view?name=productionBuilds

Adam
 
wit2wit responded:  2016-08-15 17:32
I don't have a fully distributed concept. Can you provide a step by step guide?
 
Jon (LabKey DevOps) responded:  2016-08-15 22:43
Hello,

Can you provide us with a full description of what you are looking to do? In order to provide you with the most accurate information, having a full description of what you're trying to accomplish, the progress you've made, and what problems you're encountering will allow us to give you the best information possible.

Regards,

Jon