Check for WinAutomation Updates

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2327

Thu 3/24/2011 - 16:27

You can add a Weekly monitor trigger or something to this job, or a service monitor trigger, to check whether there is a newer version of WinAutomation available! If there is.. it will ask you whether you want to run it, and setup the system (close winautomation and agent) making the system for the update installation!! Hopefully i have not missed anything, but if you encounter any issues, please feel free to post! :) Samantha

Check for updates..waj

#1

thepla

  • Joined: May 22, 2012
  • Posts: 34

Mon 6/18/2012 - 3:18

Samantha,

 

I know this scrpt is quite old but I want to check for updates; not sure if notifications are sent my E-mail.

 

This script does not find relase date, etc from webpage.

 

I am just learning regex and see where you are searching for release date ad version on web. I did find text in download.html but do not know how to read your script to see where problem is located.

 

Since it has not been modified by me I have to assume something has changed on your webpage.

 

thanks

thepla

#2

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2327

Mon 6/18/2012 - 16:22

You're right Thepla, 

 

As we have changed the website, the regular expressions were no longer valid. 

 

I'm attaching a newer version of the script. 

 

Don't forget to attach a daily trigger to it, so that it can check daily for updates.

 

Samantha

20120618.1920_Check_for_WinAutomation_updates_[4_.0_.1_.1454]_.waj

#3

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2327

Tue 6/19/2012 - 12:02

For them who are still on version 3, the attached version can be used 

 

Samantha

20120619.1500_Check_for_WinAutomation_Software_Updates_[3_.1_.6_.676]_.waj

#4

ChrisK

  • Joined: Dec 30, 2010
  • Posts: 95

Tue 6/19/2012 - 22:19

Awesome thanks!

#5

thepla

  • Joined: May 22, 2012
  • Posts: 34

Fri 7/6/2012 - 13:16

I think it is broken again. I am getting an error with release date. I did see a new w release was posted a day or so ago and maybe something changed on website.

 

Thanks,

thepla

#6

kimc

  • Joined: Jan 13, 2011
  • Posts: 298

Mon 7/9/2012 - 18:06

There are several issues with the last version of this job.

1) On Action 11, the current release date of July 5, 2012 is not matching the pattern MMMM dd, yyyy .

1S) Solution : Change the pattern (for now) to MMMM d, yyyy and that will get you past this error.

 

2) On Action 20, Download from Web, the URL may not be active any longer.

1S) Solution: Well, we're stuck here - just manually download it for now. If you take out the download action, at least the job will tell you that there is a new version. That's my recommendation in the short term.

 

Cheers,

Kim c.

#7

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2327

Wed 7/25/2012 - 17:56

Oops! Sorry ppl! Did not think about that at the time when i created this! 

 

Just change action 11 (Convert Text to DateTime) to hold the following format and you're good to go!

 

MMMM d, yyyy

 

the download url is correct ;)

 

Samantha

#8

kimc

  • Joined: Jan 13, 2011
  • Posts: 298

Thu 7/26/2012 - 21:54

Samantha,

You may hate me for this but my recommendation since this functionality is SO INCREDIBLY USEFUL is to stick it in an Add-On (written by Samantha) with actions of "Get My Version", "Get Vendor Version", "Download Version" and, wow, that would be INCREDIBLY impressive!! Just my thoughts!

#9

donald

  • Joined: Jul 6, 2012
  • Posts: 19

Fri 7/27/2012 - 17:38

 

Having a set of built-in, or add-on, actions for this would be great, but until then I believe there's a very simple solution.   If the great folks at WA could add a text file to the website that contains the current version, then we could automate everything with a 4 action, 6 line, job (attached).

 

Here's what I'm thinking:

 

A file named something like - http://www.winautomation.com/CurrentVersion.txt - could contain the current version and a URL to download it:

 

Example:

 

    4.0.3.1234*www.winautomation.com/downloads/WinAutomationSetup.exe

 

This information can be retrieved with a Download from Web action.   We'd then use a Split Text action to parse it and compare the current version to a value we store as a persistent variable.   If the values don't match then we call another Download from Web action to download the file and then a Set Variable action to update the persistent variable to the current version.

 

Set the job to trigger on a schedule (daily, weekly, etc).   When a new version is release, just update the CurrentVersion.txt file and we’re good-to-go.

 

Don

 

PS:  I only have version 4.x, I have no idea of this would work in version 3.x.  

Check_for_WA_Update.waj

#10

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2327

Fri 7/27/2012 - 18:04

Ha ha! Sounds good! Heh!

 

The script is only a temporary solution Joseph, we are working on including this functionality directly within WinAutomation, so please do bear with us!!!

 

Samantha

#11

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2327

Thu 8/2/2012 - 16:52

It's been noted that the script did not work as the download link is not valid, so .. attached is an updated version of it!

 

Samantha

20120802.1933_Check_for_WinAutomation_updates_[4_.0_.2_.1608]_.waj

#12

kimc

  • Joined: Jan 13, 2011
  • Posts: 298

Thu 8/2/2012 - 18:25

Actually a nicer solution would be just to call a web service that WA exposes. That's about a simple as you can get.

#13

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2327

Fri 8/3/2012 - 13:00

Best solution will be by design support to check for updates which is coming soon!!!

 

Samantha

#14

Thyzor

  • Joined: Feb 26, 2010
  • Posts: 38

Fri 12/21/2012 - 12:17

Doesn´twork for me. Get stuckedat line 11 =(

#15

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2327

Fri 12/21/2012 - 13:45

Are you sure to have the latest script running? 

 

Just in case, I'm attaching the last version of this script that I have listed and just tested to be working!

 

Samantha

 

 

[20121221.1544]_[WinAutomation]_Check_for_Updates_[4_.0_.3_.2079]_.waj

#16
Not a member yet? Register

Copyright 2013 - Softomotive Ltd