flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Madsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-34446) Common windows installer error
Date Fri, 10 Oct 2014 19:42:34 GMT

     [ https://issues.apache.org/jira/browse/FLEX-34446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Neil Madsen updated FLEX-34446:
-------------------------------
    Attachment: patch-FLEX-34446.diff

What I did was to add a check as soon as the user selects a directory to install into (via
Browse Button). It tries to write a small text file to the directory and if it fails it shows
the error message "The selected directory requires Administrator rights to write files" (ERROR_DIR_REQUIRE_ADMIN_RIGHTS
in en_US.properties). The wording may need to be adjusted.

This allows the user to select a new directory to install into rather than getting to the
options screen, selecting the checkboxes and clicking next only to receive the message "Unable
to create temp directory".

The check also happens when the user clicks on the "Next Button" in case the user has typed/pasted
in the location rather than use the browse button. In either case it will allow the user to
select a new location to install.

It could be argued that both checks aren't needed but I chose to put it in both locations
so the user will get instant feedback if they use the browse button which is the most likely
way users will enter the directory location.

> Common windows installer error
> ------------------------------
>
>                 Key: FLEX-34446
>                 URL: https://issues.apache.org/jira/browse/FLEX-34446
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: InstallApacheFlex, Installer
>            Reporter: Justin Mclean
>         Attachments: patch-FLEX-34446.diff
>
>
> A large number of SDK installs on windows fail with a  "Unable to create temporary directory"
error.
> Work out a way to detect this error and inform the user to work around it. (i.e. run
the installer as admin or select a directory you have permission to create/write to).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message