PyTis NSIS Walker: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
Line 1: Line 1:
====== NSIS 2.45 Application Walker
NSIS 2.45 Application Walker


         The app walker will create output to be used in .nsh includes for
         The app walker will create output to be used in .nsh includes for
Line 53: Line 53:
'''Updated for NSIS version:''' 2.4.5
'''Updated for NSIS version:''' 2.4.5


== Program generates lines such as ==
== Program generates lines such as:
 
        ;- Localization\      
;- Localization\DEU
        CreateDirectory "$INSTVAR\Localization\DEU"
CreateDirectory "$INSTVAR\Localization\DEU"
        SetOutPath "$INSTVAR\Localization\DEU"
SetOutPath "$INSTVAR\Localization\DEU"
        File "Localization\DEU\Jailbreak.deu"
File "Localization\DEU\Jailbreak.deu"
        Delete "$INSTVAR\Maps\JB-Pagoda.ut3"
Delete "$INSTVAR\Maps\JB-Pagoda.ut3"
        RmDir "$INSTVAR\Localization"
RmDir "$INSTVAR\Localization"





Revision as of 23:44, 24 August 2009

NSIS 2.45 Application Walker

       The app walker will create output to be used in .nsh includes for
   the NSIS (Nullsoft Scriptable Install System).  The .nsh files can then be
   included in the install and un-install sections.
   Mode 1:  creates the install lines
   Mode 2:  creates the uninstall lines
   Mode 3:  creates a md5Sum list to be used by patch programs.


   PyTis.com, This tool was made by Josh Lee, Copyright 2004-2009


USAGE Examples

       app_walker directory [silent] (mode 0 defaluts, output to screen)
       app_walker -d{directory} -m1 > my_uninstall.nsh

app_walker -dNSIS -m1 > C:\installer\uninstall.nsh (scanned the alpha9 directory)

   OUTPUT: scanned directory NSIS created file C:\installer\uninstall.nsh

app_walker alpha9 -oalpha9 -F (scanned the alpha9 directory)

   OUTPUT: alpha9_md5sum.txt, alpha9_install.nsh, alpha9_uninstall.nsh

app_walker -obeta10 -F (scanned the beta10 directory)

   OUTPUT: beta10_md5sum.txt, beta10_install.nsh, beta10_uninstall.nsh

Options

 -h, --help            show this help message and exit
 -D, --debug           Enable debugging
 -A, --all             Run all modes, over-rides -m, outputs to a file and
                       will auto-select name if not provided.
 -d DIRECTORY, --directory=DIRECTORY
                       The folder to walk
 -f, --force           Force Remove (for Uninstall mode)
 -i, --iterate         Only itterate, non-recursive
 -m MODE, --mode=MODE  0=Install (default), 1=Uninstall
 -o OUTFILE, --outfile=OUTFILE
                       Output filename only specify a file name a suffix and
                       extension are automatically added.
 -s, --silent          Do not print anything, even errors.
 -V INSTVAR, --instvar=INSTVAR
                       Install variable (default $INSTDIR\)

Links

Download Link:
http://www.pytis.com/AppWalker.zip
AppWalker.zip (1902 KB)

Forum thread


Description

Version: 2.0
Updated for NSIS version: 2.4.5

== Program generates lines such as:

       ;- Localization\        
       CreateDirectory "$INSTVAR\Localization\DEU"
       SetOutPath "$INSTVAR\Localization\DEU"
       File "Localization\DEU\Jailbreak.deu"
       Delete "$INSTVAR\Maps\JB-Pagoda.ut3"
       RmDir "$INSTVAR\Localization"


Is designed to be used from the command line, but may be used by double clicking on, and it will open a command prompt.