Uninstalling/installing via package

Post Reply
icesteruk
Posts: 287
Joined: Sun Jan 20, 2013 9:16 pm

Uninstalling/installing via package

Post by icesteruk » Mon Mar 10, 2014 5:49 pm

I have this below working fine but seem to have an error when i do run it.
Code: [show] | [select all] lua
updater.package = "mysystem"

uninstallPackage(Updater.package)

installPackage(Updater.file_path .."/".. Updater.package .. ".xml")
But I recently noticed it always 'installs' the new package after my other script packages so I get errors, Any idea to make this install first? so my other packages load correctly?

At start its,

Mysystem
Myfolder
Colors

When I've ran the uninstall/install package it looks like

Myfolder
Colors
Mysystem...

Any idea on how to fix this? as other than that it works perfect for what im after

User avatar
keneanung
Site Admin
Posts: 94
Joined: Mon Mar 21, 2011 9:36 am
Discord: keneanung#2803

Re: Uninstalling/installing via package

Post by keneanung » Tue Mar 11, 2014 11:25 am


icesteruk
Posts: 287
Joined: Sun Jan 20, 2013 9:16 pm

Re: Uninstalling/installing via package

Post by icesteruk » Tue Mar 11, 2014 5:34 pm

ah, dnot really understand that but I'll look into it more.. thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests