I am working on a project which requires nativeProcess support. For this purpose, I choose the extendedDesktop
profile in AIR settings (Flash cs6). But when I publish the AIR executable, an error pops up saying:
"Descriptor must support one of the following profiles: desktop, mobileDevice, extendedMobileDevice, tv, mobileDeviceBase".
If I add both the Desktop
and the extendedDesktop
profile support to the app then nativeProcess.isSupported()
returns false. Why is that?
0
votes
2 Answers
3
votes
Answering my own question:
It turns out you have to specify the profiles in a certain order. If you want to support Desktop
profile and have ExtendedDesktop
profile capabilities (eg. nativeProcess
) you have to specify it in your application's .xml file like this:
<supportedProfiles>extendedDesktop desktop</supportedProfiles>
Also, when publishing, make sure to choose Output as: Windows Installer or otherwise you won't get nativeProcess
support when you run the installed app.
Further reading: https://forums.adobe.com/thread/699165