3,217
edits
Changes
WinMerge
,no edit summary
= WinMerge =
Silent install for WinMerge.
WinMerge is an Open Source visual text file differencing and merging tool for Win32 platforms. See [http://winmerge.org/ WinMerge Homepage].
I am using the following unattended configuration:
<presource lang="xml">
<?xml version="1.0" encoding="utf-8" ?>
<packages>
</packages>
</presource>
As you can see I am using a command-script to install WinMerge. Here is the code of the two scripts:
<code>unattended.cmd</code>:<presource lang="dos">
@echo off
start /wait "WinMerge" "%INSTALL_LOC%%BINARY%" /VERYSILENT /SP- /NORESTART
</presource>
<code>unattended-uninstall.cmd</code>:<presource lang="dos">
@echo off
start /wait "WinMerge" "%PROG_FILES%\WinMerge\unins000.exe" /VERYSILENT /SP- /NORESTART
</presource>
As you can see I am using the <code>unattended-uninstall.cmd </code> script to support the %ProgramFiles(x86)% location on Windows x64 editions.
If you do not need to support x64 editions you might simply include the command lines within the XML file:
<presource lang="xml">
<?xml version="1.0" encoding="utf-8" ?>
<packages>
</packages>
</presource>
[[category:Silent Installers]]