Community Forums
Page 1 of 2 12 LastLast
Results 1 to 5 of 9

Thread: Suite Extension DLL - access feature properties

  1. #1
    Join Date
    Oct 2006
    Location
    Stroud, Glos. U.K
    Posts
    165

    Suite Extension DLL - access feature properties

    I'm currently working on an extension DLL for a suite installer. I wondered if there's a method for reading or setting these feature properties from the DLL:

    FEATURE[name].actionState
    FEATURE[name].installState
    FEATURE[name].displayName
    FEATURE[name].description
    FEATURE[name].cost

    Any help greatfully received.

  2. #2
    MichaelU's Avatar
    MichaelU is offline InstallShield Software Engineer
    Join Date
    Jan 2004
    Location
    Schaumburg, IL
    Posts
    4,683
    You should be able to use those strings as the property name in an ISuiteExtension::get_Property or ISuiteUIExtension::get_Property call. Have you had problems with that approach?
    Michael Urman - Staff Software Engineer - Flexera Software: InstallShield Team

  3. #3
    Join Date
    Oct 2006
    Location
    Stroud, Glos. U.K
    Posts
    165
    Ah, thanks Michael. Hadn't appreciated I could access the properties like that. Can confirm it works fine. Glad to see the website back btw.

    Many thanks again.

  4. #4
    Join Date
    Jul 2008
    Posts
    26

    Question

    Hi,

    can you provide some details as to how you have created your extension DLL, you say you got yours to work, How??

    Regards,

    /SiD

  5. #5
    Join Date
    Oct 2006
    Location
    Stroud, Glos. U.K
    Posts
    165
    Well the basic steps are:

    1. Look at Michael's excellent blog "Validating User Input in a Suite Project". This is pretty comprehensive.
    2. Download the VC++ 2010 Express SuiteCalc.zip example.
    3. Download and install VC++ 2010 Express if you don't have another alternative.
    3. Modify the SuiteCalc project as required to provide your validation functions and create the extension DLL. Preferably change its name!
    4. Make calls to the extension functions in your suite installer where appropriate.
    5. Load your new extension DLL into the suite project as a support file.

    Hope this helps.

Page 1 of 2 12 LastLast

Posting Permissions

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