summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackNSISGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fix-10644-cpack-menu-links'Brad King2011-01-111-12/+19
|\ | | | | | | | | 1bbe4e6 CPack: Detect more URLs in CPACK_NSIS_MENU_LINKS (#10644)
| * CPack: Detect more URLs in CPACK_NSIS_MENU_LINKS (#10644)David Cole2011-01-071-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, only strings containing "http:" qualified as URLs when found in CPACK_NSIS_MENU_LINKS. Now, we use a regex to detect strings beginning with any of the following: ftp:// ftps:// http:// https:// news:// mailto: This commit also moves the caller of CreateMenuLinks outside the "if (cpackPackageExecutables)" block, allowing clients to use CPACK_NSIS_MENU_LINKS without also having CPACK_PACKAGE_EXECUTABLES defined. That bit of this commit fixes the remainder of the issue described in http://public.kitware.com/Bug/view.php?id=7828 Also, added a set(CPACK_NSIS_MENU_LINKS ...) to the CPackComponents test to enable verifying that all of this actually works.
* | Add CPack NSIS MUI_FINISHPAGE_RUN support (#11144)Mike McQuaid2011-01-061-0/+11
| | | | | | | | | | | | | | 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.
* | Add CPACK_NSIS_EXECUTABLES_DIRECTORY (#7828)Mike McQuaid2011-01-061-2/+7
| | | | | | | | | | | | | | | | NSIS installers default to assuming the executables exist in a directory named "bin" under the installation directory. As this isn't usual for Windows programs, the addition of this variable allows the customization of this directory and links still to be created correctly.
* | Allow NSIS package or uninstall icon (#11143)Mike McQuaid2011-01-061-7/+14
|/ | | | | | | | Previously both CPACK_NSIS_MUI_ICON and CPACK_NSIS_MUI_UNIICON needed to be set for either to take effect. This commit allows either to be set rather than requiring both as users may well want to e.g. use a default uninstall icon but a custom install icon.
* CPack: look for makensis in the PATH (#8210)David Cole2010-12-171-9/+23
| | | | | | | | | | | Previously, we would search in the Windows registry for the path to makensis, and fail immediately if we could not read the registry value, assuming that it was simply not installed. This change looks for makensis in the PATH even if the registry value is not there, enabling the scenario where makensis is installed without admin privileges and never even touches HKEY_LOCAL_MACHINE during the non-admin install.
* Fix KWStyle line length issues.Bill Hoffman2010-09-151-1/+2
|
* CPack: Refactor API in order to handle multi-file packagesEric NOULARD2010-08-111-7/+6
| | | | | | | | The multi-argument CompressFiles(...) method has been replace by the no-argument PackageFiles() method and 3 more member variables. This will enable implemention of multi-package generators. Now each specific generator (which overloads PackageFiles()) may decide to change the name and/or the number of generated package files.
* Eliminate -Wconversion warnings.David Cole2010-06-271-1/+1
| | | | | | Change types of local variables, or casting, or re-arrange expressions to get rid of "conversion may alter value" warnings as seen on recent dashboard submissions from londinium.kitware.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* BUG: Fix for issue #7470. Allow spaces in the path names of installed files ↵David Cole2009-01-201-11/+16
| | | | with the NSIS CPack generator and component-based installs. Add an installed file to the CPackComponents test: it failed before the fix; now it passes.
* BUG: Fix issue #7800. Enable CPack to find the NSIS installer on Windows 2000.David Cole2008-10-101-7/+11
|
* STYLE: fix line length stuff for KWStyleBill Hoffman2008-10-011-11/+22
|
* ENH: Further refinement of the CPack components functionality from Doug Gregor.David Cole2008-07-081-19/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* BUG: Always look for the NSIS reg value in the 32-bit hive even in 64-bit ↵David Cole2008-06-181-1/+2
| | | | builds of CPack.
* COMP: Use cmOStringStream instead of std::ostringstream for the HP compiler.David Cole2008-06-171-3/+3
|
* COMP: Fix errors and warnings from continuous dashboards running different ↵David Cole2008-06-171-1/+1
| | | | compilers...
* ENH: Add patch for feature request #6847 - CPack components for NSIS and ↵David Cole2008-06-171-8/+321
| | | | 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: fix for bug 6294, correct url for nsisBill Hoffman2008-02-151-1/+1
|
* BUG: fix for 6086 uninstall icon not set rightBill Hoffman2007-12-141-1/+1
|
* ENH: change CPACK_CREATE_DESKTOP_LINKS to something that can handle spaces ↵Bill Hoffman2007-11-071-4/+30
| | | | in the name of the exectuable
* COMP: Fix warnings on 64-bit Mac OS X build. Patch from issue #3697.Brad King2007-11-051-2/+2
|
* ENH: fix line lengthBill Hoffman2007-10-311-1/+2
|
* ENH: cpack changes, remove the escape variable stuff as it is not needed if ↵Bill Hoffman2007-10-311-0/+20
| | | | you provide a config file for cpack
* ENH: add ability to set installer icons, links to web pages, nsis code in ↵Bill Hoffman2007-10-291-6/+25
| | | | the icon section of the template, and ability to escape variables correctly
* ENH: fix line length errorBill Hoffman2007-10-191-3/+4
|
* ENH: add ability to create links on the start menuBill Hoffman2007-10-181-0/+55
|
* ENH: allow for desktop link to be created and fix chop of last char in PATH ↵Bill Hoffman2007-09-181-0/+14
| | | | on uninstall
* ENH: NSIS exists also for Linux, not only Windows, so enable it there tooAlexander Neundorf2007-06-181-1/+11
| | | | | | patch by Michal Čihař <michal (AT) cihar.com> Alex
* STYLE: fix a long lineKen Martin2006-11-171-2/+6
|
* ENH: Expand commentAndy Cedilnik2006-11-141-1/+1
|
* ENH: Add NSIS compressionAndy Cedilnik2006-10-121-0/+1
|
* COMP: Need to use cmsys_stl when in CMake code, not kwsys_stl.Brad King2006-08-271-1/+1
|
* STYLE: fix line lengthKen Martin2006-05-121-3/+6
|
* ENH: Add support for stipping and make more things overwritableAndy Cedilnik2006-05-021-5/+5
|
* ENH: Add NSIS options page for path selection, fix adding and removing from ↵Andy Cedilnik2006-04-291-0/+11
| | | | path, add welcome page and license page
* ENH: Support for packaging source, several cleanups and more yeehaa...Andy Cedilnik2006-04-151-8/+5
|
* ENH: Add ZIP generator and add support for including or excluding the ↵Andy Cedilnik2006-04-021-0/+8
| | | | toplevel directory
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-4/+4
|
* STYLE: Lots of formating to remove style problemsAndy Cedilnik2006-03-081-27/+53
|
* ENH: Several NSIS featuresAndy Cedilnik2006-02-231-1/+31
|
* BUG: Remove debug and fix space between label and exec nameAndy Cedilnik2006-02-161-2/+2
|
* ENH: More work on NSI to improve installing and uninstallingAndy Cedilnik2006-02-161-1/+58
|
* ENH: Better handling of executables on windowsAndy Cedilnik2006-02-141-0/+28
|
* COMP: Remove legacy code and fix sun buildAndy Cedilnik2006-01-101-1/+0
|
* ENH: Start working on CPack input file and cleanupsAndy Cedilnik2006-01-021-8/+6
|
* ENH: More improvements and add loggingAndy Cedilnik2006-01-021-8/+9
|
* ENH: Merge from the cpack branchAndy Cedilnik2006-01-021-0/+108