I created an installer based upon the code I found here. If a previous version of the app exists, I want the installer to delete it before installing the new one.
If it's a clean install, everything goes well.
If it's an upgrade, a weird thing happens. As expected, the old version is removed, the registry is changed, and shortcuts are placed on the desktop. Oddly, the primary file doesn't exist in the application folder when the installer completes.
Upon launch after an upgrade, a small installer message box pops up and states "Please wait while Windows configures -app name-..". After this quick message, the file exists as it should in the app folder, and the app launches.
Prior to launch though, it's not there. I even tried a reboot before launching the app to see if that would place the file if it's stuck in a some kind of cache.
Anyone ever see this behavior? It's a bit like this questiom, but it happens on every upgrade.