Tip:
Highlight text to annotate it
X
SU_TITLE
.
AppleApplicationSupport.msi AppleMobileDeviceSupport.msi AppleMobileDeviceSupport64.msi Bonjour.msi
Bonjour64.msi SetupAdmin.exe
iPhoneConfigUtility.msi
function InstallAMDS() {
return(!productInVersionRange("Apple Mobile Device Support", "5.1.1.0", "255.255.65535"));
}
function InstallAMDS32() {
return ( !isOS64() && InstallAMDS() );
}
function InstallAMDS64() {
return ( isOS64() && InstallAMDS() );
}
function InstallBonjour() {
return(!productInVersionRange("Bonjour", "3.0.0", "255.255.65535"));
}
function InstallBonjour32() {
return ( !isOS64() && InstallBonjour() );
}
function InstallBonjour64() {
return ( isOS64() && InstallBonjour() );
}
function InstallAAS() {
if ( productInVersionRange("Apple Application Support", "2.1.7", "255.255.65535") )
{ return false;
} return true;
}
function visibleCheck() {
// require Apple Software Update 2.1.3 or later to be installed
if( !productInVersionRange("Apple Software Update", "2.1.3", "255.255.65535") )
{ return false;
}
// require NET Framework 3.5 with SP1 or later to be installed
if ( !validNETFrameworkInstalled() ) {
return false; }
var ipcuPath = ASURegistryQueryStringValue("HKEY_LOCAL_MACHINE", "SOFTWARE\\Apple Inc.\\iPhone Configuration
Utility", "InstallPath"); if ( !ipcuPath )
{ return false;
}
// require ipcu greater than to 2.1.x var ipcuVersion = ASURegistryQueryStringValue("HKEY_LOCAL_MACHINE",
"SOFTWARE\\Apple Inc.\\iPhone Configuration Utility", "Version");
if ( !ipcuVersion ) {
return false; }
if ( (compareVersionStrings(ipcuVersion, "2.1.255.65535") == 1) && (compareVersionStrings(ipcuVersion,
"3.5.0.0") == -1)) {
return true; }
//System doesn't meet our conditions return false;
}
function isOS64() {
var PROCESSOR_ARCHITECTURE_AMD64 = 9; var PROCESSOR_ARCHITECTURE_IA64 = 6;
var procArch = OSArchitecture();
return ( procArch == PROCESSOR_ARCHITECTURE_AMD64 || procArch == PROCESSOR_ARCHITECTURE_IA64
); }
function validNETFrameworkInstalled() {
// Check is NET framework 3.5 with at least SP1 is installed.
var is35Installed = ASURegistryQueryDWORDValue("HKEY_LOCAL_MACHINE", "SOFTWARE\\Microsoft\\NET Framework Setup\\NDP\\v3.5",
"Install"); var servicePackNum = ASURegistryQueryDWORDValue("HKEY_LOCAL_MACHINE",
"SOFTWARE\\Microsoft\\NET Framework Setup\\NDP\\v3.5", "SP");
return (is35Installed && (servicePackNum >= 1));
}
function productInVersionRange(productName, minVersion, maxVersion)
{ var i = 0;
var productIndex;
do {
productIndex = system.ASUEnumerateProducts(i++); if (!productIndex) {
break; }
var foundName = system.ASUGetProductInfo(productIndex,"ProductName");
system.log("found product: " + foundName);
if (foundName == productName) {
var foundVersion = system.ASUGetProductInfo(productIndex,"VersionString");
system.log("version of " + foundName + " is: " + foundVersion);
return(versionInRange(foundVersion, minVersion, maxVersion));
}
} while(productIndex);
// they do not already have it, but should get it
if(minVersion == "0.0.0.0.0") {
return true; }
// otherwise, we require a minimum version return false;
}
function versionInRange(testVersion, minVersion, maxVersion)
{ if ((-1 != compareVersionStrings(testVersion,
minVersion)) && (1 != compareVersionStrings(testVersion, maxVersion)))
return true; else
return false; }
function compareVersionStrings(string1, string2) {
var parts1 = string1.split("."); var parts2 = string2.split(".");
while(parts1.length < parts2.length) parts1[parts1.length] = "0";
while(parts2.length < parts1.length) parts2[parts2.length] = "0";
for( var i in parts1 ) {
var sub1 = 1*parts1[i]; var sub2 = 1*parts2[i];
if( sub1 != sub2 ) {
if( sub1 > sub2 ) return 1;
else return -1;
} }
return 0; }
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial}
La Utilidad Configuración iPhone
le permite crear, mantener, encriptar e instalar fácilmente perfiles de configuración, supervisar
e instalar perfiles de datos y aplicaciones autorizadas, y capturar información de dispositivos
(incluidos los registros de consola).
Los perfiles de configuración son archivos XML que contienen políticas
de seguridad de dispositivos, información de configuración de la red VPN, ajustes Wi-Fi,
ajustes APN, ajustes de cuenta Exchange, cuentas de correo y certificados que permiten utilizar
el iPhone y el iPod touch en sus sistemas empresariales.
'; ]]>