Walkthrough

Hi,

We are evaluating which installler to use at the moment so I have downloaded the trial version and trying to get my head around the walkthrough.I followed your example but would like to know if the assumptions I have made are correct.We are trying to deploy an msi through a website which would allow clients to download, install and automatically check for updates.

I have added both the msi and setup.exe into the File & Folders tab.In Download sites, I have added one site. Do we manuallly copy over the msi and exe from above to this folder or does wyBuild do that for us or is this the xxxx.wyu file thats generated?Build wyUpdate and Build Updates is successful but nothing gets put into the website?Do I need to manually copy files from the containing folders for above into the download website?I have tried this and ran the wyUpdate.exe but get the error message

Error trying to save file: Error downloading "http://localhost/Installers/wyserver.wys": The remote server returned an error: (404) Not Found.

Thanks..

I have added both the msi and setup.exe into the File & Folders tab.

I take it you want to update by distributing new MSIs rather than letting wyUpdate patch your files? If you are delivering your MSI and setup.exe as part of your update, then add them to the temporary folder in wyBuild and set the setup.exe to execute before your update.

In Download sites, I have added one site. Do we manuallly copy over the msi and exe from above to this folder or does wyBuild do that for us or is this the xxxx.wyu file thats generated?

I'm not quite sure what you mean. Add your setup.exe and msi to wyBuild (to the temp folder), then once you build your update it will output *.wys and *.wyu files. The *.wys and *.wyu contain all the files and information needed to execute the files.

Error trying to save file: Error downloading "http://localhost/Installers/wyserver.wys": The remote server returned an error: (404) Not Found.

Are you using IIS? If so make sure you set the MIME types of *.wys and *.wyu files as "application/octet-stream". See Why do I get a "404 not found error" when downloading wyserver.wys?.

Tell me if this helps.

Ok, my thinking is a little muddled.We want to replace ClickOnce since its crap with wyBuild.We want to deploy an application and have automatic updates sent to them whenever we release new builds of the software.

1. Can we provide an initial install through wyBuild and then provide updates or does wyBuild only do the latter part?

2. When providing updates how does wyBuild know where to install the updates? In the Files & Folders tab there is no way to tell it where the files should go or have I missed something?

1. Can we provide an initial install through wyBuild and then provide updates or does wyBuild only do the latter part?

wyBuild only does updates (as of version 2.6.7). We plan on adding the ability to make installers in the future. But for now we recommend NSIS, InnoSetup, or WiX. They're all fantastic and they're all free.

wyBuild can create updates to your app, use wyUpdate to deliver these update patches to your users, and if you're creating a .NET app you can add the AutomaticUpdater control to fully automate the update delivery to your users. If you're not making a .NET app, you can still use wyUpdate as a silent updater (see: How to Silently Check for Updates).

2. When providing updates how does wyBuild know where to install the updates? In the Files & Folders tab there is no way to tell it where the files should go or have I missed something?

Put your files in the "Your program's folder" folder. Then when you include wyUpdate.exe and client.wyc in the same folder as your app, wyUpdate will know that that directory is "Your program's folder". There's no need to explicitly tell wyBuild where the folder will be on your user's machine (because it may differ from user to user depending on how your installer installs files).

Does this help clarify things?

I have been able to deploy my initiall installer with both wyUpdate.exe and client.wyc.I have modified my application, built a new version, created a new version on the Files & Folders tab and added the new files into the Your programs' folder.I have built the wyUpdates and copied the client.wyc file into my download site.I ahev built the updates and copies the contents of the containing folder to my download site.

Now when I run my appplication and click on updates, it says that an update is install when I restart my app.Restarting my app doesn't actually update anything and I still have my original version!

Help.......soooo close to getting it working!!

Error message

Could not parse the URL "http://270BV4J/installers/wyserver.wys" - it's either malformed or is an unknown protocol.

Any help please??

Well, it's not a valid url. The url should be in the form: http://yoursite.com/updates/%file%

Try copy pasting that into your browser to download it. Does it download?

I was getting this error when trying to update.The problem was that wyBuild was adding extra dots onto the address for some reason.Even removing and readding the download site doesn't seem to fix the problem.Only way was to create a new project and enter the address again.

All working now using a simple test harness!!

Need to persuade man at the top to buy buy buy!

All working now using a simple test harness!!

Need to persuade man at the top to buy buy buy!

Great. If you have any other questions, don't be afraid to ask.