Difference between revisions of "PaintDotNet"
From WPKG | Open Source Software Deployment and Distribution
m (Update to version 3.5.2) |
(→Package stanza) |
||
| Line 15: | Line 15: | ||
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.5.2.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.5.2.msi". | ||
| − | == Package | + | == Package == |
<source lang="xml"> | <source lang="xml"> | ||
| − | < | + | <?xml version="1.0" encoding="UTF-8"?> |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | <packages> | |
| − | + | <package | |
| − | + | id="paintdotnet" | |
| − | + | name="Paint.Net 3.5.5" | |
| + | revision="355" | ||
| + | reboot="false" | ||
| + | priority="0"> | ||
| + | |||
| + | <depends package-id="dotnet35" /> | ||
| + | |||
| + | <check type="uninstall" condition="exists" path="Paint.NET v3.5.5" /> | ||
| + | |||
| + | <!-- 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 /i \\172.30.35.30\wpkg\software\paintdotnet\PaintDotNetx86.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 /i \\172.30.35.30\wpkg\software\paintdotnet\PaintDotNetx86.msi' /> | ||
| + | |||
| + | <remove cmd='msiexec /qn /x {F0E2B312-D7FD-4349-A9B6-E90B36DB1BD0}' /> | ||
| + | </package> | ||
| − | + | </packages> | |
| − | + | ||
| − | + | ||
| − | + | ||
</source> | </source> | ||
Revision as of 19:56, 26 June 2010
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 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.2.Install.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.5.2.msi".
Package
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="paintdotnet"
name="Paint.Net 3.5.5"
revision="355"
reboot="false"
priority="0">
<depends package-id="dotnet35" />
<check type="uninstall" condition="exists" path="Paint.NET v3.5.5" />
<!-- 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 /i \\172.30.35.30\wpkg\software\paintdotnet\PaintDotNetx86.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 /i \\172.30.35.30\wpkg\software\paintdotnet\PaintDotNetx86.msi' />
<remove cmd='msiexec /qn /x {F0E2B312-D7FD-4349-A9B6-E90B36DB1BD0}' />
</package>
</packages>