I'm writing a batch script that needs to install Microsoft Lync if the user does not already have it installed. Then, it will install my custom Lync UI after that. What is the best 开发者_运维技巧way to check if Lync is installed considering:
- This will run at user logon and should be fast
- The user could be using a 32bit or 64bit Windows (XP or 7)
Check if the files either exists in program files or Program files(x86)
精彩评论