Hello!
It looks good: since you are packaging UWS as a part or your application installer, it makes sense to do what you do - simply run it. UWS installer will quit pretty quickly if it finds same or newer version of itself already installed. Since UWS does not write its currently-installed version into the registry, determining the version of UWS could be pretty hairy, and involve using MSI APIs to get current product code from the upgrade code, and then the version number by product code - all of which will take about as much time as simply running UWS installation.
Also, not having validated the latest version of UWS may be moot on some systems: if newer version of the UWS is already installed on the target system, you (and us) have to be able to support it, so in general we tend to release subsequent versions of UWS with
fewer bugs than the previous one.
Finally, we noticed that you seem to let users choose the TCP port. We would like to point out that while it's alright for highly-technical users, regular users cannot be expected to know which ports are free and even what TCP port is. We recommend in addition to specifying your desired hard-coded port, always place your application on
UWS-assigned free port and use UWS redirector application to create a port-independent URL taking users to your application.
Best regards,
UltiDev Team.
Please donate at
http://www.ultidev.com/products/Donate.aspx to help us improve our products.