Difference between revisions of "PaintDotNet"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Updated and switched to use msi)
m (Updated to version 3.36, and added dotnet dependency.)
Line 5: Line 5:
 
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":
 
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.31.exe /createMsi CHECKFORUPDATES=0 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1
+
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.31.msi".
+
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".
  
 
<source lang="xml">
 
<source lang="xml">
Line 15: Line 15:
 
id="paintdotnet"
 
id="paintdotnet"
 
name="paintdotnet"
 
name="paintdotnet"
revision="200805021"
+
revision="2"
 
reboot="false"
 
reboot="false"
 
priority="5">
 
priority="5">
  
<check type="uninstall" condition="exists" path="Paint.NET v3.31" />
+
<check type="uninstall" condition="exists" path="Paint.NET v3.36" />
 
+
        <depends package-id="dotnet20" />
<install cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3.31.msi CHECKFORUPDATES=0 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1' />
+
<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"' />
 
<install cmd='cmd /c del /q /s "%AllUsersProfile%\Desktop\Paint.NET.lnk"' />
  
<upgrade cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3.31.msi CHECKFORUPDATES=0 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1' />
+
<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"' />
 
<upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Desktop\Paint.NET.lnk"' />
  
<remove cmd='msiexec /qn /x {51AFB69C-1C54-4C77-A888-2860F8CD3E7D}' />
+
<remove cmd='msiexec /qn /x {43602F34-1AA3-44FB-AEB2-D08C2C73743F}' />
 
</package>
 
</package>
 
</packages>
 
</packages>

Revision as of 06:08, 13 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