Reference/WriteUninstaller: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "=WriteUninstaller= [Path\]exename.exe Writes the uninstaller to the filename (and optionally path) specified. Only valid from within an install section or function, and requir...")
 
mNo edit summary
 
Line 6: Line 6:


<highlight-nsis>WriteUninstaller $INSTDIR\uninstaller.exe</highlight-nsis>
<highlight-nsis>WriteUninstaller $INSTDIR\uninstaller.exe</highlight-nsis>
''Command introduced with NSIS v1.80 (formerly "UninstallExeName")''

Latest revision as of 20:48, 4 June 2013

WriteUninstaller

[Path\]exename.exe

Writes the uninstaller to the filename (and optionally path) specified. Only valid from within an install section or function, and requires that you have an uninstall section in your script. See also Uninstall configuration. You can call this one or more times to write out one or more copies of the uninstaller.

WriteUninstaller $INSTDIR\uninstaller.exe

Command introduced with NSIS v1.80 (formerly "UninstallExeName")