please give anyone solution on my problem

I have 3 modules in my project and I want to use Automatic Updator contol in my project. But I facing some problem like

when using this control then you must save client.wyc and wyUpdate.exe files in your project forlderbut i have 3 modules and different updates for perticular module then as per situation required 3cleint.wyc and wyUpdate.exe files. My problem is how to store this 3 exe files and how to know which file for wich module.

Plz give me a any solution.

Thanks Rijwan

Hey Rijwan,

We're making this easier in wyBuild 2.7 or 2.8, but you can still do it with wyBuild 2.6.x. There are a few ways you can do this.

For your main app you should should include the AutomaticUpdater in your main form, also add wyUpdate.exe and the client.wyc in your program's folder.

Now, for each of your modules you'll have a separate wyBuild project file. Also, you should store the modules in separate folders for the best results (least conflicts when updating). For instance, your folder setup should look something like this:

\YourApp\...wyUpdate.exe...client.wyc


...\Module1\...\Module1\YourFiles...\Module1\client.wyc


...\Module2\...\Module2\YourFiles...\Module2\client.wyc

Your main app will update the normal way (see the step-by-step walkthrough). Your modules you'll have to update a little differently. Instead of using the AutomaticUpdater to update your modules you'll have to use wyUpdate in standalone mode.

For instance, to silently check for update to "Module1" in the example, you would launch wyUpdate.exe something like this:

wyUpdate.exe -basedir="C:\Full Path\To\YourApp\Module1" -cdata="C:\Full Path\To\YourApp\Module1\client.wyc" -quickcheck

Of course you can use other commandline switches for silent checking (see: How to Silently Check for Updates) but the important ones are "-basedir" and "-cdata".

Tell me if this helps.

Hey sam Thanks for your solution it is very helpful for me. If possible for u then plz send me the some application on this situation because i am very new in that so i dont know how to wire code in dotnetfor wybuild.and how to run clirnt.wyc file using command promt when application running.

ThanksRijwan

Hey sam

I follow your step but when i update my individual modulethen update popup window display. I dont want to show this popup window to user and close after finish updating.Then what i do for this.ThanksRijwan

Sam,when I am updating individual module then display perticular module update window in that window i want to change window title name or it may be customise.ThanksRijwan

Sure, you can customize the title of the wyUpdate window. In wyBuild go to File -> Properties -> wyUpdate and type in your new title.

Then rebuild wyUpdate and include the new client.wyc.

Hey Sam,

I download the WyUpdate the SourceCode from WyUpdate sides .And when I run this code in dotnet I face this error"Client file failed to load.The client.wyc file might be corrupt."Plz give me solution.

You don't need to download the wyUpdate source code to change the title. Just go into wyBuild, then click File -> Properties -> wyUpdate, then enter your new title.

Then, on the "Build" section click the "Build wyUpdate" button.

when i am trying this only created folder of my new name not change the title.

You need to include the latest client.wyc file. That's where the title is stored.

thanks Sam i change the title namein this window on bottom side show wyupdate name and line . It is possible to change this name.

how to run wyupdate source code using dotnet I face following problem,The client data file (client.wyc) failed to open.and not find iuclient.iuc this file

You need to include the client.wyc file in your debug folder.

I have text file in my project . and I am change some text and I want to update this then which step is required for that.plz give me step by step solution.Thanks Rijwan

See the Step-by-step walkthrough. It covers everything you need to know from beginning to end.

Hey Sam

How to return value from WyUpdate.exeas per tutorial return value is0-No update available1-Error2-Update availableThanksRijwan

You mean getting the return code of wyUpdate? Here's example code that shows how to start applications and to get their exit code.

Hey Sam

I already told you about my problem In my application one is main API and in that three different module . I used your suggestion but when i update my module then updation window are shown.

you have ane demo poject on these type then please send me.

Thanks Rijwan

I used your suggestion but when i update my module then updation window are shown.

wyUpdate will be visible when you update your individual modules. There are a few ways around that with wyBuild 2.6.x, but they're complicated (making a dummy Windows service that does the updating silently in the background).

We're solving this problem in wyBuild 2.7.

in wyBuild website only 2.6.14 are available.How I download 2.7 wybuild.or when is comming

wyBuild 2.7 is coming before Christmas -- December 25 -- providing no show stoppers get in the way.

how I hide updte window and which code required for thatplz give me solution

and when your 2.7 version launchin case itsm launch plz forward me those link.Thanks & RegardsRijwan

It's not out yet -- there were bugs preventing a release. It will be out when we've finished it. But you can do completely silent updates like I've suggested in past posts in this thread.