Install bootstrapper?

Hi,

I'm investigating using wybuild on my new application, and thought of a situation where I wonder if wybuild is suitable to perform the required tasks.

Imagine if you will...

Version 1.0 of the application, a very very small feature sparse version with nothing but the auto updater in it.

Version 1.1 - The actual applicationVersion 1.2 - The actual applicationVersion 2.0 - ...etc

I would be able to offer version 1.0 for download from the website, people could copy it to their friends / download sites could cache it, and in order to use the application they have to update it. Hence they always get the latest version.

The benefit to me would be that there wouldn't be any versions of my exe on the web which people could use to cause havoc (webservices based app).

Does the intended usage of wyBuild support this?

Ta

This is a good idea. In fact we'll be adding something similar to this in wyBuild 2.7 (coming before the end of the year). You'll be able to build the installer bootstrapper directly from wyBuild. You'll only have to build it once and it will always download and install the latest version of your software from your site.

But for now (as of wyBuild 2.6.x) you can do as you suggested. Build an installer boostrapper with version "1.0" of your software which is just a blank slate: wyUpdate.exe and the client.wyc file. In the wyBuild project for version "1.0" include no files and no registry.

Then when you install using the bootstrapper you can launch wyUpdate.exe which will install from this blank slate "1.0" to whatever the latest version is.

This is a really good idea. It's a clever use of wyBuild and wyUpdate that I hadn't thought of.