Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Upgrade custom script



Threaded Mode | Print  

 Upgrade custom script, non unzip file (2 Replies, Read 1145 times)
infracom
Group: Member
Post Group: Newbie
Posts: 4
Status:
Hello,

Is there a possibility that during the update, disable unpacking the main file of the script?

Now, when I run the updates, the program automatically extracts the .zip file. I want to just swapped the files from the directory, which will give the file upgrade.php.

My script is called: myscript
.zip File: myscript.zip

When the install script file myscript.zip the extracts. When I do the updates script file myscript.zip too extracts. How to disable the update?

IP: --   

Upgrade custom script
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5640
Status:
Hi,

You can disable unzipping the package during upgrade by adding the following tag to upgrade.xml
Code
<donotunzip>1</donotunzip>


before closing the </softupgrade> tag.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

Upgrade custom script
infracom
Group: Member
Post Group: Newbie
Posts: 4
Status:
Very thanks for your answer :) ))
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 29, 2024, 2:03 am.

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