Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 5812dda2 authored by Jussi Lindgren's avatar Jussi Lindgren
Browse files
parents 7bc757a3 25925ddb
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ PROJECT(OpenVIBE) ...@@ -6,7 +6,7 @@ PROJECT(OpenVIBE)
# If you wish to maintain specific version numbers for a subproject, please do so in the projects CMakeLists.txt # If you wish to maintain specific version numbers for a subproject, please do so in the projects CMakeLists.txt
SET(OV_GLOBAL_VERSION_MAJOR 1) SET(OV_GLOBAL_VERSION_MAJOR 1)
SET(OV_GLOBAL_VERSION_MINOR 0) SET(OV_GLOBAL_VERSION_MINOR 0)
SET(OV_GLOBAL_VERSION_PATCH 0+git) SET(OV_GLOBAL_VERSION_PATCH 1+git)
# Default is to build to dist/. If you wish a custom install, set your own MAKE_INSTALL_PREFIX when you call CMake. Safest to do under a fakeroot. # Default is to build to dist/. If you wish a custom install, set your own MAKE_INSTALL_PREFIX when you call CMake. Safest to do under a fakeroot.
#IF(NOT CMAKE_INSTALL_PREFIX) #IF(NOT CMAKE_INSTALL_PREFIX)
......
No preview for this file type
...@@ -1005,6 +1005,11 @@ FunctionEnd ...@@ -1005,6 +1005,11 @@ FunctionEnd
Function .onInit Function .onInit
StrCpy $9 ${vs90} StrCpy $9 ${vs90}
; Note that for logging to work, you will need a logging-enabled build of nsis.
; At the time of writing this, you could get one from http://nsis.sourceforge.net/Special_Builds
LogSet on
; On silent install, we install all components ; On silent install, we install all components
IfSilent 0 +2 IfSilent 0 +2
Call EnableOptionals Call EnableOptionals
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
!include "zipdll.nsh" !include "zipdll.nsh"
;Name and file ;Name and file
Name "OpenViBE 1.0.0" Name "OpenViBE 1.0.1+git"
OutFile "openvibe-1.0.0-setup.exe" OutFile "openvibe-1.0.1+git-setup.exe"
;Default installation folder ;Default installation folder
InstallDir "$PROGRAMFILES\openvibe" InstallDir "$PROGRAMFILES\openvibe"
...@@ -45,6 +45,10 @@ ...@@ -45,6 +45,10 @@
Function .onInit Function .onInit
; Note that for logging to work, you will need a logging-enabled build of nsis.
; At the time of writing this, you could get one from http://nsis.sourceforge.net/Special_Builds
LogSet on
UserInfo::GetAccountType UserInfo::GetAccountType
Pop $R1 Pop $R1
StrCmp $R1 "Admin" has_admin_rights 0 StrCmp $R1 "Admin" has_admin_rights 0
...@@ -70,6 +74,8 @@ FunctionEnd ...@@ -70,6 +74,8 @@ FunctionEnd
Section "-OpenViBE" Section "-OpenViBE"
LogSet on
${If} $OLDINSTDIR != "" ${If} $OLDINSTDIR != ""
RMDir /r $OLDINSTDIR RMDir /r $OLDINSTDIR
RMDir /r "$SMPROGRAMS\OpenViBE" RMDir /r "$SMPROGRAMS\OpenViBE"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment