![]() Comparing that against 12.5.4.42 in batch would trigger the install. ![]() You don't want to trigger the install if the installed version is, for example, 12.10.0.0. More generally, when comparing version numbers, it'd be better to use a language that can objectify the version number and can understand. Variables in batch are surrounded by % when you want to evaluate them (or sometimes !). And as Magoo points out, Version is a string that will never equal 12.5.4.42. Temporarily remarking out off can help you find these simple syntax errors. One specific problem with your script is that you've got an extra
0 Comments
Leave a Reply. |