PyTis NSIS Walker: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(New Tool for generating install and un-install lines)
 
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 10: Line 10:
     Mode 3:  creates a md5Sum list to be used by patch programs.
     Mode 3:  creates a md5Sum list to be used by patch programs.


    Documentation for NSIS can be found at:
        http://NSIS.sourceforge.net/


     PyTis.com, This tool was made by Josh Lee, Copyright 2004-2009
     PyTis.com, This tool was made by Josh Lee, Copyright 2004-2009
-------------------------------------------------------------------------------
 
    USAGE Examples:
 
=== USAGE Examples ===
         app_walker directory [silent] (mode 0 defaluts, output to screen)
         app_walker directory [silent] (mode 0 defaluts, output to screen)
         app_walker -d{directory} -m1 > my_uninstall.nsh
         app_walker -d{directory} -m1 > my_uninstall.nsh
Line 26: Line 25:
     OUTPUT: beta10_md5sum.txt, beta10_install.nsh, beta10_uninstall.nsh
     OUTPUT: beta10_md5sum.txt, beta10_install.nsh, beta10_uninstall.nsh


-------------------------------------------------------------------------------
== Options ==
 
Options:
   -h, --help            show this help message and exit
   -h, --help            show this help message and exit
   -D, --debug          Enable debugging
   -D, --debug          Enable debugging
Line 46: Line 43:


== Links ==
== Links ==
Download Link:<br>http://www.pytis.com/AppWalker.zip
Download Link:<br>http://www.pytis.com/AppWalker.zip<br />
<attach>AppWalker.zip</attach>
<attach>AppWalker.zip</attach>



Revision as of 23:40, 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\DEU CreateDirectory "$INSTVAR\Localization\DEU" SetOutPath "$INSTVAR\Localization\DEU" File "Localization\DEU\Jailbreak.deu"

and

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.