I'm trying to check user domain name in Windows, and need native process support.
In the application config xml (xmlns="http://ns.adobe.com/air/application/2.6"
) I have
<supportedProfiles>extendedDesktop desktop</supportedProfiles>
When I run the application with adl everything works, but when I trying to installing the application (*.air package), I get an error that native proccess is not supported. Interesting that when I install the compiled *.exe file, after installation I have native processes support.
But with *.exe installation I have Updater.isSupported == false
, but, when I'm installing with *.air package I have Updater.isSupported == true
.
Looks like when I'm installing *.exe I have profile=extendedDesktop, but when I'm using *.air installation package I have using profile=desktop.
But I need both. Is there any way to solve this problem?
compilation:
echo Creating air application
call g:\flex_sdk\bin\adt.bat -package -storetype pkcs12 -keystore mykey.p12 -storepass simple -tsa none news.air news-app.xml .
echo Compile exe
call g:\flex_sdk\bin\adt.bat -package -target native news.exe news.air