~fva-openerp/openerp-tools/trunk

« back to all changes in this revision

Viewing changes to packaging61/windows/setup.nsi

  • Committer: Stephane Wirtel
  • Date: 2011-12-21 17:36:37 UTC
  • Revision ID: stw@openerp.com-20111221173637-r26s9gsuv7vnj5o2
[FIX] Open the default browser and specify the right version for the RegistryKey

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
!endif
77
77
 
78
78
!ifndef VERSION
79
 
    !define VERSION "${MAJOR_VERSION}.${MINOR_VERSION}-r${REVISION_VERSION}"
 
79
    !define VERSION "0"
 
80
#!define VERSION "${MAJOR_VERSION}.${MINOR_VERSION}-r${REVISION_VERSION}"
80
81
!endif
81
82
 
82
83
!define PRODUCT_NAME "OpenERP"
86
87
!define UNINSTALL_BASE_REGISTRY_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall"
87
88
!define UNINSTALL_REGISTRY_KEY "${UNINSTALL_BASE_REGISTRY_KEY}\${DISPLAY_NAME}"
88
89
 
89
 
!define UNINSTALL_REGISTRY_KEY_SERVER "${UNINSTALL_BASE_REGISTRY_KEY}\OpenERP Server ${MAJOR_VERSION}.${MINOR_VERSION}"
 
90
!define UNINSTALL_REGISTRY_KEY_SERVER "${UNINSTALL_BASE_REGISTRY_KEY}\OpenERP Server ${VERSION}"
90
91
 
91
92
!define REGISTRY_KEY "Software\${DISPLAY_NAME}"
92
93
 
445
446
FunctionEnd
446
447
 
447
448
Function LaunchLink
448
 
    ExecShell "" "start http://localhost:8069/"
 
449
    ExecShell "open" "http://localhost:8069/"
449
450
FunctionEnd