Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2005
    Posts
    3

    Run-time package creation

    I need to create packages at runtime from external files, one package per file, and add these packages into existing category.
    First, I couldn't find any _simple_ way to enumerate external files, basing on existing external files filter, entered at design time;
    Second, I couldn't find an action to create package myself.
    Is it possible to do that in SF7?

  2. #2
    Join Date
    Oct 2003
    Posts
    908
    Can you please provide some more detail as to what your goal is? I'm not sure why you'd need to create packages at runtime that couldn't be determined when you are creating your installer.

  3. #3
    Join Date
    Mar 2005
    Posts
    3

    Run-time package creation

    Well, there is generiс core installer, which may or may not install arbitrary number of additional plugins. Plugin files that vendor intends to supply, resides in the same dir as installer. So far, installer weakly references these files via External tab, using file extension filter, and assigning dummy "Plug-ins" package to it. So, at the Select Package screen we have just one common "Plug-ins" package node for any external plug-in file found by installer. What I'd like to have at this stage - create root category "Plug-ins" and for each external plug-in file, found by installer, create the corresponding package at runtime, then add it to this category, allowing user to explicitly select installation action for each plugin. So far, we have only two options for any external plugin file found - all or nothing.
    BTW, I didn't find any handy way of enumerating files hooked as externals. At least, at the moment of Startup action execution, SUF7 may have built such list. Of course I may implement file enumeration code myself, but at least, it would be useful to have access to the External tab settings, I don't want to hard-code file filter, duplicating existing one, which was added at designtime.

  4. #4
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    vsevolod,

    You may be able to accomplish something like this using the ListBox screen. You could do a File.Find action to populate the list. Then when the user clicks on an item you could do a File.Copy to place that file into the proper directory. This could be dynamic so you would not have to update the executable in order to add additional plugins ect.

    Adam Kapilik

  5. #5
    Join Date
    Mar 2005
    Posts
    3
    Thanks, Adam

    And though I believe your approach is feasible, but it would be more natural to have it in SelectPackages tree, wouldnt it?

    Vsevolod

  6. #6
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    I understand where you are comming from but there is no way to create packages that reference files on the fly. If this did not need to be dynamic then I think it would be possible but without previous knowledge of the files I do not believe that it is possible.

    Adam Kapilik

Similar Threads

  1. Controling Volume Settings at Run Time
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 10-03-2003, 01:08 PM
  2. Run time support and Packages
    By alanK in forum Setup Factory 6.0
    Replies: 1
    Last Post: 08-01-2003, 10:01 AM
  3. access 2000 run time
    By jennersc in forum AutoPlay Media Studio 4.0
    Replies: 0
    Last Post: 07-31-2003, 12:09 PM
  4. HOWTO: Make a Program Run Every Time the System Starts
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-01-2002, 09:44 AM
  5. Unable to run setup more than one time on the same machine
    By wuaizui in forum Setup Factory 5.0
    Replies: 5
    Last Post: 11-30-2000, 03:03 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