Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2004
    Posts
    8

    Can this be done - checkbox

    Hi

    I believe I have found a large hole in SUF which is not a criticism.

    I want to achieve the following:

    At the end of my installation, I want to include a checkbox perhaps 2. Ideally I would like to offer the user the choice to launch a readme file and start the program.

    It would be even better if the readme file could be a chm help file and even better still if it could be opened at a specific topis (i.e. latest changes).

    Can this be done?

    Thank you

    John Fligg

  2. #2
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    939
    The hole is plugged!

    As far as I remember the SUF70 Setup itself ends with a screen with two checkboxes. Simply use a CheckBox screen to replace the ordinary Finished Install.

    (But you can’t have a bottom text with another font than the top text (if you use the side banner).)
    Attached Images

  3. #3
    Join Date
    Jan 2000
    Posts
    2,002
    You can open a help file to a specific topic by doing a File.Open where you run "hh.exe" and passing it the topic that you want to open.

    From MSDN Web site:

    Is it possible to open a specific topic from the Hh.exe command line?
    Yes, try:
    hh mk:@MSITStore:/path/filename.chm::/path\topicname.htm

    For example, with the compiled help file htmlhelp.chm, you can use:


    hh mk:@MSITStore:htmlhelp.chm::/api.htm
    hh mk:@MSITStore:c:\windows\help\htmlhelp.chm::/flash\browse.htm

  4. #4
    Join Date
    Jun 2005
    Posts
    3
    Quote Originally Posted by csd214
    The hole is plugged!

    As far as I remember the SUF70 Setup itself ends with a screen with two checkboxes. Simply use a CheckBox screen to replace the ordinary Finished Install.

    (But you can’t have a bottom text with another font than the top text (if you use the side banner).)
    ok, i made the same "style" as you, but....i'm a scripter n00b :( how can i accomplish, that my readme-file /or other files are opened -> I don't know

  5. #5
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    939
    Welcome to the forum; stay tuned.

    The Settings tab shows you that you the object CTRL_CHECK_BOX_01 with the associated Lua variable check01. This is a global Boolean variable meaning that the value is true if checked and false if not checked.

    In the section ‘On Shutdown’ (that’s after your finished screen is released) add this code:

    Code:
    if check01 then
    	File.Open(SessionVar.Expand("%AppFolder%".."\\Readme.htm"), "", SW_SHOWNORMAL);		-- a HTML file
    end
    I suppose you have installed Readme.htm/Readme.txt into %AppFolder%. If the file has to be viewed before the installation, you have to add the Readme file as a primer file.

    HTH.

  6. #6
    Join Date
    Jun 2005
    Posts
    3
    hey, VERY GREAT!!!
    working^^

    thx!
    skite

  7. #7
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    939
    Nice to hear. It is VERY SIMPLE……..(when you know “how to do”)

  8. #8
    Join Date
    Jun 2005
    Posts
    3
    yeah, WHEN you know HOWTO *lol*

Similar Threads

  1. Prob with checkbox
    By hyponeros in forum Setup Factory 7.0
    Replies: 2
    Last Post: 04-28-2005, 10:09 PM
  2. Maintaining checkbox states between pages
    By kmartin7 in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 12-06-2004, 01:09 PM
  3. Default Checkbox Value on Reboot Screen
    By RobertL in forum Setup Factory 6.0
    Replies: 2
    Last Post: 04-29-2004, 05:45 AM
  4. Default Checkbox state not being applied
    By Chris Wasley in forum Setup Factory 6.0
    Replies: 2
    Last Post: 01-27-2003, 03:12 AM
  5. Disable checkbox at runtime ?
    By mtway in forum Setup Factory 6.0
    Replies: 2
    Last Post: 12-03-2001, 02:24 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