btpoole
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2017
11:06 AM
Check for Previous Installed Version of Channel
Is there an easy way to check for a previously installed version of a channel? For example, user installs a channel, an update comes out, the update checks if previous version exist. I have an idea on checking registry for existing info but was wondering if there was another way.
Thanks
Thanks
2 REPLIES 2
NB_
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2017
11:44 AM
Re: Check for Previous Installed Version of Channel
When new version is installed and has chance to run, the old one has already been removed.
Using `roRegistrySection` is the way to handle this - e.g. say have a key `version` in it, on app launch check what's in it and if older, do whatever upgrade or notification needed. If key does not exist, it's first install of the app (or prior version that did not care about versioning). Then store the current version there.
Using `roRegistrySection` is the way to handle this - e.g. say have a key `version` in it, on app launch check what's in it and if older, do whatever upgrade or notification needed. If key does not exist, it's first install of the app (or prior version that did not care about versioning). Then store the current version there.
btpoole
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2017
12:03 PM
Re: Check for Previous Installed Version of Channel
Thanks, kinda what I am doing. Just wasn't sure if I am over looking something else that might exist to do the same thing.
Thanks
Thanks