Having trouble integrating with my software?

Well i followed the video at: http://www.youtube.com/watch?v=zE9f_jfB ... r_embedded

But im a little stuck after all that i run the software and hit check for updates and it doesnt work.. the error i get is:

Failed to check for updates

"wyUpdate ended before the current update step could be completed."

Am i missing a step/ something have i not intergrates all the fiiles correctly?

Please help ๐Ÿ™‚

Thanks

Matt

Hey Matt,

Try running wyUpdate.exe alone by double clicking it. It will probably show you an error. For instance, did you include the "client.wyc" file along with wyUpdate.exe?

Tell me if this helps.

Nope it's all fine running it alone.. Tells me I have the latest version installed.. Hmm so basically that means I haven't intergrated it with my project correctly ie it's not running it/ finding it?

Is wyUpdate.exe and client.wyc in the same folder of the *.exe that has the AutomaticUpdater on it? (they should be) Are you calling any special functions of the AutomaticUpdater control? Is the AutomaticUpdater on your main form, or is there a Splash screen?

Well i managed to get it working.. my next question is for my app due to it being a standalone exe file that i compile using a program called Xeon Post build.. which basically intergrates all exe files and files into one standalone exe.. how do i make that work with wybuild is it possible or do i have to make my app install? if i have to make it install how do i make sure that my app builds with these 2 files and always installs them in the correct place etc..?

I would recommend you avoid Xenocode PostBuild for a number of reasons. It doesn't add any real security, but it adds several layers of complexity that make it hard to deploy updates. In business terms, PostBuild is a solution looking for a problem.

If you're looking for obfuscation then there are quite a few good free obfuscators out there that do a better job than PostBuild.

Just create a simple installer to install your app. NSIS, WiX, InnoSetup are all good options. Then simple include wyUpdate.exe and client.wyc with your app files.

Can I ask why you're using Xenocode?

Xenocode was perfect for what i wanted.. as my project is done is sections and is a totally of around 15 projects all merged into one... i was able to merge all exe files into one and just run as a standalone exe file which was what i want.. i also had a discount when i purchased it..

But it now looks like i need to do an installer for this app? im still a little unsure on how to intergrate everything but im going to finish the app and then mess about with sorting the updates fully i think ๐Ÿ™‚

You may or may not need an installer. However you will need to distribute wyUpdate.exe and the client.wyc files outside of the combined exe file.

You could use a simple zip file if you wanted.

hmm yeh i messed about last night i was able to do my app exe and then the two update files but not an "all in one" exe is what i was looking for... but i guess if my app is evolving into automatic updates then i suppose i better evolve to installers... ๐Ÿ™‚ whats the best program to do that? professionally like..

There are quite a few options:

I recommend NSIS - it's what we use for installing wyBuild. It's actively developed and they have a good community.

is the any actual way for me to use xenocode to intergrate it all? im kinda lla for the idea of this app being portable like that..

๐Ÿ™‚

I reccommend you avoid Xenocode for a few reasons:

  • Security through obscurity - aka no real security benefits.
  • Slows down your program due to the extra useless layers of a virtualized environment.
  • Makes distributing updates a huge pain the ass.
  • Offers no benefits over a simple installer made with WiX, NSIS, or InnoSetup.

This being said, you can still wrap almost all your files with Xenocode. However, wyUpdate and the client.wyc file must be outside of the "wrapped" .exe file. So it won't be one file anymore anyway. Also if you do this you lose a lot of the benefits of wyBuild's patching algorithm.

I recommend going with an installer. Or even a simple zip file. But an installer will probably be easiest for your users.

With an installer your users will install your app fast, you'll be able to update with wyBuild, wyUpdate and the AutomaticUpdater, and you won't be slowed down by Xenocode's virtualized environment.

hmm well i have spent more of my budget on specialized software to do this project.. it seams like im buying more software then im actually creating at this rate!! basically i can compile my project all and create a nice installer etc.. but because i have created some of my project in seperate visually studios solutions and intergrated them it messes up the installer and makes my app disectable.. which is what i dont want! ๐Ÿ™

So my question is simply.. if i merge it all into one exe file with xenocode can i still make small (main screen gui updates) and mabye add some features... with wybuild? what are the limitations of the updater.. i haveent actually tested updates yet as i dont really understand how you do it?

Couldnt i just create a new exe.. to overright the corrent one..? wouldnt that work?/ automatically update?

hmm well i have spent more of my budget on specialized software to do this project.. it seams like im buying more software then im actually creating at this rate!! basically i can compile my project all and create a nice installer etc.. but because i have created some of my project in seperate visually studios solutions and intergrated them it messes up the installer and makes my app disectable.. which is what i dont want! ๐Ÿ™

I'm not sure what you mean. Do you mean you don't want people to be able to decompile your app?

So my question is simply.. if i merge it all into one exe file with xenocode can i still make small (main screen gui updates) and mabye add some features... with wybuild? what are the limitations of the updater..

You won't be able to add the wyUpdate.exe and the client.wyc files to your merged exe. So you'll have 3 separate files:

  1. Blob.exe
  2. wyUpdate.exe
  3. client.wyc

Then updating is a simple matter running wyUpdate.exe. I seriously doubt if the AutomaticUpdater would work in this case because Xenocode breaks alot of things. But running the standalone updater "wyUpdate.exe" should work fine.

i haveent actually tested updates yet as i dont really understand how you do it?

Which part don't you understand?

Couldnt i just create a new exe.. to overright the corrent one..? wouldnt that work?/ automatically update?

Yes. You'll have a "Blob.exe" for every version. Store them like this:

C:\YourApp\1.0\Blob.exeC:\YourApp\1.1\Blob.exe...etc...

Then add these finalized "Blob" files to the wyBuild window like shown in the video.

Tell me if this helps.

ok yeh you have helped allot! so much in this forum.. sorry itds the first time i have intergrated a complex system like wybuild im glad i purchased it now thogh ๐Ÿ™‚

Basically im going to experiement for a while but knowing i can just release .exe files (new ones) eeach time its made me realise its easy to do what im trying to do.. so im going to experiement for a bit ๐Ÿ˜›