locked
Display installed Modules in About Box RRS feed

  • Question

  • hi,

      I have windows application which have multiple modules. Each modules i have separate windows application with output as library and call this forms in main application.

    Now in my main application i have About Box which shows the Main application assembly information. I also need to show what are the modules installed with version like our visual studio about box . I mean like the text area shown in the below image

    Visual Studio About Box

    I need exactly the installed products in the image . How can i find the installed modules.

    My thinking:

      From the application start up folder i can find the UI module applications' dll . Using reflection i load this dll and take the assembly info of each dll included in the folder.

    Any other better method for this?


    • Edited by akhilrajau Friday, May 17, 2013 2:38 AM
    Friday, May 17, 2013 2:38 AM

Answers

  • some what. I have windows Form application which includes multiple modules. I only installed few modules based on the client requirements. So i need to display what are the modules inslatted and the versions. Thats only.

     Now i finished using reflection

    • Marked as answer by Barry Wang Friday, May 31, 2013 8:47 AM
    Tuesday, May 21, 2013 2:26 AM

All replies

  • How your application is composed ? Do you use Prism, MEF or something else ?
    Friday, May 17, 2013 2:42 AM
  • i am not an expert. But i organized as below

    I have 3 Folders named Data, Business, UI in the Solution

    Data Folder includes the module wise data access projects which are c# class library projects.

    Business Folder includes module wise business rules projects which are c# class library projects

    UI Folder contains includes module wise UI applications which are C# windows Form Applications. But i set project output type as library (for create as dll)

    2 other main projects in the solution is Main Window Application which is C# windows Form Application and other one Utilities which is C# class library.

    The main application includes login, MDI form (main form) and about box. All other forms are called from menu in the MDI form by using reflection.

    I think you the structure. This is because of the following reasons.

    We creates setup and instlled in the client machine. From the second version only the dll only i need to move . No need to include unwanted modules.

    Friday, May 17, 2013 3:19 AM
  • If the following image is close to what you are looking for I can post a small sample project on SkyDrive


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

    • Proposed as answer by Cor Ligthert Monday, May 20, 2013 10:34 AM
    Saturday, May 18, 2013 9:28 AM
  • some what. I have windows Form application which includes multiple modules. I only installed few modules based on the client requirements. So i need to display what are the modules inslatted and the versions. Thats only.

     Now i finished using reflection

    • Marked as answer by Barry Wang Friday, May 31, 2013 8:47 AM
    Tuesday, May 21, 2013 2:26 AM