MoonPoint Support Logo


Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals

Advanced Search
Sun Mon Tue Wed Thu Fri Sat

Sun, Mar 05, 2006 11:59 pm

Installation of Advanced Registry Tracer (ART) with wpkg

I wanted to configure wpkg for a silent install of Advanced Registry Tracer (ART) from Elcomsoft. ART is a utility designed for analyzing changes made to the Windows Registry. I couldn't find any information on the developer's site or elsewhere on configuring it for a silent installation, so I looked at the setup.exe file with FileAlyzer. When I listed strings in the file, I saw "Nullsoft" and "NSIS", so I knew it used the Nullsoft Scriptable Install System (NSIS).

NSIS installer used by ART

That installer normally allows you to perform a silent install with the "/s" option and to specify the installation directory with the "/D=dir" option. So I put the following lines in the wpkg packages.xml file to install the software in "C:\Program Files\Utilities\SysMgmt\ART"

  name="Advanced Registry Tracer"

  <check type="uninstall" condition="exists" path="Advanced Registry Tracer" />
  <install cmd='\\server\wpkg\pkg\utilities\sysmgmt\advanced_registry_tracer\setup.exe 
    /S /D=%PROGRAMFILES%\Utilities\SysMgmt\ART'>
    <exit code="0" />
  <remove cmd='"%PROGRAMFILES%\Utilities\SysMgmt\ART\uninstall.exe" /S' />


  1. Unattended, A Windows deployment system: Unattended/Silent Installation Switches for Windows Apps

[/os/windows/software/wpkg] permanent link

Sun, Mar 05, 2006 10:53 am

BASH Variables

Some useful variables available in the BASH shell.



if [ $# -eq 0 ]
  echo "Usage: $0 filename"
  wc -l $1

The script first checks for whether any argument has been entered on the command line, i.e. whether $# equals zero. If no arguments are present on the command line, the script prints a usage message. The $0 variable holds the name of the script itself. If an argument is entered on the command line, it is presumed to be a filename and the wc command is called to count the number of lines in the file.

So, if the script is named "example", and is called without any options, then the following output would be printed.

# ./example
Usage: ./example filename

If a filename is entered on the command line and that file has 21 lines in it, the following would be printed.

# ./example sample.txt
     21 sample.txt


  1. Linux Shell Programming

[/os/unix/bash] permanent link

Once You Know, You Newegg AliExpress by

Shop Amazon Local - Subscribe to Deals in Your Neighborhood

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo