Ignore:
Timestamp:
11/27/06 12:19:23 (5 years ago)
Author:
sam
Message:

Mise à jour installeur SCapp => 3.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Bui_scKit/resources/win/packaging/src/scAppInstaller.nsi

    r6538 r7517  
    5858 
    5959!define LAUNCHER_LIBS "..\..\..\..\..\Bui_Core\resources\launcher\win\libs" 
    60 !define INSTALLER_VERSION_NUM "3.0.0.0" 
    61 !define INSTALLER_COPYRIGHT "© ${YEAR} scenari-platform" 
    62 !define INSTALLER_COMPANY "scenari-platform" 
    63 !define INSTALLER_BRANDING "SCENARI install system v3" 
    6460!define PRODUCT_NAME "SCENARIapp" 
    6561!define PRODUCT_VERSION "3" 
     
    6864!define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir" 
    6965!define PRODUCT_ICON_PATH "bin\scApp\chrome\icons\default\scenaricms.ico" 
     66!define INSTALLER_VERSION_NUM "3.0.1.0" 
     67!define INSTALLER_COMPANY "scenari-platform.org" 
     68!define INSTALLER_COPYRIGHT "© ${YEAR} ${INSTALLER_COMPANY}" 
     69!define INSTALLER_BRANDING "SCENARI install system v${PRODUCT_VERSION}" 
    7070!define LIC_NAME "License.txt" 
    7171 
     
    150150VIProductVersion "${INSTALLER_VERSION_NUM}" 
    151151 
    152 Name "$vProductName v$vProductVersion" 
     152Name "$vProductName $vProductVersion" 
    153153BrandingText "$(^Name) - ${INSTALLER_BRANDING}" 
    154154OutFile "../${PRODUCT_INSTALLER_FILENAME}" 
     
    342342  StrCmp $0 "" xNoAlreadyInstalled xAlreadyInstalled ;Old install detected? 
    343343  xAlreadyInstalled: 
    344     StrCmp $0 $INSTDIR xSameDir xNewDir ;Old install in same folder as new install wants to use? 
     344    StrCmp $0 $INSTDIR 0 xNewDir ;Old install in same folder as new install wants to use? 
     345    MessageBox MB_ICONEXCLAMATION|MB_YESNO "$(strAppInstReplacePrev)" IDYES xSameDir  
     346    Quit 
    345347    xSameDir: ;Just delete the old install folder 
    346348      DetailPrint "$(strUninstallPrevLog)" 
     
    356358       
    357359    xNewDir: ;Call a full uninstall of the old install 
    358       MessageBox MB_ICONEXCLAMATION|MB_OKCANCEL "$(strAppExists)" IDOK xDesinstall  
     360      MessageBox MB_ICONEXCLAMATION|MB_YESNO "$(strAppInstUninstPrev)" IDYES xDesinstall  
    359361      Quit 
    360362      xDesinstall: 
Note: See TracChangeset for help on using the changeset viewer.