Have your app write files into the users document area instead of a subfolder of the app which will be in the Program Files folder and under restrictions. Part of it might be solved by instructing advanced installer to enforce the user to have administrative permissions.

best
Hans

On 3/1/2014 11:09 AM, natalia Vikhtinskaya wrote:
Thank you all for the help. Finally I understand where is problem. I
created App with runtime embedded. Then I used Advanced Installer
http://www.advancedinstaller.com/ and created installer package.  By
default it installs my app to Program file folder. The App runs but nothing
write on the disk. When the user choose any own folder on the disk for
example c:\myApp then the app writes information on the disk without
problem. Why that I don't know but unfortunately the customer wants
installation process be without choosing other folders by users. It seems
to him very complex. The user should just say "ok" what Installation
process offer.  What  can I do? I tried to find way in Advanced Installer
to change default folder but did not find that possible.  Do you have any
advice?


2014-02-25 0:35 GMT+04:00 erik mattheis <shocking...@gmail.com>:

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 <
natavi.m...@gmail.com
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 <p.ginnebe...@telenet.be>:

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 <d...@dbenman.com>:

  _______________________________________________
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

_______________________________________________
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

Reply via email to