Amend the "Something went wrong during extraction" message
-
So I had a user who, during the sample extraction process targeted C:/Program Files as their sample destination.
This failed with the message :
"Something went wrong during execution" - which isn't really much help - if we are getting a permissions failure - can we please report that?
-
@Lindon I always do a check before extracting to make sure the user has permission.
if (!dir.hasWriteAccess()) return MessageHandler.showMessage("Unwritable Directory", "You do not have write permission for the selected directory. Please choose a different one.", 1);
MessageHandler
is a custom namespace I'm using. -
@d-healey said in Amend the "Something went wrong during extraction" message:
@Lindon I always do a check before extracting to make sure the user has permission.
if (!dir.hasWriteAccess()) return MessageHandler.showMessage("Unwritable Directory", "You do not have write permission for the selected directory. Please choose a different one.", 1);
MessageHandler
is a custom namespace I'm using.yeah nice - but here the application is using the default extraction system. Not my nice (I will check before you do it) installer.....