Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2005
    Location
    Wildomar California
    Posts
    17

    Order of install

    Hi again,

    I have a setup program that includes the option to install adobe reader. I also have a message that asks if the user wants to view the user guide. If the user picks the adobe package, then the reader is executed and reader is installed. If that package is not checked then the execution is skipped.

    As it stands now, if the user picks the adobe package, the message to view the user guide seems to conflict with the installation of the reader. ( meaning the question pops up while the reader is being installed. This is what I have now, what I want to do is if the user picks the reader install that it installs the reader and then asks if he wants to view the user guide.


    File.Open(SessionVar.Expand("%AppFolder%\\AdbeRdr7 0_enu_full.exe"), "", SW_SHOWNORMAL);

    result = Dialog.Message("Read Me", "Would you like to view the user guide?", MB_YESNO, MB_ICONINFORMATION, MB_DEFBUTTON1);
    if result == IDYES then
    File.Open(SessionVar.Expand("%AppFolder%\\V V Manhole Users Guide.pdf"), "", SW_SHOWNORMAL)
    else
    File.Open(SessionVar.Expand("%AppFolder%\\V V Manholes 1.0.exe"), "", SW_SHOWNORMAL)
    end

    What can I do?

  2. #2
    Join Date
    Oct 2003
    Posts
    908
    Where are you putting that script? It should be on the last screen or the shutdown. Ideally though, you'd simply use a Checkbox screen at the end of the installer.

  3. #3
    Join Date
    Mar 2005
    Location
    Wildomar California
    Posts
    17
    That is all in the shut down screen. Someone else mentioned using a checkbox. How would I do that?

  4. #4
    Join Date
    Sep 2004
    Posts
    60
    Replace File.Open with File.Run for the acrobat install and specify WaitForReturn and your popup box will not show until acrobat reader has finished installing.

  5. #5
    Join Date
    Mar 2005
    Location
    Wildomar California
    Posts
    17

    Thank You

    Worked like a charm, thank you!

Similar Threads

  1. HOWTO: Abort an Install Conditionally
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-24-2002, 02:28 PM
  2. HOWTO: Download and Install Files from the Web
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-23-2002, 01:16 PM
  3. 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
  4. HOWTO: Conditionally Install Files Based on OS
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-10-2002, 03:03 PM
  5. HOWTO: Create a Silent Install with Setup Factory 5.0
    By Support in forum Setup Factory 5.0
    Replies: 0
    Last Post: 10-08-2002, 02:08 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