Difference between revisions of "PaintDotNet"
From WPKG | Open Source Software Deployment and Distribution
m |
|||
Line 6: | Line 6: | ||
*Administrator access | *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) | *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_. | + | *[[Microsoft_.NET_Framework#Microsoft_.NET_Framework_3.5_SP1|.Net framework 3.5 SP1]] |
== Create .msi == | == Create .msi == | ||
Line 13: | Line 13: | ||
Paint.NET.3.5.Install.exe /createMsi CHECKFORUPDATES=1 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=1 | Paint.NET.3.5.Install.exe /createMsi CHECKFORUPDATES=1 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=1 | ||
</source> | </source> | ||
− | 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. | + | 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.msi". |
== Package stanza == | == Package stanza == | ||
Line 24: | Line 24: | ||
priority="5"> | priority="5"> | ||
− | <check type="uninstall" condition="exists" path="Paint.NET v3. | + | <check type="uninstall" condition="exists" path="Paint.NET v3.5" /> |
− | <depends package-id=" | + | <depends package-id="dotnet35" /> |
− | <install cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3. | + | <install cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3.5.msi CHECKFORUPDATES=1 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=1' /> |
− | <upgrade cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3. | + | <upgrade cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3.5.msi CHECKFORUPDATES=1 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=1' /> |
− | <remove cmd='msiexec /qn /x { | + | <remove cmd='msiexec /qn /x {D3E7A2A5-A059-4A44-949B-21FBD371A8B8}' /> |
</package> | </package> | ||
</source> | </source> |
Revision as of 21:53, 10 November 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 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.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.msi".
Package stanza
<package
id="paintdotnet"
name="paintdotnet"
revision="2"
reboot="false"
priority="5">
<check type="uninstall" condition="exists" path="Paint.NET v3.5" />
<depends package-id="dotnet35" />
<install cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3.5.msi CHECKFORUPDATES=1 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=1' />
<upgrade cmd='msiexec /qn /i %SOFTWARE%\paintdotnet\paint.net-3.5.msi CHECKFORUPDATES=1 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 ALLUSERS=1 DESKTOPSHORTCUT=1' />
<remove cmd='msiexec /qn /x {D3E7A2A5-A059-4A44-949B-21FBD371A8B8}' />
</package>