35
edits
Changes
m
version 3.5.8
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">
Paint.NET.3.5.78.Install.exe /createMsi CHECKFORUPDATES=0 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=0
</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.
<package
id="paintdotnet"
name="Paint.Net 3.5.78" revision="357358"
reboot="false"
priority="0">
<depends package-id="dotnet35" />
<check type="uninstall" condition="exists" path="Paint.NET v3.5.78" />
<!-- first remove old versions (or it won't upgrade), then install the new version -->
<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' />
<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 {45212F719CF4A37B-750FA8C4-4B9844D7-89318C53-2F35DBE6B66113B9D9594BB2}' />
</package>