The problem that I have run into with the latest version of PDN requiring .NET 4.6.1 is the chain.
I have a script install .NET 4.6.1 and after that completes, the script runs the PDN executable installer.
.NET 4.6.1 appears to require a reboot for the install to complete and satisfy the PDN requirements.
dotNet461.exe /passive /norestart
Paintdotnet\setup.exe /auto DESKTOPSHORTCUT=0
//install some other apps
shutdown /r /t 1
.NET goes through the motions and looks to complete the installation. Paint.NET then pops up the dialog box saying "This will install .NET framework 4.6.1 and paint.net." and requires clicking 'ok', defeating the purpose of /auto.
Am I missing something? My current thought is to write the .NET framework registry key that I assume the PDN installer is checking to bluff it past 4.6.1 since the reboot will satisfy everybody, just in a different order.
Thanks!