Sitemap

Amicuk Programming Answers

Packaging an AIR application in a native installer

2015-10-11   Views:1

Advertisement

Hi! I'm trying to create a native installer of my AIR Application,  because (I think) it's the only way make the native processes working.  But I have a problem: I used the following command to pack: "adt  -package -storetype pkcs12 -keystore myCert.

Hi! I'm trying to create a native installer of my AIR Application,  because (I think) it's the only way make the native processes working.  But I have a problem: I used the following command to pack: "adt  -package -storetype pkcs12 -keystore myCert.pfx -target native  -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp-app.xml", but I get  the error: "File myApp-app.xml is not a valid AIRI or AIR file". In the  Flash Builder I use as additional compiler arguments:  "-locale=pt_PT,en_UK,fr_FR,de_DE,ro_RO,es_ES  -allow-source-path-overlap=true -source-path=assets" and I add the  source path "src/locale/{locale}/". What is the sintax for packing my  AIR application in a native installer? Thanks in advance.

The replay answer
Advertisement
Hi again! Thanks for the reply. I based myself on the link to see what command syntax I should use to pack my Air Windowed Application and it was the command that I presented in the previous post.
adt version "2.0.1.12090"
                                              My Descriptor File
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/2.0">
<!-- Adobe AIR Application Descriptor File Template.
    Specifies parameters for identifying, installing, and launching AIR applications.
    xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0
            The last segment of the namespace specifies the version
            of the AIR runtime required for this application to run.
    minimumPatchLevel - The minimum patch level of the AIR runtime required to run
            the application. Optional.
-->
    <!-- A universally unique application identifier. Must be unique across all AIR applications.
         Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
    <id>com.MyCompany.Application</id>
    <!-- Used as the filename for the application. Required. -->
    <filename>Production Control System</filename>
    <!-- The name that is displayed in the AIR application installer.
         May have multiple values for each language. See samples or xsd schema file. Optional. -->
    <name>Production Control System</name>
    <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
    <version>2.1.3</version>
    <!-- Description, displayed in the AIR application installer.
         May have multiple values for each language. See samples or xsd schema file. Optional. -->
    <!-- <description></description> -->
    <!-- Copyright information. Optional -->
    <!-- <copyright></copyright> -->
    <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
    <!-- <publisherID>My Company</publisherID> -->
    <!-- Settings for the application's initial window. Required. -->
    <initialWindow>
        <!-- The main SWF or HTML file of the application. Required. -->
        <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
        <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
        <!-- The title of the main window. Optional. -->
        <!-- <title></title> -->
        <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
        <systemChrome>none</systemChrome>
        <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
        <transparent>true</transparent>
        <!-- Whether the window is initially visible. Optional. Default false. -->
        <!-- <visible></visible> -->
        <!-- Whether the user can minimize the window. Optional. Default true. -->
        <!-- <minimizable></minimizable> -->
        <!-- Whether the user can maximize the window. Optional. Default true. -->
        <!-- <maximizable></maximizable> -->
        <!-- Whether the user can resize the window. Optional. Default true. -->
        <!-- <resizable></resizable> -->
        <!-- The window's initial width in pixels. Optional. -->
        <!-- <width></width> -->
        <!-- The window's initial height in pixels. Optional. -->
        <!-- <height></height> -->
        <!-- The window's initial x position. Optional. -->
        <!-- <x></x> -->
        <!-- The window's initial y position. Optional. -->
        <!-- <y></y> -->
        <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
        <!-- <minSize></minSize> -->
        <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
        <!-- <maxSize></maxSize> -->
    </initialWindow>
    <!-- We recommend omitting the supportedProfiles element, -->
    <!-- which in turn permits your application to be deployed to all -->
    <!-- devices supported by AIR. If you wish to restrict deployment -->
    <!-- (i.e., to only mobile devices) then add this element and list -->
    <!-- only the profiles which your application does support. -->
    <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
    <supportedProfiles>extendedDesktop</supportedProfiles>
    <!-- The subpath of the standard default installation location to use. Optional. -->
    <!-- <installFolder></installFolder> -->
    <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
    <!-- <programMenuFolder></programMenuFolder> -->
    <!-- The icon the system uses for the application. For at least one resolution,
         specify the path to a PNG file included in the AIR package. Optional. -->
    <!-- <icon>
        <image16x16></image16x16>
        <image32x32></image32x32>
        <image48x48></image48x48>
        <image128x128></image128x128>
    </icon> -->
    <!-- Whether the application handles the update when a user double-clicks an update version
    of the AIR file (true), or the default AIR application installer handles the update (false).
    Optional. Default false. -->
    <customUpdateUI>true</customUpdateUI>
    <!-- Whether the application can be launched when the user clicks a link in a web browser.
    Optional. Default false. -->
    <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
    <!-- Listing of file types for which the application can register. Optional. -->
    <!-- <fileTypes> -->
        <!-- Defines one file type. Optional. -->
        <!-- <fileType> -->
            <!-- The name that the system displays for the registered file type. Required. -->
            <!-- <name></name> -->
            <!-- The extension to register. Required. -->
            <!-- <extension></extension> -->
            <!-- The description of the file type. Optional. -->
            <!-- <description></description> -->
            <!-- The MIME content type. -->
            <!-- <contentType></contentType> -->
            <!-- The icon to display for the file type. Optional. -->
            <!-- <icon>
                <image16x16></image16x16>
                <image32x32></image32x32>
                <image48x48></image48x48>
                <image128x128></image128x128>
            </icon> -->
        <!-- </fileType> -->
    <!-- </fileTypes> -->
    <!-- iPhone/iPad -specific capabilities -->
    <!-- <iPhone> -->
        <!-- A list of plist key/value pairs to be added to the application Info.plist -->
        <!-- <InfoAdditions>
            <![CDATA[
                <key>UIDeviceFamily</key>
                <array>
                    <string>1</string>
                    <string>2</string>
                </array>
                <key>UIStatusBarStyle</key>
                <string>UIStatusBarStyleBlackOpaque</string>
                <key>UIRequiresPersistentWiFi</key>
                <string>YES</string>
            ]]>
        </InfoAdditions> -->
    <!-- </iPhone> -->
</application>

Go to See the other 7 answers

Packaging an AIR application in a native installer

Category:DefaultRelease time:2015-10-11Views:130

Hi! I'm trying to create a native installer of my AIR Application,  because (I think) it's the only way make the native processes working.  But I have a problem: I used the following command to pack: "adt  -package -storetype pkcs12 -keystore myCert.[More]

Adobe AIR HTML/JS application and Windows Native Installer

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am building an Adobe AIR application with HTML and Javascript and I would like to know how to make an Windows Native Installer. I am trying to build it with Flash Pro but it keeps returning the error 'Invalid SWF file'. At the application.xml f[More]

Adobe AIR Runtime Redistribution and Native Installer

Category:DefaultRelease time:2015-10-11Views:130

Will there be new instructions for Adobe AIR 2.0 Runtime Redistribution? In particular, I'm looking for instructions on how to use the runtime redistribution installer to perform a "side-car installation" of AIR 2 alongside an application that u[More]

AIR File Icon (For Native Installer)

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am generating AIR application as native installer (.exe). I want to have a custom icon for my .exe file. I have specified the icons in application descriptor file as <icon>                     <image16x16>icon...</image16x16>      [More]

Air 2.6 Ubuntu Native Installer Problem

Category:DefaultRelease time:2015-10-11Views:130

Hi, i have a problem creating and native deb installer with Adobe 2.6 with Ubuntu 10.10, when i run this code on terminal: /home/victor/Flex_SDK/Flex_SDK_4.5.0/bin/adt -package -storetype pkcs12 -keystore /home/victor/Certificado.p12 -storepass secre[More]

Hot
Why is my mom getting the error message for province when trying to create iTunes account when providing her credit card information?Hi Nahal, I'm just wondering, is it possible that your Mom (originally) got her credit card in a different province? [More]
I have a Lenovo G560 When I power on, the fan is steady for the first 5 seconds, then it spins faster and stays like that. No output from the screen at all.  External VGA does not present any output either. HDD doesn't spin and nor does the light tur [More]
I have just purchased the photography package on my windows 8 computer and everytime I open photoshop an error message pops up saying that windows has encountered a problem and needs to close the program. I am really frustrated that this is happening [More]
hi, i installed the SunMC agent on server2 and i have already installed the SunMC server on server1 and i assigned the server1 to be SunMC server for the agent of the server2. but when i run "Discover Objects" from my domain , it catch the serve [More]
I had some trouble with my mac yesterday and had to delete everything and do a recovery, now wverything works except from the mail, it crashes everytime I open it.. Is there anything I can do to fix it? Here's the problem report: Process:         Mai [More]
I think I put everything in the question. I got a touch, then an iphone. Now when I connect my touch there is no "on this ipod" tab in the toolbar. How can I get it back?Perhaps you are talking about the Sidebar? If so, to show the Sidebar, choo [More]
I'm currently using iPhoto v5.0.4 and Panther 10.3.9, and am fairly new to both. My question is how can I get iPhoto to stop automatically opening and loading my photos into it when I insert my memory stick into the card reader attached to my Mac min [More]
For home sharing do you have to use one apple ID? Im trying to make my own new account for all my devices (iphone, ipad, mac) , but i still want the music from my dads account.For home sharing do you have to use one apple ID? Im trying to make my own [More]
I have been trying for months to sync my iPhone mail, contacts and calendars with Microsoft Outlook (Office Standard 2007). Now I find a new "Outlook" account in my iPhone email. I need to remove that Outlook (a new Microsoft email program?) and [More]
Dear Sir, please any one can answer me as soon as possible its very urgent WEB BASED MAPPING APPLICATION TO DEVELOP QUERY UTILITY USING MAPVIEWER I     As oracle mapviewer Chapter 8 (Oracle Maps) says generating our own Web based mapping application [More]