Hello, looking to install an app update, and I was wondering if there was a script that could allow installation from unknown sources to allow the install, then run a script post install to shut it back off?
Android+
LG G7
Hello, looking to install an app update, and I was wondering if there was a script that could allow installation from unknown sources to allow the install, then run a script post install to shut it back off?
Android+
LG G7
Hello,
I'm not an expert but in the doc of android + no script are available actually ..
In all our device, we have disable this by a profile -> looks at feature control in profile
You can disable it and install, update app without no problem (stage now or profile)
Hi Chi Pham,
In theory, there is a method to do what you're asking, by using the PREI.CMD and POSTI.CMD functionality within Package Studio you could try this:
PREI.CMD
writeprivateprofstring DeviceFeature DisableInstallationFromUnknownSources 0
apply featurecontrol
POSTI.CMD
writeprivateprofstring DeviceFeature DisableInstallationFromUnknownSources 1
apply featurecontrol
Helpful Reference: https://www.soti.net/mc/help/v15.2/en/packagestudio/packages/scripts.html
Let us know how it goes?
Regards,
That's what I was thinking about, running a pre and post installation script and build that around a package. Just wasn't sure what the script would be to turn that switch on/off. I'll give it a go!