Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2005
    Posts
    8

    Grin Install driver finish then show a Dialog Message....

    Hello everyone,

    i have a question.

    i need to install "two" driver when i click one link.
    ----install the "first" driver. when the install finish then show a Dialog Message. →I don't know how to do this. (when install finish then show the Dialog Message)
    The "Dialog Message" have two button (Yes/No).
    when I click "Yes" then "second" driver start install (I can do this).

    i don't know how to control the "Dialog Message" time.


    (i'm very sorry about my english, i'm come from Taiwan"

    Many thanks

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    Hello,

    The attached project might help. Everything is in the button 'on click' event.

    I'm not sure what you mean when you refer to the "dialog message time". The dialogue box stays open until the user has answered the question that you want answered.
    Last edited by longedge; 11-14-2006 at 04:41 AM.

  3. #3
    Join Date
    Oct 2005
    Posts
    8
    thank you, longedge.
    i should say, i don't know how to control the show time when "Dialog Message" show. (hope someone can understand my poor english )
    i want to install two .exe file.
    when I finished the first install "setup.exe", then the dialog message show.
    If i click "yes" button then the second install "dotnetfx.exe" start.
    (program file exit when i click "no" button)

    But i don't know how to control this.
    When I open "setup.exe" , the "setup.exe" & "Dialog Message" show at same time.

    Code:
    File.Open("AutoPlay\\Docs\\utility\\setup.exe", "", SW_SHOWNORMAL);
    result = Dialog.Message("Notice", "The utility need Microsoft .NET Framework to work properly. If you have already installed it, you can skip to install .NET Framework. Or you are not sure for your system, please install the Microsoft .NET Framework 1.1 here.", MB_YESNO, MB_ICONQUESTION, MB_DEFBUTTON1);
    Yes = true
    No = false
    if true then 
    result = File.Run("AutoPlay\\Docs\\dotnetfx.exe", "", "", SW_MAXIMIZE, false);
    end
    if false then
    Application.Exit();
    end

  4. #4
    Join Date
    Aug 2003
    Posts
    2,427
    I think I understand now, try using the File.Run action in your first line instead of File.Open.

    You'll see that you can set a "wait_for_return" parameter which you can test for in an if statement if necessary.

    p.s. If you downloaded my example, the code behind the button will show how to test user input from a dialogue box.
    Last edited by longedge; 11-15-2006 at 12:31 AM.

  5. #5
    Join Date
    Oct 2005
    Posts
    8

    Talking

    thank you.
    you gave me some useful information.

    thank you so much.

Similar Threads

  1. Setup Factory and VS 2005
    By vazir786 in forum Setup Factory 7.0
    Replies: 4
    Last Post: 01-13-2006, 08:47 PM
  2. HOWTO: Limit the Number of Times an Install can be Run
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-17-2002, 02:58 PM
  3. If and Show Message Box
    By JohnM in forum Setup Factory 6.0
    Replies: 1
    Last Post: 07-07-2002, 03:05 PM
  4. Packages and If Statements
    By Medlir in forum Setup Factory 6.0
    Replies: 4
    Last Post: 05-09-2002, 03:51 PM
  5. Show message only once?
    By cchian in forum AutoPlay Menu Studio 3.0
    Replies: 1
    Last Post: 04-19-2001, 11:42 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