I am getting the following error when the setup.exe of a Click Once deployment is running. This is from the log
Launching Application. Running command 'http://220.127.116.11/NFSLInstall/NFSL.application' with arguments '' ShellExecuteEx failed with error code -2147221003 Error: The following error occurred attempting to install 'http://18.104.22.168/NFSLInstall/NFSL.application': "Application not found "
Any ideas on what may be causing the error. The installer works fine on some computers.
I got the exact same error. I'm still not sure why, but here are a couple of things that I've tried and actually worked:
1. When you publish your apps, have it install from CD (in the publish wizard, when it ask the question on how the user will install the application, pick CD-ROM). Then in the UpdateLocation, you point it to your website (http://...). After that you publish another one, but this time point the publising location and installation url to your website. By doing it this way, you install the apps using the CD, but any updates they will get it from the website.
I know it may sound kind silly, but it actually worked.
2. When you go to the website where your apps is residing, do you have the link to launch the application? Have tried clicking on that. I had a pc where I had the same exact error as you do, it won't install the apps when I click on Install button.. But when I clicked on the Launch linked, it actually install the apps. Somehow when you try to launch it, it actually forces it to install.
If anyone can explain why the installation is giving this error, that would be great. In the meantime, I found the two things mentioned above to be effective.