Sequence of updates to be applied

Hello,

We have versions 1.0, 1.1, and 1.2 defined with some installations running 1.0 and others 1.1Each version subsequent to 1.0 has pre- and post-update steps defined. These pre/post scripts update a config file used by the application.

When we push version 1.2 *.wyu & .wys files, it is clear how version 1.1 installation will be updated, i.e., pre- & post-update scripts defined with 1.2 version will be executed.

The question is, how will version 1.0 installation have the updates applied? Will the pre- & post-update scripts associated with version 1.1 be executed first, followed by pre- & post-update scripts associated with version 1.2?

Thanks,Alex

Hey Alex,

The question is, how will version 1.0 installation have the updates applied? Will the pre- & post-update scripts associated with version 1.1 be executed first, followed by pre- & post-update scripts associated with version 1.2?

wyBuild 2.6.x (and prior) creates only "direct patches". This means, if we use your example, when a user running 1.0 updates to 1.2 they download and install the "direct patch" to 1.2. In other words only the pre/post execution scripts from the 1.2 version tab in wyBuild will be executed.

In wyBuild 2.7.0 we're adding the ability for "incremental patches" (in addition to "direct patches"). This "incremental" patch means the end user running 1.0 will download and install version 1.1 followed by downloading and installing 1.2 of your app.

Does that make sense?

Hi Wyatt,

Yep, makes sense. So, considering that our pre/post-update scripts are themselves incremental in nature, it would be best to first push version 1.1 and allow for all installations to pick up that update. Then push version 1.2...

Definitely agree that wyBuild's future incremental patch option will be a good feature to have.

Thanks again!Alex

Has any workaround for this been identified, or v 2.7 been scheduled?

The workaround is described. Include the script or executable to be executed in every version. Detect which things need to be executed as part of your script / executable.