I need to distribute an application that generates a folder-level script for writing to an XFA form. I want to store the script at the app level.
app.getpath("app","JavaScript") returns this folder (on my machine, but some of the other users have later versions): C:\Program Files (x86)\Adobe\Acrobat 9.0\Acrobat\JavaScripts
The problem is that when I try to save the script I get a "Permission Denied" error.
Is there a way to overcome that without resorting to the user javascript folder?