Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2003
    Posts
    6

    Grin How to provide user with list of packages to be installed?

    I want to provide the user with a list of the packages they have chosen to install. I want it to form part of the "Ready to Install Screen" so they can hit Back if they've made a mistake. Any suggestions?

  2. #2
    Join Date
    Jan 2003
    Posts
    81

    Re: How to provide user with list of packages to be installed?

    dunno any way to blend it into the Ready to Install screen, but could try a list box screen, populate it w/ their choices, and ask if this is correct, if not then press Back

    that might work... it'd be nifty if there was a way to disable user clicking inside the listbox... (dunno, there might be)

    but anywho, that's just a suggestion...

  3. #3
    Join Date
    Feb 2003
    Posts
    6

    Lightbulb Re: How to provide user with list of packages to be installed?

    Well, I've sort of found a couple of ways to do this, the first involves writing the list of "TRUE" packages to a text file in %TempDir% then assigning its contents to a variable, the second way assigns text to variables for those package variables that are set to TRUE then displays all of them. Neither way is a perfect solution. How I wish SUF supported array-type variables!

    But your suggestion has provided another possibility. Perhaps a ListBox screen is a better way of getting the user to select packages because it allows you to "Store text of selected item(s) in variable:". Then maybe I could use it to set the package variable(s) to TRUE as well as display the user's choices. Cool! I shall check it out now...Thanks intel352!

  4. #4
    Join Date
    Jan 2003
    Posts
    81

    Re: How to provide user with list of packages to be installed?

    yeah, the listbox rules

    i'm currently using it for my live-download capability (SF6 fetches a current list of available downloads, then i list the available downloads in the listbox)

    it's very handy, and prolly useful for alot of functions... if you need any help working w/ your installer, lemme know, i can help you out w/ whatever i know =-) (and the devs Darryl and Corey are very helpful as well)

  5. #5
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834

    Re: How to provide user with list of packages to be installed?

    Just a few comments from the discussion in this thread. It is possible to disable the ListBox. You can find a checkbox labeled "Enable list box" on the Custom tab of that screen.

    The List Box screen does allow you to populate the list through a delimited string that you can generate at runtime. So you can certainly use it in a dynamic nature.

    Using delimited strings, it's functionality is very similar to an array. Using some of the String actions they can be accessed through zero based indexes.

    Definitely take a close look at that screen. I believe that intel352's suggestion is a very good one.
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

  6. #6
    Join Date
    Feb 2003
    Posts
    6

    Re: How to provide user with list of packages to be installed?

    Yea, thanks guys but I decided to revert to using a "Select Packages" screen because I've completely solved my problem now, and its elegant too! [img]/ubbthreads/images/icons/smile.gif[/img]

    I discovered this because I needed to create a counter variable for a WHILE loop so I could use the aforementioned "List Box" screen to select packages. However, serendipity struck and I noticed that you can keep packing values into the same variable using the following syntax:

    %InstallPacks% = %InstallPacks%[delimiter][NextPack]

    Simple but achieves exactly what I want. All I had to do was use a few IFs and a carriage return as the delimiter and I got a perfectly formed list of all packages set to TRUE prior to install, in a single variable. I then put that into the "Ready to Install" screen and I'm a happy little camper! [img]/ubbthreads/images/icons/smile.gif[/img] No more writing/reading to temp. files!

  7. #7
    Join Date
    Jan 2003
    Posts
    81

    Re: How to provide user with list of packages to be installed?

    ooh, that sounds nice, good job (heh, i might haveta keep that idea in mind)

Posting Permissions

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