Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2005
    Posts
    9

    Huh? Newbie Registry probs..

    Ok .. have this kind of setup .. (gonna try to explain)

    [x] Main files
    [x]Sub category with a few packages
    [] Package1
    [x] Package2
    [] Package3
    [x]another sub with afew more packages
    [x] Package1
    [] Package2
    [x] Package3

    Ok .. how shall i do to get this together...
    The packages all require a couple of Registry values..
    and to get the setup to add them accordingly..
    rather than adding All regvalues when not all packs are added ...


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

    You could use a script like this:
    Code:
    Properties1 = DlgSelectPackages.GetCategoryProperties(CTRL_SELECT_PACKAGE_TREE, CTRL_CATEGORY_001);
    Properties2 = DlgSelectPackages.GetCategoryProperties(CTRL_SELECT_PACKAGE_TREE, CTRL_CATEGORY_002);
    
    if Properties1.State == CB_CHECKED then
    -- create the registry entries for this package
    elseif Properties2.Checked == CB_CHECKED then
    -- create the registry entries for this package
    end
    Adam Kapilik

  3. #3
    Join Date
    Mar 2005
    Posts
    9
    Ok.,. lets se if i got this right..

    ctrl_select_package_tree, ctrl_category_001

    this would be if an entire branch of packages is selected.. in my example
    the first with a few sub packages.. .. ?? right..

    Code:
    Properties1 = DlgSelectPackages.GetCategoryProperties (CTRL_SELECT_PACKAGE_TREE, CTRL_CATEGORY_001);
    
    --above would be for entire branch..  ADDONS1 ..??-- 
    for  addons2 / package4   is below correct..? ? 
    
    Properties2 = DlgCheckBox.GetProperties(CTRL_CHECK_BOX_07);
    
    if Properties1.State == CB_CHECKED then
    -- create the registry entries for this package
    elseif Properties2.Checked == CB_CHECKED then
    -- create the registry entries for this package
    end
    
    (packagetree)
    [x] mainprog   (required not changeable)
    [x] ADDONS 1
         [x] pack_001
         [x] pack_002
         [x] pack_003
    [x] ADDONS 2
         [x] pack_004
         [] pack_005
         [] pack_006

  4. #4
    Join Date
    Mar 2005
    Posts
    9
    ok.. gon nutz here..

    been trying just to get the hang of this..

    but no success..

    In Select packages, screen. (on next tab)

    i have

    Code:
    Properties2 = DlgSelectPackages.GetCategoryProperties(CTRL_SELECT_PACKAGE_TREE, CTRL_CATEGORY_002);
    
    if Properties2.State == CB_CHECKED then
    Dialog.Message("","Cat2 selected")
    else 
    Dialog.Message("","Cat2 not selected")
    end
    shouldnt this promph me with diffrent
    messages depending on Categorys selected .. .
    i get the same message, , no matter what is selected,..,
    Attached Images
    Last edited by Silo_97; 03-02-2005 at 09:58 AM.

Similar Threads

  1. Using registry for bookmarking
    By AXXESS in forum AutoPlay Media Studio 5.0
    Replies: 12
    Last Post: 11-01-2004, 09:22 AM
  2. HOWTO: Merge Registry Keys
    By Desmond in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-17-2003, 09:31 AM
  3. Registry Features
    By Dwayne in forum Setup Factory 6.0
    Replies: 1
    Last Post: 02-21-2003, 03:30 AM
  4. INFO: Finding Shell Folders in the Registry
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-10-2002, 03:52 PM
  5. HOWTO: Merge REG Files with the Registry
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-23-2002, 02:48 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