Can you post some code? This works without problems here.
theAuthorisation is a property of the window. Then I'm using the following for
the first part of the installation:
theAuthorisation = new AuthorizationMBS
theAuthorisation.KeepRights = true
if not theAuthorisation.SimpleNewAuthorization then Return "It wasn't
possible to get authorization for the installation."
dim s(-1) as string
theAuthorisation.Execute(InternalFolder.UnixpathMBS, s, true)
And the second part uses the authorization again:
if theAuthorisation = nil then
theAuthorisation = new AuthorizationMBS
if not theAuthorisation.SimpleNewAuthorization then Return "It wasn't
possible to get authorization for the installation."
end if
dim s(-1) as string
theAuthorisation.Execute(InternalFolder.UnixpathMBS, s, true)
On 14.06.2013, at 20:07, Tim Jones <[email protected]> wrote:
> The issue is that this can cause the dialog to appear 5 times in around 40
> seconds if the user is paying close attention. It makes the app look really
> “sketchy” according to one beta tester.
>
> I’ve set the KeepRights bool to True, but even after calling
> SimpleNewAuthorization checking the “authShell.Authorized” returns false.
>
> I really need to ask once and then only ask again if the system’s
> authorization timeout has occurred.
Mit freundlichen Grüßen/Regards
Trixi Willius
http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info