Ignore:
Timestamp:
2008-08-21T11:15:58+12:00 (16 years ago)
Author:
oranfry
Message:

dont overwrite startmenu shortcuts for repeat installs unless they are over-installs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/wirk3/src/wirk3.cpp

    r16775 r16930  
    4444    //pass on the arguments
    4545    string a;
     46    bool simMode = false;
    4647    for ( int i=0; i < argc; i++ ) {
    4748        a = argv[i];
     
    5051            //show_help();
    5152            return 0;
    52        
    5353        } else if ( a.compare("-cp") == 0) {
    5454            cout << classpath;
    5555            return 0;
    56 
     56        } else if ( a.compare("-sim") == 0) {
     57            command = command + " " + a;
     58            simMode = true;
    5759        } else {
    5860            command = command + " " + a;
    5961        }
    6062
     63    }
     64
     65    //create directories
     66    if ( !simMode ) {
     67        system( "IF NOT EXIST installer\\classes MKDIR installer\\classes" );
    6168    }
    6269
Note: See TracChangeset for help on using the changeset viewer.