Project

General

Profile

Feature #121

Create NSis installer

Added by David Demelier over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
06/02/2013
Due date:
06/14/2013
% Done:

100%

Estimated time:
4.00 h
Spent time:
MFD after:
MFD revision:
Branch:
Bookmark:
Platform:

Description

Create a NSIS installer for Windows using CPack.

History

#1

Updated by David Demelier over 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 80
#2

Updated by David Demelier over 6 years ago

Add Redist for VS2012.

From CMake mailing lists :

With your cmake: embed the installers in your project, install them in a tmp dir

....

  install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/redistributable/win64/vcredist_2005_sp1_x64.exe
          DESTINATION tmp)

....

Now, add the following specific NSIS commands:

      list(APPEND CPACK_NSIS_EXTRA_INSTALL_COMMANDS " 
               ExecWait '$INSTDIR\\\\tmp\\\\vcredist_2005_sp1_x64.exe'
               ")

For a msi installer:

    list(APPEND CPACK_NSIS_EXTRA_INSTALL_COMMANDS " 
             ExecWait 'msiexec /i $INSTDIR\\\\tmp\\\\mpich2-1.2.1p1-win.msi'
             ")
#3

Updated by David Demelier over 6 years ago

  • Due date changed from 06/16/2013 to 06/14/2013
#4

Updated by David Demelier over 6 years ago

  • % Done changed from 80 to 90

Now need to add desktop shortcut maybe.

commit:fa04a68364a1

#5

Updated by David Demelier over 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

Finished, commit:68cc07f7d901

Also available in: Atom PDF