Finished doc port

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1029 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
rainwater 2002-09-18 17:29:05 +00:00
parent 7935b25161
commit 4217925650
6 changed files with 319 additions and 1 deletions

12
Docs/src/usection.but Normal file
View file

@ -0,0 +1,12 @@
\C{UninstallSection} Uninstall Section
A special Section named 'Uninstall' must be created in order to generate an uninstaller. This section should remove all files, registry keys, etc that were installed by the installer, from the system. Here is an example of a simple uninstall section:
\c Section "Uninstall"
\c Delete $INSTDIR\Uninst.exe ; delete self (see explanation below why this works)
\c Delete $INSTDIR\myApp.exe
\c RMDir $INSTDIR
\c DeleteRegKey HKLM SOFTWARE\myApp
\c SectionEnd
The first Delete instruction works (deleting the uninstaller), because the uninstaller is transparently copied to the system temporary directory for the uninstall.