Re: [Flashcoders] Air Windows installed app

2014-02-24 Thread erik mattheis
I'm unsure the status of this or if someone has suggested any of the
following:

Are you saying the app doesn't work when using the installer but works as
expected when copying the app folder somewhere outside of your clients
"Program Files" folder? This will fail with default Windows settings as you
need elevated permissions to change files withing the Program Files
directory.

If this is the case, look into writing the file to the app storage
directory
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.html#applicationStorageDirectoryor
the Documents directory
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.html#documentsDirectory

As to "Unknown Publisher" you need to buy and include a security
certificate in the publish settings:
http://www.adobe.com/devnet/air/articles/packaging-air-apps-desktop.html#articlecontentAdobe_numberedheader


On Mon, Feb 24, 2014 at 1:02 AM, natalia Vikhtinskaya  wrote:

> Not sure I understand how I can use this information in Flash Cs6. I
> created app in this program as Air 3.2 for Desktop. I have only two options
> - Windows Installer and App with runtime embedded.
>
>
> 2014-02-23 16:42 GMT+04:00 Peter Ginneberge :
>
> > You can apply for a license to (re)distribute the Air runtime and then
> > package it with your application.
> > http://help.adobe.com/en_US/air/redist/WS485a42d56cd19641-
> > 70d979a8124ef20a34b-8000.html
> >
> > Or you can include a captive copy of the Air runtime with your
> application.
> > http://www.adobe.com/devnet/air/articles/air3-install-and-
> > deployment-options.html
> >
> > The first option will install the Air runtime with your application, as
> if
> > the user installed it himself, so it's separated from your application,
> > meaning both your application and the Air Runtime can be uninstalled
> > separately.
> >
> > The second options installs both as a bundle. When a user uninstalls your
> > app, the runtime gets uninstalled with it.
> >
> > regards,
> > Peter
> >
> >
> >
> > On 23/02/2014 7:28, natalia Vikhtinskaya wrote:
> >
> >> Thank you for help.
> >>   I try to describe situation better. When I publish app as Windows
> >> installer the user can take my exe file and install app on his pc. On
> >> desktop he has icon after clicking on it he runs app. It plays well but
> >> function "write" nothing do. I use
> >>
> >> newFileStream.openAsync (appFile, FileMode.WRITE);
> >> newFileStream.writeUTFBytes(xmlSets);
> >> newFileStream.close ();
> >>
> >> Yes, the user does not have Air and function that works only in Air does
> >> not work for him. The same installation on my pc works well.
> >> Okay. Next I created Application with runtime embedded. I gave the user
> >> folder with all files that was created by Flash. He puts this folder on
> >> his
> >> pc and run exe file. This works well. Everything writes well. But he
> wants
> >> to have installation process that allow him to install this app as usual
> >> new program. This second way does not give him that. Maybe I can combine
> >> these two ways somehow? This is the first problem.
> >> And additional question. Exe file shows information "Unknown publisher".
> >> How I can change that?
> >>
> >> Thank you for any help. Not much places in net now where we can find
> help
> >> for Flash questions.
> >>
> >>
> >> 2014-02-20 16:26 GMT+04:00 David Benman :
> >>
> >>  ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Erik Mattheis
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Air Windows installed app

2014-02-24 Thread Peter Ginneberge

Easiest way is probably the "app with runtime embedded" option.
And if that is similar to how it works in Flash Builder (Flex), you'll then 
need installer software to create a custom executable.


As stated in the article:

The resulting set of files is a complete AIR application, including a captive 
copy of the AIR runtime. It can then be packaged as an installer using several 
different approaches.



The different approaches are further explained in the article.

On 24/02/2014 8:02, natalia Vikhtinskaya wrote:

Not sure I understand how I can use this information in Flash Cs6. I
created app in this program as Air 3.2 for Desktop. I have only two options
- Windows Installer and App with runtime embedded.


2014-02-23 16:42 GMT+04:00 Peter Ginneberge :


You can apply for a license to (re)distribute the Air runtime and then
package it with your application.
http://help.adobe.com/en_US/air/redist/WS485a42d56cd19641-
70d979a8124ef20a34b-8000.html

Or you can include a captive copy of the Air runtime with your application.
http://www.adobe.com/devnet/air/articles/air3-install-and-
deployment-options.html

The first option will install the Air runtime with your application, as if
the user installed it himself, so it's separated from your application,
meaning both your application and the Air Runtime can be uninstalled
separately.

The second options installs both as a bundle. When a user uninstalls your
app, the runtime gets uninstalled with it.

regards,
Peter

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders