Jump to content

Install from Scheduled Task fails with "acess denied"


Recommended Posts

Hi,

id like to Install PDN automatically via Win 10 Task Scheduler. It seems not to be possible.

 

in pdnSetupShim:

OurCreateProcess: CreateProcessW() returned FALSE, error = 5

 

i tried without switches and also /auto and /createmsi

The Task will be run from an Administrator account "interaktive" "highest privileges". Even disabling UAC approval mode doesnt help.

 

The Installer wont continue  if startet from a task Scheduler process.

Any Ideas?

best regards

Markus

Link to comment
Share on other sites

Has this worked on previous versions? What version of Windows? And why are you using a scheduled task?

 

If you're doing a deployment across many machines, have you thought about using an MSI ? https://www.getpaint.net/doc/latest/UnattendedInstallation.html

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

I tried paint.net.4.0.13.install.exe and paint.net.4.0.14.install.exe the only difference is in pdnSetupShim.log.

4.0.13:

Launching paint.net installer. bRebootRequired=false
Done. nReturnVal=-1
Sleep(1000)
--- Exiting, nReturnVal=ffffffff

4.0.14:

Launching paint.net installer. bRebootRequired=false
OurCreateProcess: CreateProcessW() returned FALSE, error = 5
OurCreateProcess: dwRetVal = -1
Done. nReturnVal=-1
Sleep(1000)
--- Exiting, nReturnVal=ffffffff

 

 

It is Windows 10 , 1067 64bit.

 

The scheduled task is to provide some sort of an auto update process for a golden master template.

 

a better alternative if i could use the builtin updater in an automated way. is this possible?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...