Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Custom Package - Two Zips?



Threaded Mode | Print  

 Custom Package - Two Zips? (1 Replies, Read 1164 times)
earthgirlhosting
Group: Member
Post Group: Newbie
Posts: 12
Status:
Is there a way to have 2 zips in a custom package? I have the main software, which basically stays the same, but then I have a secondary extension that has frequent updates.  It would be great if I could just upload the changed script as needed rather than the entire archive.

Thanks
IP: --   

Custom Package - Two Zips?
salman
Group: Webuzo Team
Post Group: Working Member
Posts: 210
Status:
Hi,

Yes you can keep two zips in custom package so the zip with
softname(same as the package name) will be unzipped by default but the
second zip which could be your main.zip so you will have to unzip it in
install.php under function  __install(), here is the following code you
have to add:

PHP Code

 if(!sunzip($software['path'].'/main.zip'$__settings['softpath'], 1)){
$error[] = 'could not decompress';




You can also refer the following guide:

http://www.softaculous.com/docs/Making_Custom_Package#Explanation_of_Important_functions

Please let us know if you need any further information.

Edited by Moderator : January 23, 2017, 2:57 pm
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 3:48 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.027