Copy the "meta" folder out of any theme. Navigate to the "updater script" and open it in notepad++. The updater script decides what gets done I.E. wipe caace, wipe data, mount system, extract system, etc......
So you can modify it, if need be, to fit what you are installing with your theme.