Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (17)
As of 2018-07-23 14:01 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (468 votes). Check out past polls.