updating multi-components program

Hi!I'm testing wyUdate now and find it very cool. It works perfect but there is one thing that is not clear for me.My app consists of several components (plugins) that users decide to install or not install. In install wizard the list of components forms automatically according to programs that are already installed on users' systems. Though I can easily provide a global updates with wyUpdate for all variety of components that I provide, I only want to deliver updates to particular components that are installed by users. How can it be implemented with a single updater?

Thanks in advance.

This is a good question. As of wyBuild 2.5.* we don't support component updating. This is definitely on our roadmap (perhaps by wyBuild 2.9).

That being said you can do it one of 2 ways:

1. The obvious method

Include all plugins in your installer. Then when you're building your updates include all plugins in wyBuild. This will increase the initial distribution of your app, but the updates will be tiny (because wyBuild scans for differences and only delivers the smallest possible patch).

2. The more complicated, hacky method

Create a different wyBuild project for each plug-in. Build wyUpdate for each plugin project. You'll be left with a "client.wyc" file for each plugin. Rename them to "plugin-A.wyc", "plugin-B.wyc", etc. Then add these *.wyc files along with a single wyupdate.exe to the target folder.

You could build a simple wrapper application that will call wyUpdate silent update checking. Except you'll modify it to load a specific plugin *.wyc file:

wyupdate.exe -quickcheck -justcheck -noerr -cdata="C:\location\to\plugin-A.wyc"

Just loop over all the installed *.wyc files.

That being said, there's a truly simple solution is on our roadmap.

Tell me if this helps.

Thanks for the answer, Wyatt !Firstly i thought that your advice should solve my problem, but when i dug deeper into it i realized that things are not so simple as i thought.My program has the main module (a bunch of files) and 7 plugins (in future will be more). These plugins are automatically installed by user according to specific software he already got. And all these plugins use files from the main module.

The problem is that i have to provide updates for the main module of my prog and for every specific plugin installed by user.

The question rises: how can i update main module of my app and its plugins sequentially ? Or, maybe, there is a better solution?

damned, i found the answer.... for some reason i supposed to update only specific plugin that user uses... but then i made my mind to update all user's plugins installed no matter if he uses it right now or not.

I'll give it a try now, and if i fail, i'll write again 🙂) thanks!

In my case it would be very nice if wyBuild have a feature to specify the client.wyc custom name. For now, i have to rename wyc files manually 🙂

Sorry about that. I know it's a pain in the ass.

I'll see if we can bump up the release date of proper multi-component updating.