Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 06, 2016, 02:19:35 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Another Bug, Maybe  (Read 4775 times)

steeladept

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,059
    • View Profile
    • Donate to Member
Another Bug, Maybe
« on: July 11, 2007, 04:41:52 PM »
I don't know if this is a bug or not after reading the way the plugins work, but I noticed DCUpdater seemed to update all the plugins except the ProcessKill plugin.  I ended up following the instructions which worked fine, but I thought the Updater did all that.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,406
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Another Bug, Maybe
« Reply #1 on: July 11, 2007, 05:17:16 PM »
the updater currently doesnt know how to install zip updates (like the plugins use); im working on this now.
so basically it just informs you when they need update and takes you to their web page.
(the reason the other plugins "seemed" to update is because they were included in the latest farr update)

steeladept

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,059
    • View Profile
    • Donate to Member
Re: Another Bug, Maybe
« Reply #2 on: July 11, 2007, 05:29:59 PM »
Well that just makes sense, now doesn't it  :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,406
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Another Bug, Maybe
« Reply #3 on: July 12, 2007, 03:14:42 AM »
Support for updating items that use zip files instead of full-blown exe files has now been added!
It's quite involved so there may be updates of the updater needed soon :)
But basically it now knows how to install plugin updates live, even when farr is running (by having farr unload and reload them automatically while installing).

This should make installing plugin updates really easy.

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Another Bug, Maybe
« Reply #4 on: July 12, 2007, 03:19:39 AM »
So how does it know whether or not the zip file is an update to farr or a seperate program? ah wait with the path in the dcupdate file it doesn't need to does it. Or does it restart farr after any zip file install?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,406
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Another Bug, Maybe
« Reply #5 on: July 12, 2007, 03:27:34 AM »
Here's the .dcupdate for one of taichi's plugins, which shows:
Code: Text [Select]
  1. <?xml version="1.0" ?>
  2.  
  3. <Local>
  4.  
  5.   <!-- basic info to display in updater-->
  6.   <Label>Network Connections Plugin</Label>
  7.   <IconFile>nwconn.ico</IconFile>
  8.  
  9.  
  10.   <!-- version info of locally installed current version, and simple remote version file -->
  11.   <Version>0.0.0.3</Version>
  12.   <VersionFileRemote>http://taichi.dcmembers.com/Plugins/NWConnect/versioninfo.xml</VersionFileRemote>
  13.  
  14.  
  15.   <!-- where to get more info about the app remotely, only queried once an update is discovered -->
  16.   <InfoFileRemote></InfoFileRemote>
  17.   <WebPage>http://taichi.dcmembers.com/Plugins/</WebPage>
  18.  
  19.   <!-- ok how to conduct updates; could be: "Run" (download and run program), or "Visit" (visit website), or "Unzip" (download zip and unpack over files) -->
  20.   <UpdateMethod>unzip</UpdateMethod>
  21.   <SignalForUpdate>FindAndRunRobot.exe</SignalForUpdate>
  22.   <CloseForUpdate></CloseForUpdate>
  23.   <UpdateFile>http://taichi.dcmembers.com/Plugins/NWConnect/NWConnect.zip</UpdateFile>
  24.  
  25. </Local>


The key new lines are:
 <UpdateMethod>unzip</UpdateMethod>
 <SignalForUpdate>FindAndRunRobot.exe</SignalForUpdate>

the zip is unpacked into the same directory as the .dcupdate file (thats how it knows where to unzip)
and the <SignalForUpdate> stuff lets it know to tell the FindAndRunRobot.exe at start and end of unpacking to unload any plugins (this is something unique to farr).