Changeset 3643:3be18e0677c2 in orange


Ignore:
Timestamp:
05/09/07 15:34:56 (7 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
0f1d488c76452df4c99983acd11ad07c66ef7a4e
Message:
  • added removing the existing settings at reinstallation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • install-scripts/install3.nsi

    r3642 r3643  
    112112                Quit 
    113113        installpython: 
     114 
     115        IfFileExists "$APPDATA\Orange" not_installed_before 
     116            ask_remove_old: 
     117            MessageBox MB_YESNOCANCEL "Another version of Orange has been found on the computer.$\r$\nRemove the existing settings for canvas and widgets?$\r$\n$\r$\nYou can usually safely leave them; in case of problems, re-run this installation." /SD IDYES IDYES not_installed_before IDNO remove_old_settings 
     118                MessageBox MB_YESNO "Abort the installation?" IDNO ask_remove_old 
     119                    Quit 
     120 
     121            remove_old_settings: 
     122            RmDir /R "$APPDATA\Orange" 
     123 
     124        not_installed_before: 
    114125 
    115126        SetOutPath $DESKTOP 
Note: See TracChangeset for help on using the changeset viewer.