Difference between revisions of "PaintDotNet"
m (Update to 3.5.7) |
m (version 3.5.8) |
||
Line 11: | Line 11: | ||
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": | 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": | ||
<source lang="dos"> | <source lang="dos"> | ||
− | Paint.NET.3.5. | + | Paint.NET.3.5.8.Install.exe /createMsi CHECKFORUPDATES=0 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=0 |
</source> | </source> | ||
This will create a folder on the desktop called "PaintDotNetMsi" with two files in it: "PaintDotNet.x64.msi" and "PaintDotNet.x86.msi". Copy the "PaintDotNet.x86.msi" to your server. | This will create a folder on the desktop called "PaintDotNetMsi" with two files in it: "PaintDotNet.x64.msi" and "PaintDotNet.x86.msi". Copy the "PaintDotNet.x86.msi" to your server. | ||
Line 23: | Line 23: | ||
<package | <package | ||
id="paintdotnet" | id="paintdotnet" | ||
− | name="Paint.Net 3.5. | + | name="Paint.Net 3.5.8" |
− | revision=" | + | revision="358" |
reboot="false" | reboot="false" | ||
priority="0"> | priority="0"> | ||
Line 30: | Line 30: | ||
<depends package-id="dotnet35" /> | <depends package-id="dotnet35" /> | ||
− | <check type="uninstall" condition="exists" path="Paint.NET v3.5. | + | <check type="uninstall" condition="exists" path="Paint.NET v3.5.8" /> |
<!-- first remove old versions (or it won't upgrade), then install the new version --> | <!-- first remove old versions (or it won't upgrade), then install the new version --> | ||
Line 37: | Line 37: | ||
<install cmd='msiexec /qn /x {F0E2B312-D7FD-4349-A9B6-E90B36DB1BD0}'><exit code='any' /></install> | <install cmd='msiexec /qn /x {F0E2B312-D7FD-4349-A9B6-E90B36DB1BD0}'><exit code='any' /></install> | ||
<install cmd='msiexec /qn /x {639673E9-D53F-44F4-A046-485C8A6ADA15}'><exit code='any' /></install> | <install cmd='msiexec /qn /x {639673E9-D53F-44F4-A046-485C8A6ADA15}'><exit code='any' /></install> | ||
+ | <install cmd='msiexec /qn /x {45212F71-750F-4B98-8931-2F35DBE6B661}'><exit code='any' /></install> | ||
<install cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\PaintDotNet.x86.msi' /> | <install cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\PaintDotNet.x86.msi' /> | ||
Line 44: | Line 45: | ||
<upgrade cmd='msiexec /qn /x {F0E2B312-D7FD-4349-A9B6-E90B36DB1BD0}'><exit code='any' /></upgrade> | <upgrade cmd='msiexec /qn /x {F0E2B312-D7FD-4349-A9B6-E90B36DB1BD0}'><exit code='any' /></upgrade> | ||
<upgrade cmd='msiexec /qn /x {639673E9-D53F-44F4-A046-485C8A6ADA15}'><exit code='any' /></upgrade> | <upgrade cmd='msiexec /qn /x {639673E9-D53F-44F4-A046-485C8A6ADA15}'><exit code='any' /></upgrade> | ||
+ | <upgrade cmd='msiexec /qn /x {45212F71-750F-4B98-8931-2F35DBE6B661}'><exit code='any' /></upgrade> | ||
<upgrade cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\PaintDotNet.x86.msi' /> | <upgrade cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\PaintDotNet.x86.msi' /> | ||
− | <remove cmd='msiexec /qn /x { | + | <remove cmd='msiexec /qn /x {9CF4A37B-A8C4-44D7-8C53-13B9D9594BB2}' /> |
</package> | </package> | ||
Revision as of 18:25, 12 March 2011
This is a silent installer, upgrader and uninstaller for Paint.NET.
Paint.NET is a spiffy image editor for Windows using C#.
Contents
[hide]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 3.5 SP1
Create .msi
To do this download the installer and run it with the options you want making sure to add "/createMsi":
Paint.NET.3.5.8.Install.exe /createMsi CHECKFORUPDATES=0 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=0
This will create a folder on the desktop called "PaintDotNetMsi" with two files in it: "PaintDotNet.x64.msi" and "PaintDotNet.x86.msi". Copy the "PaintDotNet.x86.msi" to your server.
Package
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="paintdotnet"
name="Paint.Net 3.5.8"
revision="358"
reboot="false"
priority="0">
<depends package-id="dotnet35" />
<check type="uninstall" condition="exists" path="Paint.NET v3.5.8" />
<!-- first remove old versions (or it won't upgrade), then install the new version -->
<install cmd='msiexec /qn /x {43602F34-1AA3-44FB-AEB2-D08C2C73743F}'><exit code='any' /></install>
<install cmd='msiexec /qn /x {4F77F6EE-2C99-49F7-940A-2E9C208C3BE1}'><exit code='any' /></install>
<install cmd='msiexec /qn /x {F0E2B312-D7FD-4349-A9B6-E90B36DB1BD0}'><exit code='any' /></install>
<install cmd='msiexec /qn /x {639673E9-D53F-44F4-A046-485C8A6ADA15}'><exit code='any' /></install>
<install cmd='msiexec /qn /x {45212F71-750F-4B98-8931-2F35DBE6B661}'><exit code='any' /></install>
<install cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\PaintDotNet.x86.msi' />
<!-- first remove old versions (or it won't upgrade), then install the new version -->
<upgrade cmd='msiexec /qn /x {43602F34-1AA3-44FB-AEB2-D08C2C73743F}'><exit code='any' /></upgrade>
<upgrade cmd='msiexec /qn /x {4F77F6EE-2C99-49F7-940A-2E9C208C3BE1}'><exit code='any' /></upgrade>
<upgrade cmd='msiexec /qn /x {F0E2B312-D7FD-4349-A9B6-E90B36DB1BD0}'><exit code='any' /></upgrade>
<upgrade cmd='msiexec /qn /x {639673E9-D53F-44F4-A046-485C8A6ADA15}'><exit code='any' /></upgrade>
<upgrade cmd='msiexec /qn /x {45212F71-750F-4B98-8931-2F35DBE6B661}'><exit code='any' /></upgrade>
<upgrade cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\PaintDotNet.x86.msi' />
<remove cmd='msiexec /qn /x {9CF4A37B-A8C4-44D7-8C53-13B9D9594BB2}' />
</package>
</packages>
Note: If you already have a previous version of Paint.NET installed you cannot install a new version until you uninstall the old one. You need to know the MSI product code GUID to uninstall the previous version. To find the GUID of the Paint.NET version you currently have installed run C:\Program Files\Paint.NET\PdnRepair.exe and look for the MSI product code GUID.