Following is my application folder hierarchy,
InstallationRoot/wyUpdate/ - contains both wyUpdater.exe and client.wyc filesInstallationRoot/iis/ - contains files related to IIS siteInstallationRoot/app/ - contains application exe and the content of this folder is patched using wyUpdate for every release.
I am trying to initialize wyUpdaterBackend from application exe, wyupdate never initializes if the IIS site is running, if I stop the IIS appPool (The thread just hangs until I stop the appPool) then wyupdate initializes and check for updates and applies it if any. I am really puzzled why I need to stop the IIS site which is nowhere related to wyupdate. What could be the reason for this strange requirement?
Note: InstallationRoot/app/, InstallationRoot/iis/ contains the same set of files(DLLs) but one folder is configured as IIS application and another one is used to invoke standalone exe. WyUpdater is only initialized in standalone exe.