Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4678 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Just doing some testing of FM12 and looking to make some improvements too (like a good boy should)

Is it possible to run the Scriptmaster JVM or any functions 'elevated' or AsAdministrator on Windows 7?

Depending on your UAC settings the nice man at Microsoft has decided that adding fonts requires permission (!!) and I would like to programatically add any fonts I need for a solution along with the jdbc sql driver into the Java folder.

Getting someone to turn it off, run an FM install file, turn it back on and restart is hardly an option worth it, so just wondering?

Posted

It would require the entire FileMaker application to run as an 'elevated' process, because ScriptMaster runs within that process.

We do this for our installers - we distribute a Windows Installer.exe that is set to run with elevated permissions, and it then launches our Java installer.

Posted

Thanks for the answer Jesse...

Going to have to do a bit more reading then I think.

Posted

I looked at Elevate as a way of getting round things, which works well from the command line

http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/03/27/elevate-a-process-at-the-command-line-in-vista.aspx

I created a batch file on the fly saved to the temp directory to XCOPY the files I want into protected directories.

So then went to run this batch from Run Shell Script.

In FM11 (which is running in Compatibility Mode) it works fine - its a Win7 64bit machine.

In FM12 it gives access denied. It will run the elevated command "e:elevate x.bat", which asks for user to OK the programme

Is there a simple way to get round this at all, and on the fly?

This topic is 4678 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.