Bug #24057 agent installer on Windows has no version like server or Linux agent (BR 1907)
Submitted: 7 Nov 2006 18:43 Modified: 8 Nov 2006 1:47
Reporter: Carsten Segieth Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:0.7.26 OS:Windows (Windows)
Assigned to: Keith Russell CPU Architecture:Any

[7 Nov 2006 18:43] Carsten Segieth
Description:
when trying to get the version of a Windows agent installer one gets an error in the output file:

----------------------------
There has been an error.
Unknown option: --Version
Use --help to get a list of valid options
----------------------------

doint the same with a Windows server installer one gets a 'valid' answer:

----------------------------
MySQL Network Monitoring and Advisory Service 0.7.26 --- Built on 2006-11-07 04:35:11
----------------------------

How to repeat:
set NETWORK_VERSION=0.7.26
set INSTALLER=mysqlserviceagent-%NETWORK_VERSION%-windows-installer.exe
"%INSTALLER%" --version > ..\version.agent.%COMPUTERNAME%.%NETWORK_VERSION%.txt
"%INSTALLER%" --help > ..\help.agent.%COMPUTERNAME%.%NETWORK_VERSION%.txt

Suggested fix:
- show the version also for the agent
- on long term it would be nice to have this output also visible in a command box and not only with redirection into a file
[8 Nov 2006 1:47] Carsten Segieth
closed without fix as I simply misspelled the option. I used an uppercase 'V' ... with the correct parameter it works as expected and shows:

 MySQL Network Service Agent 0.7.26 --- Built on 2006-11-07 01:09:56