Changeset 4470 in osm
- Timestamp:
- 2007-09-06T03:17:47+02:00 (17 years ago)
- Location:
- applications/editors/josm/nsis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/nsis/README.txt
r3776 r4470 1 This is the Win32 installer generator for OpenStreetMap, to create a Windows1 This is the Win32 installer generator for JOSM, to create a Windows 2 2 like installer. This should ease installation and provides a reasonable set of 3 3 default preferences for Windows users. … … 26 26 - josm icons to the desktop and quick launch bar 27 27 - josm file associations to .osm and .gpx files 28 - some plugins to the current user profile (more to follow)28 - some assorted plugins into "C:\Program Files\JOSM\plugins" (more to follow?) 29 29 - default preferences to the current user profile (if not already existing) 30 30 - default bookmarks to the current user profile (if not already existing) … … 62 62 - some way of automatic installer generation on the server (e.g. nightly build)? 63 63 - install all josm plugins by default and only enable them according to user wishes? 64 - make installation of icons and file extensions optional ?64 - make installation of icons and file extensions optional -
applications/editors/josm/nsis/josm.nsi
r3802 r4470 266 266 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\OSM" "HelpLink" "mailto:newbies@openstreetmap.org." 267 267 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\OSM" "URLInfoAbout" "http://www.openstreetmap.org/" 268 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\OSM" "URLUpdateInfo" "http://w ww.openstreetmap.org/"268 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\OSM" "URLUpdateInfo" "http://wiki.openstreetmap.org/index.php/JOSM" 269 269 WriteRegDWORD HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\OSM" "NoModify" 1 270 270 WriteRegDWORD HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\OSM" "NoRepair" 1 … … 333 333 SetOutPath $INSTDIR 334 334 File "josm.exe" 335 336 ; XXX - should be provided/done by josm.jar itself and not here! 335 337 SetShellVarContext current 336 338 SetOutPath "$APPDATA\JOSM" … … 366 368 ;------------------------------------------- 367 369 SectionIn 1 2 368 SetShellVarContext current370 SetShellVarContext all 369 371 SetOutPath $APPDATA\JOSM\plugins 370 372 File "downloads\mappaint.jar" 371 ;SetOutPath $APPDATA\JOSM\plugins\mappaint372 ;File "downloads\elemstyles.xml"373 373 SectionEnd 374 374 … … 376 376 ;------------------------------------------- 377 377 SectionIn 1 2 378 SetShellVarContext current378 SetShellVarContext all 379 379 SetOutPath $APPDATA\JOSM\plugins 380 380 File "downloads\osmarender.jar" 381 ; XXX - should be done inside the plugin and not here! 382 SetShellVarContext current 381 383 ${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "osmarender.firefox" "$PROGRAMFILES\Mozilla Firefox\firefox.exe" 382 384 SectionEnd … … 385 387 ;------------------------------------------- 386 388 SectionIn 1 2 387 SetShellVarContext current389 SetShellVarContext all 388 390 SetOutPath $APPDATA\JOSM\plugins 389 391 File "downloads\wmsplugin.jar" … … 393 395 ;------------------------------------------- 394 396 SectionIn 1 2 395 SetShellVarContext current397 SetShellVarContext all 396 398 SetOutPath $APPDATA\JOSM\plugins 397 399 File "downloads\namefinder.jar" … … 401 403 ;------------------------------------------- 402 404 SectionIn 1 2 403 SetShellVarContext current405 SetShellVarContext all 404 406 SetOutPath $APPDATA\JOSM\plugins 405 407 File "downloads\validator.jar" … … 409 411 ;------------------------------------------- 410 412 SectionIn 1 2 411 SetShellVarContext current413 SetShellVarContext all 412 414 SetOutPath $APPDATA\JOSM\plugins 413 415 File "downloads\tways-0.2.jar" … … 419 421 ;------------------------------------------- 420 422 ;MessageBox MB_OK "PluginSetting!" IDOK 0 423 ; XXX - should better be handled inside JOSM (recent plugin manager is going in the right direction) 421 424 SetShellVarContext current 422 425 ${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "plugins" "mappaint,osmarender,wmsplugin,namefinder,validator,tways-0.2" … … 435 438 Delete "$INSTDIR\josm.exe" 436 439 Delete "$INSTDIR\uninstall.exe" 440 Delete "$INSTDIR\plugins\wmsplugin.jar" 441 Delete "$INSTDIR\plugins\osmarender.jar" 442 Delete "$INSTDIR\plugins\mappaint.jar" 443 Delete "$INSTDIR\plugins\namefinder.jar" 444 Delete "$INSTDIR\plugins\validator.jar" 445 Delete "$INSTDIR\plugins\tways-0.2.jar" 437 446 IfErrors 0 NoJOSMErrorMsg 438 447 MessageBox MB_OK "Please note: josm.exe could not be removed, it's probably in use!" IDOK 0 ;skipped if josm.exe removed … … 472 481 Delete "$APPDATA\JOSM\de-streets.xml" 473 482 RMDir "$APPDATA\JOSM" 474 SectionEnd 475 476 Section /o "Un.Plugins" un.SecPlugins 483 RMDir "$APPDATA\JOSM\plugins\mappaint" 484 SectionEnd 485 486 Section /o "Un.Personal Plugins" un.SecPlugins 477 487 ;------------------------------------------- 478 488 SectionIn 2 … … 486 496 Delete "$APPDATA\JOSM\plugins\validator.jar" 487 497 Delete "$APPDATA\JOSM\plugins\tways-0.2.jar" 488 ;Delete "$APPDATA\JOSM\plugins\mappaint\elemstyles.xml"489 498 RMDir "$APPDATA\JOSM\plugins\osmarender" 490 499 RMDir "$APPDATA\JOSM\plugins\validator" 491 ;RMDir "$APPDATA\JOSM\plugins\mappaint"492 500 RMDir "$APPDATA\JOSM\plugins" 493 501 RMDir "$APPDATA\JOSM"
Note:
See TracChangeset
for help on using the changeset viewer.