Changeset 19174

Show
Ignore:
Timestamp:
22.04.2009 09:24:25 (10 years ago)
Author:
oranfry
Message:

hide the splash screen when error messages come up

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • release-kits/shared/windows/wrapper/wrapper.cpp

    r19009 r19174  
    147147            g_step = LoadBitmap(GetModuleHandle(NULL), step_res ); 
    148148            if( g_progress == NULL || g_step == NULL ) { 
    149                 MessageBox(hwnd, "Could not load an image!", "Error", MB_OK | MB_ICONEXCLAMATION); 
     149                //MessageBox(hwnd, "Could not load an image!", "Error", MB_OK | MB_ICONEXCLAMATION); 
    150150            } 
    151151         
     
    300300    if ( _mkdir( tmpdir ) != 0 ) { 
    301301        string title = "Failed to create the temp folder."; 
    302         string message = "Failed to create the temp folder.\nPlease run this installer from a folder you have permission to write to."; 
     302        string message = "Failed to create the temp folder.\nPlease set the environment variable TMP to a folder you have permission to write to."; 
     303        ShowWindow(splashWnd, SW_HIDE); //hide splash screen 
    303304        MessageBox(NULL, message.c_str(), title.c_str(), MB_OK); 
    304305        return -1; 
     
    342343         
    343344        string title = "Installation Failed: Couldn't find java"; 
     345        ShowWindow(splashWnd, SW_HIDE); //hide splash screen 
    344346        MessageBox(NULL, message.c_str(), title.c_str(), MB_OK); 
    345347 
     
    370372            string title = "Installation Error"; 
    371373            string message = "The installation exited with an error. Java may not be installed properly, or the installation may have been interrupted partway through. Please try again."; 
     374            ShowWindow(splashWnd, SW_HIDE); //hide splash screen 
    372375            MessageBox(NULL, message.c_str(), title.c_str(), MB_OK); 
    373376        }