Hi!
When your installer/updater upgrade your app code base, application will be reloaded by ASP.NET, causing brief downtime event if re-registration is not involved. Roughly same delay is introduced by re-registering an existing application. If in some cases your installer does not change application files, then same logic should prevent UWS application registration from happening. Are we missing anything here: it looks to us that if you upgrade files, you have go through short downtime and re-registering won't hurt, and if you don't change file, then don't re-register either.
Even when using UWS config API, you probably won't have to do much of manual work of figuring out system configuration - you could use InstallShield custom actions, which can pass parameters to your code with target folder, etc.
Finally, when you re-register a previously-registered application, and you specified port 0 (system assigned) among endpoints, UWS will register it on the same port as before, so you won't need to first check which port its on and then re-register - it's done automatically. That's why we suggest so loudly to always use system-assigned port on at least one application endpoint.
Best regards,
UltiDev Team.
Please donate at
http://www.ultidev.com/products/Donate.aspx to help us improve our products.