Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
btpoole
Channel Surfer

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
0 Kudos
2 REPLIES 2
NB_
Roku Guru

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.
0 Kudos
btpoole
Channel Surfer

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
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.