Requirement 1. Display a combo-box to giving option to select from all candidate install paths.
Background: I have developed a set of custom tools that work with popular forex trading package. Each broker provides a customised install path for what is essentially the same software.
e.g. "C:\Program Files (x86)\MetaTrader - Alpari UK Inst01\terminal.exe" OR "C:\Program Files (x86)\ODL MetaTrader\terminal.exe"
Which means that sometimes user can have more than one instance of this of application installed.
Where I am at: I have been able to find one instance of the installation (by doing an application search for "terminal.exe" on c:\ up to 2 levels deep), but. All I need to do now is get some way of:-
1. Returning the path only (excluding the filename 'terminal.exe')
2. display a combo-box that user can select from rather than a text box that they then have to browse to if first path found is incorrect.
FOLLOW US
Get the latest news in Application Packaging