From 39135e4daa13a5e82cf54395cb972f047d319eed Mon Sep 17 00:00:00 2001 From: flizebogen Date: Sun, 16 Mar 2003 06:20:14 +0000 Subject: [PATCH] Added infos about "Add uninstall information to Add/Remove Program" in a new appendix git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2308 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/build.bat | 2 +- Docs/src/usefulinfos.but | 58 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 Docs/src/usefulinfos.but diff --git a/Docs/src/build.bat b/Docs/src/build.bat index 079a9947..50782616 100644 --- a/Docs/src/build.bat +++ b/Docs/src/build.bat @@ -1,4 +1,4 @@ -bin\halibut.exe config.but intro.but tutorial.but usage.but script.but var.but labels.but jumps.but pages.but sections.but usection.but functions.but callback.but attributes.but compilerflags.but basic.but registry.but generalpurpose.but flowcontrol.but file.but uninstall.but misc.but string.but stack.but int.but reboot.but log.but sec.but ui.but langs.but plugin.but compiler.but defines.but modernui.but usefulfunc.but history.but credits.but license.but +bin\halibut.exe config.but intro.but tutorial.but usage.but script.but var.but labels.but jumps.but pages.but sections.but usection.but functions.but callback.but attributes.but compilerflags.but basic.but registry.but generalpurpose.but flowcontrol.but file.but uninstall.but misc.but string.but stack.but int.but reboot.but log.but sec.but ui.but langs.but plugin.but compiler.but defines.but modernui.but usefulfunc.but usefulinfos.but history.but credits.but license.but @copy Contents.html index.html @copy index.html IndexPage.html @copy *.html ..\\ diff --git a/Docs/src/usefulinfos.but b/Docs/src/usefulinfos.but new file mode 100644 index 00000000..0eb62ce7 --- /dev/null +++ b/Docs/src/usefulinfos.but @@ -0,0 +1,58 @@ +\A{usefulinfos} Useful Information + +\H{sads}Add uninstall information to Add/Remove Programs + +Create a key with your product name under \\HKLM/Software/Microsoft/Windows/CurrentVersion/Uninstall\\ to add entries to the "Add/Remove Programs" section in the Control Panel. +For Windows NT (NT4/2000/XP), it's also possible to create the key in the HKCU hive, so it will only appear for the current user. +There are several values you can write to key to give information about your application and the uninstaller. +Write a value using the WriteRegStr command (for strings) or WriteRegDWORD command (for DWORD values). Example: + + +\c WriteRegStr HKLM "Software/Microsoft/Windows/CurrentVersion/Uninstall/Product" "DisplayName" "Application Name" + + +\\Required values\\ + +\e{DisplayName} (string) - Name of the application + +\e{UninstallString} (string) - Path and filename of the uninstaller + +\\Optional values\\ + +Some of the following values will not be used by older Windows versions. + +\e{InstallLocation} (string) - Installation directory ($INSTDIR) + +\e{DisplayIcon} (string) - Path, filename and index of of the icon which will be displayed next to your application name + +\e{Publisher} (string) - (Company) name of the publisher + +\e{ModifyPath} (string) - Path and filename of the application modify program + +\e{InstallSource} (string) - Location where the application was installed from + +\e{ProductID} (string) - Product ID of the application + +\e{RegOwner} (string) - Registered owner of the application + +\e{RegCompany} (string) - Registered company of the application + +\e{HelpLink} (string) - Link to the support website + +\e{HelpTelephone} (string) - Telephone number for support + +\e{URLUpdateInfo} (string) - Link to the website for application updates + +\e{URLInfoAbout} (string) - Link to the application home page + +\e{DisplayVersion} (string) - Displayed version of the application + +\e{VersionMajor} (DWORD) - Major version number of the application + +\e{VersionMinor} (DWORD) - Minor version number of the application + +\e{NoModify} (DWORD) - 1 if uninstaller has no option to modify the installed application + +\e{NoRepair} (DWORD) - 1 if the uninstaller has no option to repair the installation + +If both NoModify and NoRepair are set to 1, the button displays "Remove" instead of "Modify/Remove". \ No newline at end of file