Clarification Please

I've created a Test Folder and set up my wyBuild app called Test - when I run wyUpdate and Build the updates it creates an Updates Directory, a wyUpdate Directory and the Test app itself in the folder Test on my C: drive - I've configured the download site on my web site called Updates and the files successfully upload to it using the ftp username/password switch. This is for my version 1.0. Next, I copy all of those files including the wyupdate and client into a 1.0 folder in the test app folder. I create a new 1.1 version which will install a new folder to my client - I've loaded that folder under My Program Files as well as the 1.0 folder that I created above. I run the wyUpdate and the Build Updates successfully and upload THOSE files to my web site Updates folder and run the wyupdate from the newly created version - i then copy the wyUpdate and the client.wyu to my client and run wyupdate - at this point, the app runs and returns the same "test application is currently up to date - check back frequently.." message.

I'm unsure what I'm doing incorrectly at this point because if i run the "original" wyUpdate from my version 1.0 - it recognizes that the app has been updated to version 1.1 and downloads the updates to my wyUpdate folder and NOT to my client's root where the updates should reside. Shouldn't the new wyUpdate find the updates and run it instead of returning the currently up to date message? Do you have anything available that shows the actual paths that you use to create your app - I've tried different combinations - like creating the app in my test server folder - creating it in a standalone app folder, etc.

I'd really love to be able to use this program successfully to update my client program but at this point, I'm stumped - I've recreated the 1.0 and 1.1 versions multiple times with the same results. My understanding from the walkthrough is that ALL files including the client and the wyupdate need be moved into the 1.0 folder along with the updates folder and the app itself - is this correct? and when I create the version 1.1 do I include that 1.0 folder under My Program Files along with the new folder (content) I wish to add?

Any clarification you can provide would be greatly appreciated. Thanks!!

NOTE: I'm not a moderator or member of wyDay.

However, maybe this helps:

You put your app files some arbitrary place, unrelated to where they will be installed, and unrelated to your FTP server.

For example:

S:\Development\Our Product\1.0S:\Development\Our Product\1.1S:\Development\Our Product\1.2...

Each time you make a new version, you create a full copy with changes in a new location (1.1, 1.2, 1.3, etc.).

Your wyBuild stuff you keep elsewhere, e.g.:

S:\Development\wyBuild\Our Product\Our Product.wyp

When you add a version to your .wyp, you add the files/folder above (so 1.0 refers to S:\Development\Our Product\1.0, and when you add 1.1 to your project, you tell it to add the files & folder from S:\Development\Our Product\1.1, etc.)

---

Separately from all this, when you install your software, you keep using the same location for all versions:

C:\Program Files\Corporation\Our Product **

That location gets a copy of the current wyUpdate.exe and client file.

Then you can run wyUpdate.exe in the install location (C:\Program Files\Corporation\Our Product), and it will use the client file to know what version it is, and where on the FTP server to find updates.

Each time it pulls down updates, it updates the files in situ (i.e. C:\Program Files\Corporation\Our Product)

** NOTE: the installation location can vary from PC to PC - it has no meaning other than that your installer, that initially loaded your software onto the PC, include the wyUpdate.exe and .wyc files in the base installation folder. This location is never used by your wyBuild project, ever.

---

Your FTP Updates location is arbitrary, but consistent. e.g.

ftp://myserver/updates/our_product

Each time you add a version to your wyBuild project, it uploads the needed deltas to this same location. Then when an installed copy of your software looks to see what's current, it looks in the same location always, and grabs the current from_current_to_target_version files.

---

I hope that this helps.

, edited

Steve (Mordachai) is exactly right.

@Foxy, there are a couple other things you should know. Firstly, the "current version" of our app is stored in the "client.wyc" file. So when you click "Build wyUpdate" the version number listed in the dropdown immediately above that button is the version that will be embedded in the client.wyc file.

You can change that version (i.e. to build for older versions of your app) by clicking the version number.

Also, that version number is updated when your app is updated.

The next thing you should know is that the "Your program's folder" in wyBuild corresponds to whatever folder wyUpdate.exe and "client.wyc" files are sitting in. In other words, you're not hardcoding the path to your app. wyUpdate is smart enough to know that wherever it is sitting is the "Your program's folder" of your application.

Thanks for the explanation Mordachai - I really appreciate you taking time to respond to my question and thanks again, Sam - I know that the questions/issues I'm running into are due to the fact that I'm misinterpreting what is meant by copying ALL files. I've decided to go back to the drawing board and try recreating a new app from scratch using your suggestions.

From what you've explained, it appears as though I've done pretty much what was suggested, however, I was creating the app folder and the versions within that folder itself and then I was copying the current version of the wyUpdate.exe and the client.wyc to the Client folder and executing it (then recopying and overwriting the wyUpdate.exe and client.wyc for each new version). I was taking all files including the wyUpdate.exe, client.wyc, and the test.wyp and copying those to a 1.0 folder, 1.1 folder and so on and adding those folders to the "Your Program's Folder" for subsequent versions.

Please correct me if I'm misunderstanding but THIS time, I'll add only the .wyp, the wyUpdate.exe and the client.wyc to the "Your Program's Folder" from the previous version for inclusion in the newest version as well as any changes that I am making. What I was originally doing was copying the actual Updates folder, the wyUpdate folder and the .wyp to the 1.0 folder.

Once I have the correct structure in place, I'm planning to add the Automatic Updater to the mix and I don't plan to do that until I'm sure that my structure is accurate.

We've covered this pretty thoroughly in the Walkthrough for your first time using wyBuild. It has pictures and it even covers how to properly test the updating.

Please correct me if I'm misunderstanding but THIS time, I'll add only the .wyp, the wyUpdate.exe and the client.wyc to the "Your Program's Folder" from the previous version for inclusion in the newest version as well as any changes that I am making. What I was originally doing was copying the actual Updates folder, the wyUpdate folder and the .wyp to the 1.0 folder.

You're adding the *.wyp file to your project? That's not right. You add the files of your app to the version tabs in wyBuild. See the step-by-step walkthrough.