0
edits
Changes
added install switches
<depends package-id="dotnet35" />
<variable name="PKG_VERSION" value="3.5.10" /> <variable name="PKG_REG_VERSION" value="3.60.0" /> <variable name="PKG_EXE_VERSION" value="3.510.4297.28970" /> <variable name="PKG_INSTALL_SWITCH" value="ALLUSERS=1 DESKTOPSHORTCUT=0 CHECKFORUPDATES=0" />
<check type="uninstall" condition="versiongreaterorequal" path="Paint.NET v%PKG_VERSION%" value="%PKG_REG_VERSION%" />
<check type="file" condition="versiongreaterorequal" path="%ProgramFiles%\Paint.NET\PaintDotNet.exe" value="%PKG_EXE_VERSION%" />
<install cmd='MsiExec /passive /i "%SOFTWARE%\Paint.Net\Paint.NET.%PKG_VERSION%.Install_%PROCESSOR_ARCHITECTURE%.msi"%PKG_INSTALL_SWITCH%'/>
<upgrade include="install"/>