Difference between revisions of "PaintDotNet"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Updated to version 3.36, and added dotnet dependency.)
(Updated unattended link to the official)
Line 34: Line 34:
  
 
== External links ==
 
== External links ==
* [http://www.eecs.wsu.edu/paint.net/doc/2.6/Help/en/UnattendedInstallation.html Paint.NET Help - Unattended installation]
+
* [http://www.getpaint.net/doc/latest/en/UnattendedInstallation.html Paint.NET Help - Unattended installation]
  
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 15:37, 21 January 2009

This is a silent installer and uninstaller for Paint.NET.

Paint.NET is a spiffy image editor for Windows using C#.

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 options you want making sure to add "/createMsi":

Paint.NET.3.36.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.36.msi".

<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
	id="paintdotnet"
	name="paintdotnet"
	revision="2"
	reboot="false"
	priority="5">

	<check type="uninstall" condition="exists" path="Paint.NET v3.36" />
        <depends package-id="dotnet20" />
	<install cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3.36.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.36.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 {43602F34-1AA3-44FB-AEB2-D08C2C73743F}' />
</package>
</packages>


External links