117
edits
Changes
m
Updated to version 3.36, and added dotnet dependency.
The installer will only work while logged into a desktop as an administrator. If you're using WPKG Client or running WPKG over ssh it will fail. To get around this you need to generate an MSI. To do this download the installer and run it with the [http://www.eecs.wsu.edu/paint.net/doc/2.6/Help/en/UnattendedInstallation.html options] you want making sure to add "/createMsi":
Paint.NET.3.3136.exe /createMsi CHECKFORUPDATES=0 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1
This will create a folder called "PaintDotNetMsi" with two files in it: "PaintDotNet.x64.msi" and "PaintDotNet.x86.msi". Copy the "PaintDotNet.x86.msi" to your server as "paint.net-3.3136.msi".
<source lang="xml">
id="paintdotnet"
name="paintdotnet"
revision="2008050212"
reboot="false"
priority="5">
<check type="uninstall" condition="exists" path="Paint.NET v3.3136" /> <depends package-id="dotnet20" /> <install cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3.3136.msi CHECKFORUPDATES=0 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1' />
<install cmd='cmd /c del /q /s "%AllUsersProfile%\Desktop\Paint.NET.lnk"' />
<upgrade cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3.3136.msi CHECKFORUPDATES=0 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1' />
<upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Desktop\Paint.NET.lnk"' />
<remove cmd='msiexec /qn /x {51AFB69C43602F34-1C541AA3-4C7744FB-A888AEB2-2860F8CD3E7DD08C2C73743F}' />
</package>
</packages>