If my extension has two OCMod XML files, is there any way to make the opencart extension installer install both of them using a single OCMod ZIP file?
The main OCMod is copied as install.xml in the OCMod ZIP file. I don't want to merge both of them into one single xml because of reusability of second file. If I keep the second file inside upload\system folder, opencart does not allow writing to system folder.
Below possibilities are already considered and client did not approve them
- Install them as two separate ZIP files
- Make system folder writeable
No. The two options you provided are fine. If your client doesn't approve them then they are out of luck.