Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Executabel PAR package and write protected folders

by malus_bird (Initiate)
on Dec 07, 2017 at 11:44 UTC ( #1205085=perlquestion: print w/replies, xml ) Need Help??
malus_bird has asked for the wisdom of the Perl Monks concerning the following question:

Hi out there!

I'm a per novice and just a user of the windows version of exiftool, that comes as a executable PAR package.

When executed the first time it unpacks into a par folder in my temp folder and then executes another exiftool.exe that's unpacked into this folder. The temp folder is of course writeable by the login in user.

But I'm on a computer with Microsofts "Software restriction policies" that does not allow to execute programs from writeable folders.

I tried moving the par folder to write a protected folder and set a var. This was the result:

>set PAR_GLOBAL_TEMP="C:\Program Files (x86)\Tools\par" >exiftool exiftool: creation of private cache subdirectory "C:\Program Files (x8 +6)\Tools\par" failed (errno= 22)
It seems exiftool still needs write access to this folder although all needed files already exist.

Any ideas how to solve this?

Thanx for reading,

Replies are listed 'Best First'.
Re: Executabel PAR package and write protected folders
by Anonymous Monk on Dec 07, 2017 at 13:37 UTC
    msdn software restriction policies says

    Software restriction policies use rules to identify one or more software applications, and to specify whether the software is permitted to run. By creating rules, administrators can identify software that is an exception to the default rule.

    go ahead and create exception for exiftool

     

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1205085]
Approved by Corion
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2017-12-18 22:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (500 votes). Check out past polls.

    Notices?