(For a colleague)
I have two batch files: let’s call them A.bat and B.bat.
B.bat runs an msi. A.bat invokes B.bat.
If I run B.bat directly, it works fine, but if I run via A.bat, I get the following error message:
msiexec is not recognized as an internal or external command, operable program or batch file.
I’ve tried the three solutions proposed here, with no success:
- Register/repair Windows Installer Service
- Reregister/reinstall the Windows Installer
- Check/Reregister/reinstall the Windows Installer
Just a minor detail, I’m on Windows XP embedded… on a ‘normal’ XP it works OK
Belatedly converting @Damien’s comment to an answer:
Don’t use
%PATHas a variable name!