~openerp-dev/openobject-client-web/6.0-opw-587800-2-cpa

« back to all changes in this revision

Viewing changes to win32/setup.nsi

  • Committer: Amit Mendapara
  • Date: 2010-09-15 17:46:36 UTC
  • Revision ID: mendapara.amit@gmail.com-20100915174636-buuy20mo0jjoodgy
[FIX] package name issues (bug #628835)

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
;Name and file
36
36
Name "OpenERP Web"
37
 
OutFile "openobject-web-setup-${VERSION}.exe"
 
37
OutFile "openerp-web-setup-${VERSION}.exe"
38
38
SetCompressor lzma
39
39
SetCompress auto
40
40
 
144
144
FunctionEnd
145
145
 
146
146
Section "OpenERP Web" SecOpenERPWeb
147
 
    nsExec::Exec "net stop openobject-web"
 
147
    nsExec::Exec "net stop openerp-web"
148
148
    sleep 2
149
149
 
150
150
    SetOutPath "$INSTDIR\python25"
158
158
    File "OpenERPWebService.py"
159
159
 
160
160
    SetOutPath "$INSTDIR\conf"
161
 
    File "/oname=openobject-web.cfg" "..\config\openobject-web.cfg"
 
161
    File "/oname=openerp-web.cfg" "..\doc\openerp-web.cfg"
162
162
 
163
163
    ;Store installation folder
164
164
    WriteRegStr HKLM "Software\OpenERP Web" "" $INSTDIR
177
177
        CreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER"
178
178
        CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Start OpenERP Web.lnk" "$INSTDIR\bin\start.bat"
179
179
        CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Stop OpenERP Web.lnk" "$INSTDIR\bin\stop.bat"
180
 
        CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Edit Web Config.lnk" "notepad.exe" "$INSTDIR\conf\openobject-web.cfg"
 
180
        CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Edit Web Config.lnk" "notepad.exe" "$INSTDIR\conf\openerp-web.cfg"
181
181
!ifndef ALLINONE
182
182
        CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Uninstall.lnk" "$INSTDIR\uninstall.exe"
183
183
!endif
197
197
;Uninstaller Section
198
198
 
199
199
Section "Uninstall"
200
 
    nsExec::Exec "net stop openobject-web"
 
200
    nsExec::Exec "net stop openerp-web"
201
201
    sleep 2
202
202
    nsExec::Exec '"$INSTDIR\python25\python.exe" "$INSTDIR\bin\OpenERPWebService.py" remove'
203
203
    sleep 2
239
239
SectionEnd
240
240
 
241
241
Function LaunchLink
242
 
    nsExec::Exec "net start openobject-web"
 
242
    nsExec::Exec "net start openerp-web"
243
243
FunctionEnd
244
244
 
245
245
LangString LicenseText ${LANG_ENGLISH} "Usually, a proprietary license is provided with the software: limited number of users, limited in time usage, etc. This Open Source license is the opposite: it garantees you the right to use, copy, study, distribute and modify Open ERP for free."