Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2007
    Posts
    160

    Prevent Message from Displaying in Windows Explorer

    I have a third party install that I'm running from a button. At the end of this process, an Internet Explorer window is displayed indicating some files need to be copied manually.

    I can handle the moving of these files from the AutoPlay browser, but my question is....

    Are there any actions I can call immediately before firing the installation, which would prevent the Internet Explorer window from opening to prevent the display of this message.

    i would then revert the action immediately following completion of the installation process.

    I've asked the third party if there is any way to supress this, but I'm not too optimistic.

    Any help, points to info, guidance is GREATLY APPRECIATED!

  2. #2
    Join Date
    May 2006
    Posts
    5,380
    you could use this pice of code from the manual, i use this to stop users from getting to the temp folder while my app is running

    the window will open but this code will close it stright away, put it in the page timer

    -- Get the titles and window handles of all open windows.
    windows = Window.EnumerateTitles();

    -- A variable containing text in the title you want to search for.
    window_name = "Notepad";

    -- Loop through the table of windows.
    for handle, title in windows do

    -- Check if the window title has the target text.
    result = String.Find(title, window_name, 1, false);

    -- if the string was found in the title, send the window a close message.
    if (result ~= -1) then
    Window.Close(handle, CLOSEWND_SENDMESSAGE);
    end
    end
    hope it helps
    Open your eyes to Narcissism, Don't let her destroy your life!!

  3. #3
    Join Date
    Jan 2007
    Posts
    160
    Do you mean to put it in the Page -> Properties -> Script -> On Timer area? I put it in there, changed the search text to "sp_readme.html" as that appears in the title bar when I run the service pack manually. It didn't work, however.

    Could it be a problem if I have a wait on the File.Run action?

  4. #4
    Join Date
    May 2006
    Posts
    5,380
    did you enable the timer in page on show ?

    Page.StartTimer(100);
    Open your eyes to Narcissism, Don't let her destroy your life!!

  5. #5
    Join Date
    Jan 2007
    Posts
    160
    That is AWESOME!

    It worked like a champ!

    THANKS SO MUCH!

  6. #6
    Join Date
    May 2006
    Posts
    5,380
    no problem, glad to help
    Open your eyes to Narcissism, Don't let her destroy your life!!

Similar Threads

  1. attempting to compare a variable with the contents of an array
    By Lucian Cain in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 10-17-2006, 03:10 PM
  2. INFO: JET and MDAC (Complete) Runtime Notes
    By Desmond in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 11-28-2003, 08:35 AM
  3. INFO: JET 4.0 SP7-SP8 Runtime Notes
    By Desmond in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 11-28-2003, 08:34 AM
  4. INFO: Setup Factory and the Windows Installer
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-22-2002, 10:38 AM
  5. Packages and If Statements
    By Medlir in forum Setup Factory 6.0
    Replies: 4
    Last Post: 05-09-2002, 03:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts