summaryrefslogtreecommitdiffstats
path: root/Modules/NSIS.template.in
Commit message (Collapse)AuthorAgeFilesLines
* CPackNSIS: Add options to set the bitmap for NSIS installer left sideColin Tracey2015-10-061-0/+2
| | | | | set MUI_WELCOMEFINISHPAGE_BITMAP set MUI_UNWELCOMEFINISHPAGE_BITMAP
* CPack/NSIS: Obtain path from which to uninstall from registry (#14124)David Golub2013-05-021-1/+3
| | | | | | | Without this, when CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL is set, the installer tries to uninstall the old version from the default installation path for the new version, rather than using the path from the registry where the old version is installed.
* CPack/NSIS: Fix compatibility issues with prerelease NSIS (#13202)David Golub2012-11-201-2/+5
|
* NSIS: Fix incorrect uninstall registry key name (#13578)David Cole2012-10-161-1/+1
| | | | Thanks to Alexander for the bug report.
* Remove trailing TAB from NSIS.template.inBrad King2012-08-141-1/+1
| | | | | | This was missed by commit 7bbaa428 (Remove trailing whitespace from most CMake and C/C++ code, 2012-08-13) which only removed trailing spaces, not TABs.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-73/+73
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Merge topic 'fix-9946-uninstall-before-install'David Cole2012-04-251-0/+22
|\ | | | | | | | | fe58b67 Added CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL
| * Added CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALLPatrick Gansterer2012-04-221-0/+22
| | | | | | | | If CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL is set to ON the NSIS installer will look for a previous installed version and ask the user about uninstall.
* | CPack/NSIS: Add CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS (#13085)David Cole2012-04-211-0/+1
|/ | | | | | | | | | Allows custom NSIS commands to run prior to any installation actions. Projects that need to run an uninstaller first, especially one from a non-NSIS previous revision of a project that is NOW using CPack and NSIS, may do so by putting custom NSIS commands into this variable. Inspired-by: David Golub
* CPack: Fix NSIS handling of privileged users (#12923)Mattias Helsing2012-02-011-2/+2
| | | | | | | | | | | | | | | | | | When using the NSIS generator from CPack the file NSIS.template.in is used to generate a project.nsi file for NSIS to process. The file consists code in the NSIS scripting language. Among other functions there is an onInit function the initializes the installer. The function (tries to) recognise admin and power users but fails since NSIS scripting language relative includes the jump from the current command so +3 means "run the third command after this one", so a failed check for admin completely skips the check for a power user and goes directly to "done:". User permission lookup was added in initial NSIS support by commit a11b9a4c (Merge from CPack branch, 2006-01-01). Later commit b1b052fd (Several changes to for NSIS, 2006-03-01) added a line inside a block that should be skipped by a jump without updating the jump length. Update the jump length to correct the behavior.
* CPack/NSIS: Fix reinstall and multiple install issues when using components.Clinton Stimpson2011-07-291-10/+10
| | | | | | | | | | | | | | Fix NSIS template to more thoroughly use CPACK_PACKAGE_INSTALL_REGISTRY_KEY. This allows different versions of software to have a separate sections in the registry to keep track of things (installed components, and uninstall stuff). Change default of CPACK_PACKAGE_INSTALL_REGISTRY_KEY to follow the value of CPACK_PACKAGE_INSTALL_DIRECTORY so if an installation overwrites another installation, the proper registry entries are more likely to be overwritten. Fix CPack/NSIS generator to not insert code in the NSIS template to skip installation of already installed components. This enables a repair like behavior and also enables installing patch releases on top of an older installation.
* Merge topic 'fix-9148-cpack-nsis-installer-root'Brad King2011-01-111-3/+3
|\ | | | | | | | | 5a9e8e7 CPack: Add CPACK_NSIS_INSTALL_ROOT variable (#9148)
| * CPack: Add CPACK_NSIS_INSTALL_ROOT variable (#9148)David Cole2011-01-111-3/+3
| | | | | | | | | | | | | | | | | | | | Control the root directory of the default directory presented to the end user of an NSIS installer by a CPack variable. Previously, the value used in the NSIS script was $PROGRAMFILES, which is equivalent to the "ProgramFiles" environment variable. That default value is still the same, but now a project may override the value by setting this new variable.
* | Add CPack NSIS MUI_FINISHPAGE_RUN support (#11144)Mike McQuaid2011-01-061-0/+1
|/ | | | | | | MUI_FINISHPAGE_RUN is frequently used with NSIS and provides a checkbox on the finish page of an installer which specifies whether the specified executable should be run when the installer exits. This commit adds support for this setting in CPack.
* Fix for bug #10257, NSIS could remove a PATH if it was too longBill Hoffman2010-02-091-0/+9
|
* Fix issue #9011 - eliminate unnecessary uses of CPACK_PACKAGE_INSTALL_DIRECTORY.David Cole2009-12-151-10/+10
| | | | Replace them with CPACK_PACKAGE_NAME. The registry keys involved in this commit are used by Windows to track things in the Add/Remove programs portion of the Control Panel. With '\' characters in the keyname, the calls do not do what they are intended to do and the installed program never shows up in the control panel view. (Details noted in the issue itself.) Thanks to 'killerfox' for the patch.
* Allow for /D to change install directory on the command line.Bill Hoffman2009-10-261-4/+16
|
* Fix issue #8649 - move the location of CPACK_NSIS_EXTRA_INSTALL_COMMANDS so ↵David Cole2009-10-041-2/+2
| | | | that it is not excluded from execution when 'Do not create shortcuts' is checked.
* BUG: Fix issue #8177. Modify the system PATH for all users when requested ↵David Cole2009-09-241-8/+29
| | | | during an NSIS based installer run. Thanks to Bart Janssens for the patch.
* BUG: Re-fix issue #8682. Use new variable CPACK_NSIS_PACKAGE_NAME in ↵David Cole2009-07-161-2/+2
| | | | appropriate places rather than CPACK_NSIS_DISPLAY_NAME. CPACK_NSIS_DISPLAY_NAME is the Add/Remove control panel's description string for the installed package. Using it as the "Name" of the NSIS installer package made the CMake installer itself use really long strings in the installer GUI. This fix still allows for the original intent of the first fix for #8682 -- the ability to separate the installer name from the default install directory, but it uses a new/different variable to achieve the separation.
* BUG: Fix issue #8682. Use CPACK_NSIS_DISPLAY_NAME in appropriate places ↵David Cole2009-04-071-6/+6
| | | | rather than CPACK_PACKAGE_INSTALL_DIRECTORY. Clean separation of these two variables (which have the same value by default) allows an easy workaround for issue #7881, too.
* BUG: remove Catalan as 2.29 does not have itBill Hoffman2008-09-021-1/+0
|
* BUG: Do not use "Default" as a language, remove 2nd occurence of "English", ↵David Cole2008-08-261-7/+3
| | | | and remove three other languages not supported by older versions of NSIS. Tested with version 2.18 of NSIS on gaia.kitware.
* BUG: remove extension from insertsBill Hoffman2008-08-221-56/+56
|
* ENH: sort languages and use list from NSIS 2.22Bill Hoffman2008-08-211-49/+56
|
* BUG: remove some languages that are not supported in older versions of NSISBill Hoffman2008-08-211-4/+0
|
* ENH: try to fix errorBill Hoffman2008-08-201-1/+0
|
* BUG: fix for 7446 NSIS support for other languagesBill Hoffman2008-08-191-1/+55
|
* ENH: Further refinement of the CPack components functionality from Doug Gregor.David Cole2008-07-081-2/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Details: ========== - New cpack_add_component, cpack_add_component_group, and cpack_add_install_type "commands" defined as macros in the CPack module. - Documentation for all of the variables and commands in the CPack module. - Added get_cmake_property(... COMPONENTS) to CMake to ask for the names of all components. Used in the CPack module to automatically build component-based installers. (Set CPACK_MONOLITHIC_INSTALL to turn off component-based installation). - A group can declare its PARENT_GROUP, to build an arbitrary hierarchy of groups. - New CPack command cpack_configure_downloads, which creates an installer that downloads only the selected components on-the-fly. Those components marked DOWNLOADED will be separate packages downloaded on-the-fly (or, all packages can be marked as such with the ALL option to cpack_configure_downloads). Individual components are compressed with ZIP at installer-creation time and downloaded/uncompressed by the installer as needed. This feature is only available on Windows with NSIS at the moment. - NSIS installers can install themselves and enable the "Change" button in Add/Remove programs, allowing users to go back and install or remove components. This can be disabled through cpack_configure_downloads, because it's only really useful is most of the application's functionality is in downloaded components. - Bug fix: automatically install everything whose COMPONENT was not specified (it's a hidden, required group) - Bug fix: fixed removal of components when re-running the NSIS installer and unchecking components - Bug fix: NSIS installers now only install/remove the minimal number of files when re-run to update the installation (or by clicking "Change" in Add/Remove programs)
* ENH: Add patch for feature request #6847 - CPack components for NSIS and ↵David Cole2008-06-171-50/+182
| | | | PackageMaker installers. Thanks to Doug Gregor for all the hard work involved with implementing this patch! Also added new test CPackComponents that is conditionally executed only when NSIS or PackageMaker installer builders are available.
* BUG: if CPACK_NSIS_MODIFY_PATH was OFF then the PATH was automatically modifiedBill Hoffman2008-05-131-1/+2
|
* ENH: add ability to set installer icons, links to web pages, nsis code in ↵Bill Hoffman2007-10-291-1/+4
| | | | the icon section of the template, and ability to escape variables correctly
* ENH: allow CPACK_PACKAGE_ICON to be not setBill Hoffman2007-10-221-5/+1
|
* ENH: add ability to create links on the start menuBill Hoffman2007-10-181-2/+2
|
* ENH: allow for desktop link to be created and fix chop of last char in PATH ↵Bill Hoffman2007-09-181-171/+188
| | | | on uninstall
* BUG: Compression must be set before any output is created.Brad King2006-10-131-10/+10
|
* ENH: Add NSIS compressionAndy Cedilnik2006-10-121-0/+3
|
* ENH: use radio buttons to choose PATH optionsBill Hoffman2006-05-101-9/+18
|
* ENH: Some cleanups and fix installing as a non-adminAndy Cedilnik2006-05-081-22/+27
|
* ENH: Handle the no-icon caseAndy Cedilnik2006-04-301-1/+4
|
* ENH: Add more install registry optionsAndy Cedilnik2006-04-301-3/+36
|
* ENH: Add NSIS options page for path selection, fix adding and removing from ↵Andy Cedilnik2006-04-291-18/+100
| | | | path, add welcome page and license page
* ENH: Better support for adding and removing pathAndy Cedilnik2006-04-271-140/+180
|
* ENH: Propagate system name and handle win32/win64 nameAndy Cedilnik2006-04-231-0/+2
|
* ENH: Add a line to Add/Remove programs to uninstallAndy Cedilnik2006-04-231-0/+5
|
* ENH: Several changes to for NSISAndy Cedilnik2006-03-011-14/+27
|
* ENH: Several packaging issues. Allow random variables to be passed to cpack ↵Andy Cedilnik2006-02-271-2/+0
| | | | (anything starting with CPACK_, add preinstall to the list of dependencies for package, fix typos
* ENH: Several NSIS featuresAndy Cedilnik2006-02-231-8/+10
|
* ENH: More work on NSI to improve installing and uninstallingAndy Cedilnik2006-02-161-7/+4
|
* ENH: Better handling of executables on windowsAndy Cedilnik2006-02-141-2/+4
|