I/O Error on Windows Mobile

M
Mel
Celadon Trucking Services

Receive error when installing an updated package as version 2.0. Package set to overwrite the old files or if they do not exist.  Figured out many long ways around this issue (remove lock down option from profile, manually delete old files, etc), but too time consuming for the number of devices.  Can you provide a script that will remove the files from the scanner before the updated package is installed?

5 years ago
Windows
ANSWERS
J
JCMOD@SOTI Platinum Contributor
5 years ago

Hi Mel,

Thank you for posting on SOTI Central,

If you want to delete files prior to a package installing on your Windows Mobile Device, I advise you use the PREI.CMD [2] function within Package Studio. We have the option of performing script execution before and after installation of the package payload. The PREI.CMD is "Pre Installation" and within there you could use commands available in [1].

References: 

[1] https://www.soti.net/mc/help/v15.2/en/scriptcmds/reference/windowsmobile.html

[2] https://www.soti.net/mc/help/v15.2/en/packagestudio/reference/dialogs/new_package_project/add_scripts.html

Regards,