Changeset 16203
- Timestamp:
- 2008-06-26T12:47:45+12:00 (15 years ago)
- Location:
- release-kits/shared/windows/wrapper
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/shared/windows/wrapper/wrapper.cpp
r16079 r16203 286 286 char* tmp = getenv( "TMP" ); 287 287 char id[6]; for( int i=0; i<5; i++ ) id[i] = (char)((rand()%26) + 97); id[5] = '\0'; //id for this instance 288 string tempdir = ""; tempdir.append( tmp ); tempdir.append( "\\Greenstone 3-" ); tempdir.append( id );288 string tempdir = ""; tempdir.append( tmp ); tempdir.append( "\\Greenstone-" ); tempdir.append( id ); 289 289 _mkdir( tempdir.c_str() ); 290 290 SetCurrentDirectory( tempdir.c_str() ); … … 306 306 307 307 //did not find a good java 308 string message = " Greenstone requires java @java.min.version@ or greater, but ";308 string message = "This version of Greenstone requires java @java.min.version@ or greater, but "; 309 309 310 310 //tell them if java is absent or just too old … … 336 336 set_splash_progress( 100 ); //we are done searching 337 337 message.append( "Please install java (@java.min.version@ or newer) and try again.\n" ); 338 message.append( "Or, download a Greentsone3installer with bundled java and use that instead of this one" );338 message.append( "Or, download an installer with bundled java and use that instead of this one" ); 339 339 string title = "Installation Failed: Couldn't find java"; 340 340 MessageBox(NULL, message.c_str(), title.c_str(), MB_OK); … … 347 347 348 348 //extract the jar 349 string jarLocation = ""; jarLocation.append( tempdir ); jarLocation.append( "\\greenstone 3.jar" );349 string jarLocation = ""; jarLocation.append( tempdir ); jarLocation.append( "\\greenstone.jar" ); 350 350 //set_splash_status( hInstance, statusWnd, "STATUS_JAR", 0 ); 351 351 … … 358 358 string cmd = "\""; 359 359 cmd.append( foundJvm.getWinExecutable() ); 360 cmd.append( "\" -jar greenstone 3.jar" );360 cmd.append( "\" -jar greenstone.jar" ); 361 361 362 362 //hide splash screen … … 375 375 376 376 //clean up the temp directory 377 _unlink("greenstone 3.jar");377 _unlink("greenstone.jar"); 378 378 _unlink("ant.install.log"); 379 379 _unlink("@java.installer@"); -
release-kits/shared/windows/wrapper/wrapper.rc
r15898 r16203 16 16 STEP_XJAR BITMAP "step-xjar.bmp" 17 17 STEP_LAUNCHING BITMAP "step-launching.bmp" 18 MAINICON ICON " gs3.ico"18 MAINICON ICON "icon.ico" 19 19 20 20 //resources are automatically appended here
Note:
See TracChangeset
for help on using the changeset viewer.