Changes

WinMerge

184 bytes removed, 17:21, 7 October 2011
WinMerge: Tidied up, but surely there's a simpler way to install 32-bit / 64-bit.
= WinMerge =
Silent install This is a silent installer for WinMerge, an Open Source visual text file differencing and merging tool. See [http://winmerge.org/ http://winmerge.org/].
WinMerge is an Open Source visual text file differencing and merging tool for Win32 platforms. See [http://winmerge.org/ WinMerge Homepage].==WPKG Packages==
I am using the following unattended configuration:
===32-bit or 64-bit===
<source lang="xml">
<?xml version="1.0" encoding="utf-8" ?>
<packages>
<package
reboot='false' >
<check type='uninstall' condition='exists' path='WinMerge 2.10.4.0' />
<install cmd='"%SOFTWARE%\WinMerge v.2.10.4\unattended.cmd"' /> <remove cmd='"%SOFTWARE%\WinMerge v.2.10.4\unattended-uninstall.cmd"' /> <upgrade cmd='"%SOFTWARE%\WinMerge v.2.10.4\unattended.cmd"' />
</package>
</packages>
</source>
As you can see I am using This uses a command-script to install WinMerge. Here is the code of the two scripts:
<code>====unattended.cmd</code>:====
<source lang="dos">
@echo off
</source>
<code>====unattended-uninstall.cmd</code>:====
<source lang="dos">
@echo off
</source>
As you can see I am using This uses the <code>unattended-uninstall.cmd</code> script to support the %ProgramFiles(x86)% location on Windows x64 editions.  ===Just 32-bit===
If you do not need to support x64 editions you might simply include the command lines within the XML file:
<source lang="xml">
<?xml version="1.0" encoding="utf-8" ?>
<packages>
<package
</package>
</packages>
</source>
 
 
===Just 64-bit===
Or with X64 support, and no cmd files:
577
edits