bright, fresh software
Downloads  |  Buy

How Should Roll Back perform if After Update Scripts fail?

How Should Roll Back perform if After Update Scripts fail?

Postby aguanteboca » July 29th, 2012, 5:44 pm

I'm working in a scenario where I have a few "after update" scripts. During this process one of the scripts identified an issue which then returned an error to the wyUpdate. wyUpdate rolled back the application files (exe, dll, ocx, etc...), but did not roll back changes that were made in our ini configurations.

Is this Roll back feature limited to only certain file types or anything within the update directory?

Jim
aguanteboca
 
Posts: 32
Joined: June 8th, 2012, 2:42 pm
Location: Pottstown, PA

Re: How Should Roll Back perform if After Update Scripts fail?

Postby Wyatt » July 29th, 2012, 11:44 pm

Hey Jim,

The rollback is limited to files & folders that wyUpdate directly adds, patches, or removes. wyUpdate doesn't detect what files your scripts touch. So if you modify files in your scripts then you should back them up first (and restore them on error).
User avatar
Wyatt
Site Admin
 
Posts: 2580
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: How Should Roll Back perform if After Update Scripts fail?

Postby aguanteboca » August 7th, 2012, 5:10 pm

Thank you for the feedback. I do create long term backups in the event that we have a critical issue in our product(s) so that's covered. I just love your quick rollback feature which is why I was drilling for how this worked.

Jim
aguanteboca
 
Posts: 32
Joined: June 8th, 2012, 2:42 pm
Location: Pottstown, PA


Return to wyBuild, wyUpdate, & AutomaticUpdater Support