NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 25 26 27 28 29 … 93 Next »
Who would be interested in helping with a plugin install utility?

 
  • 0 Vote(s) - 0 Average
Who would be interested in helping with a plugin install utility?
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#31
2009-02-27, 04:32 PM
reven Wrote:'xcopy' deployment strategy?

i was thinking making a simple install package app, that you could specify what files/directories were updated/installed and the overwrite conditions (file version numbers or modified dates for .xmls/images). and basically just zip up all the files and include a install.xml or something inside that zip with the instructions (i think the mediaportal installer is something like this) with the extension .gbpvr or something.
but then what about upgrades? do you want the user to download the entire thing just for one modified file? hmmm. i suppose you could do a update package aswell, and check if the updates they need to download is greater than the full package and if it is download the full package, and if not download each update and apply it.

currently all i have is a NSIS installer...

I'm pretty sure we're on the same page.

The xcopy thing is a buzz word I picked up while sreaching the net. Apparantly an app, uses xml files instead of registry, so that a folder can be backed up or xcopied into place for install, upgrade etc...

Funny how, we used INI files, then told to use the registry, then told to use 'ini' files again...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#32
2009-02-27, 05:00 PM
I did an install program for Mce2XmlTv that was basically an executable that extracted files from a zip and installed them where they needed to be. Only two files involved: Setup.exe and Setup.dat (the zip file). It could easily be modified to do more (like version checking, etc). I already included checks that extracted different dlls depending on the version of Windows (needed because MCE05 needed different references than VMC). It could also be made to have the packages saved inside Setup.exe as resources.

It should be included in the Mce2XmlTv source that's linked on the wiki.
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#33
2009-02-27, 05:10 PM
I don't know if you're looking for a installer program itself, but I've used InstallJammer at work and it is pretty nice. Free too...

http://www.installjammer.com
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#34
2009-02-27, 10:31 PM
Well here's how I see this updater thing...

As mentioned previously, I have a XML Schema I'm developing to list out the components that make up a package.

I see an update being one or two files of a package, so that not everything needs to be downloaded again. (of course a dev could roll out a whole package this way too)

So continuing with this idea, I see a online repository, with sub directories, containing the individual files from that package.

So when the updater reads an xml, that says that there are two new files of a package that can be downloaded and updated, the xml will also include the specific path to that file, download (maybe unzip) and then install locally...

I would be making the app ftp/http enabled so that it can handle some web directory management. It would be zip-enabled so that the individual files could be zipped and uploaded / downloaded and unzipped.

The actual collection of xml files can be hosted on whurlston's web space, though, the xml could point to a download location on others servers if bandwidth is an issue.
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
mkenyon2
Offline

Senior Member

Posts: 715
Threads: 208
Joined: Dec 2006
#35
2009-02-28, 12:03 AM
A web service could read (using reflection) assembly version info, and compile a dataset that can be sent as xml.

When I did an update service... I did not zip the files, I could have the update send only the ones that were updated. That way if a common assembly that several plugins use was updated, it alone would be sent.
Currently Running: 1.4.7
[SIZE="1"]HTPC:
Motherboard: ASUS P5LD2 Mobo w/ 945P chipset / CPU: Intel P4 3.0GHz
RAM: 3GB RAM / Video: ASUS Radeon X300SE 128Mb PCIx 16
Tuner(s): ATI TV 650 Dual (PCIx)
OS: Win XP Pro SP3[/SIZE]

[SIZE="1"]Feeding:
2 - Wired MVP[/SIZE]
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#36
2009-02-28, 12:25 AM
zehd Wrote:So continuing with this idea, I see a online repository, with sub directories, containing the individual files from that package.

yeah i like that idea, that way when a author adds a update the user only downloads the modified files (presumably all zipped up) and not the unmodified files (all the images etc that dont tend to change very often during an update).
and the author doesnt have to worry about an update installer.

i would probably store the version number in the gbpvr config.xml (or a database) and if the version number is run a dbupdate when the user opens the plugin for the first time.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 3,109 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,578 2020-11-14, 08:01 PM
Last Post: sub
  Script Helper Utility JavaWiz 2 2,440 2020-05-25, 11:00 AM
Last Post: Graham
  VIdeo playback from plugin mvallevand 5 3,656 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 3,023 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,897 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,345 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 2,036 2013-03-12, 06:48 AM
Last Post: psycik
  Faking NPVR install for dev machine? reven 12 4,337 2012-10-30, 07:17 AM
Last Post: reven
  Plugin problems with started from the command line mvallevand 11 5,275 2012-08-12, 07:56 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode