Difference between revisions of "PaintDotNet"
From WPKG | Open Source Software Deployment and Distribution
(Updated unattended link to the official) |
m |
||
| Line 1: | Line 1: | ||
| − | This is a silent installer and uninstaller for Paint.NET. | + | This is a silent installer, upgrader and uninstaller for Paint.NET. |
[http://www.getpaint.net/ Paint.NET] is a spiffy image editor for Windows using C#. | [http://www.getpaint.net/ Paint.NET] is a spiffy image editor for Windows using C#. | ||
| − | + | == Requirements == | |
| − | + | *Administrator access | |
| − | + | *Create a .msi from the .exe (/auto on the .exe will fail if you're using the WPKG Client or running WPKG over ssh and it has no option to run silently either) | |
| + | *[[Microsoft_.NET_Framework#Microsoft_.NET_Framework_2.0|.Net framework 2.0]] | ||
| + | == Create .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": | ||
| + | <pre> | ||
| + | Paint.NET.3.36.exe /createMsi CHECKFORUPDATES=1 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=1 | ||
| + | </pre> | ||
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". | 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". | ||
| − | + | == Package stanza == | |
| − | + | <pre> | |
| − | < | + | |
<package | <package | ||
id="paintdotnet" | id="paintdotnet" | ||
| Line 21: | Line 26: | ||
<check type="uninstall" condition="exists" path="Paint.NET v3.36" /> | <check type="uninstall" condition="exists" path="Paint.NET v3.36" /> | ||
<depends package-id="dotnet20" /> | <depends package-id="dotnet20" /> | ||
| − | <install cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3.36.msi CHECKFORUPDATES= | + | <install cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3.36.msi CHECKFORUPDATES=1 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=1' /> |
| − | + | ||
| − | <upgrade cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3.36.msi CHECKFORUPDATES= | + | <upgrade cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3.36.msi CHECKFORUPDATES=1 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=1' /> |
| − | + | ||
<remove cmd='msiexec /qn /x {43602F34-1AA3-44FB-AEB2-D08C2C73743F}' /> | <remove cmd='msiexec /qn /x {43602F34-1AA3-44FB-AEB2-D08C2C73743F}' /> | ||
</package> | </package> | ||
| − | </ | + | </pre> |
| − | + | ||
| − | + | ||
== External links == | == External links == | ||
Revision as of 14:49, 18 March 2009
This is a silent installer, upgrader and uninstaller for Paint.NET.
Paint.NET is a spiffy image editor for Windows using C#.
Requirements
- Administrator access
- Create a .msi from the .exe (/auto on the .exe will fail if you're using the WPKG Client or running WPKG over ssh and it has no option to run silently either)
- .Net framework 2.0
Create .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=1 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=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".
Package stanza
<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=1 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=1' />
<upgrade cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3.36.msi CHECKFORUPDATES=1 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=1' />
<remove cmd='msiexec /qn /x {43602F34-1AA3-44FB-AEB2-D08C2C73743F}' />
</package>