I am having a following string like,
C:\program files(x86)\MySoftware\Version10.0\bin
C:\program files(x86)\MySoftware\Version20.0\bin
C:\program files(x86)\MySoftware\Version30.0\bin
The version number is random and will vary each time. I cannot use to find a substring with just 'C:\program files(x86)\MySoftware'. I need a to somehow search a substring like 'C:\program files(x86)\MySoftware<someversion>\bin'
How to achieve that in InstallScript?