Wise Setup.exe Switches
TeamviewerQS unpacking/resource editing. NSIS Files Extraction and Further File Analysis As stated previously, the executable is delivered as Windows Installer, packaged and compressed with NSIS Technology. Now we need to study the structure of this package and carve out all its files. It’s pretty easy to unpack an NSIS Application.
/T test mode
/X pathname extracts files into pathname
/Z pathname extracts files into pathname and reboots
/S silent install
/M prompts for windows, system, temp dirs
/M=filename specifies a value file similar to /d above,
but for standard variables
/M1 same as /m plus it prompts before any file that is self-registered
/M2 reserved for internal use by Wise during debugger sessions
Uninstall (Unwise.exe switches)
/Z remove empty directories, including one with unwise itself in it.
/A automatic mode, no user choices other than cancel.
/S silent mode, automatic mode with no user choices
![Installer Installer](http://nsis.sourceforge.net/mediawiki/images/thumb/c/ca/Extractor.png/300px-Extractor.png)
/R rollback mode, selects option to rollback on uninstall
/U like automatic mode, but gives all choices other than custom/automatic
title window title can be at the end of the command line.
Also note that you can find uninstall commands for over a hundred thousand applications in the Software Knowledge Base.