Ok - I'm really banging my head against the wall now.
I changed my download site to %updatepath%/%file% and rebuilt wyUpdate and included the latest client.wyc with the app. I even took out my default server path for updates and only have the above. I'm not sure if this is even valid but I figured if I'm going to specify this at run-time then it should be valid.
I also moved my code to set the command line to the constructor of the form. I did this after the InitializeComponent() call since the control would probably balk at me if I tried before. I did read in an earlier post that someone was having an issue with setting command line parameters and there was some discussion as to if the control would pick this up after the InitializeComponent() call since it should already be started but you can't set them after it is started so it seemed like a catch-22 - anyway not to digress.
I took out the -server portion so as not to muddy the waters too much and only have to deal with the -updatepath. The code that I'm using to set that value is:
string strParameters = String.Format(@"-updatepath=""{0}""", m_AutoUpdateConfiguration.FullURL);
which equates to: -updatepath=\"http://127.0.0.1:8080/updates\"
When I run my program the error that I'm seeing is:
Error trying to save file: Error downloading "http://192.168.2.13/updates/myapp.1.0.to.1.1.zip": The remote server returned an error: (404) Not Found.
which is the previous server that I had specified for downloads but had removed it from my project. So I couldn't understand why it was giving me this error.
So next I blew my project away - no biggie - just getting started with it - and created a new project and did not specify the old server location at all. I don't have anything in the project as far as updates - just the 1.0 version. I put the wyUpdate.exe and client.wyc files from the new project in with my app and put the update files in the proper location.
When I run the app, I'm getting the exact same error and now I'm really puzzled as to why it is telling me it is getting a 404 error from a server that it should not even know about and specifying an update package that it shouldn't even know about as well.
So finally I decided to comment out my code where I am setting the command line parameter in my code and just put the wyCommandline value in the control properties at design time. (The value I put in the property is: -updatepath="http://127.0.0.1:8080/updates") (copy and pasted from the properties dialog in VS) and ran the app.
Same exact error. I'm kind of at a loss of what to try next. Any suggestions is greatly appreciated.