Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-01-2005, 04:34 PM
Junior Member
 
Join Date: Apr 2005
Posts: 2
Default Check Registry - Any Help Would Be Great

In a nutshell, I am building a product management tool in Flash, that customers will be able to download, wrapped in an SWFkit EXE file. When they run this tool, they will have access to updates and a number of other goodies. Each product we send out leaves a registry imprint so that updaters can see original product install before continuing.

Like most small companies, money is not an object, and useless downloading of product updates by non-customers is a bit hard on bandwidth. What I would like to do is have the links to our product updates within this Flash/SWFkit Product Manager tool, and only give users with the original product installation the option to download and install the udpates.

So, basically, they open the tool, and the list of updates appears. What I hope to do is have each update download button check the users registry for an original product key before allowing them to download. I know this should be possible, but I must confess, programming, outside of maybe HTML, isn't my strength. Would someone be so kind as to provide me with insight as to how this procedure can be coded?

Thanks very much.
Jason D.
Reply With Quote
  #2 (permalink)  
Old 04-04-2005, 04:08 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Check Registry - Any Help Would Be Great

Sure this can be done by swfkit:

1. at the first time to run the tool, it saves the initial version number in Registry. (using the readProfile/writeProfile methods or RegKey object)

2. get the updating information from inet(using the Inet.getUrl method)

3. parse the updating information file, e.g. if it's a ini file, parse it with the Ini object and get a list of new files to download

4. check the user information, get the user name and password, if valid, download the new files (to verify the user name and password, you can use the Application.expiry object)
Reply With Quote
  #3 (permalink)  
Old 04-08-2005, 02:31 AM
Junior Member
 
Join Date: Apr 2005
Posts: 2
Default Re:Check Registry - Any Help Would Be Great

Thanks for the help, but again, I'm kinda one of those programming for dummies type of guys.

What I am trying to do is actually read a registry entry from another program, i.e. one of our applications. When the user wants to download a patch from us, through our product manager, which is developed in Flash/SWFkit, they will only be able to download the patch if they have the original application installed. This keeps people from downloading unnecessary files and consuming expensive bandwidth.

So, what I am looking to do is something that goes like this:

1. user opens product manager, selects update screen
2. updates are listed on update screen
3. user selects update, via Flash button, to download and install
4. Registry checking code checks the users registry for original installed app before allowing the download. Sort of a 'if key exists, allow download' kind of situation.

Although I have looked closely at the RegValue code, it isn't very clear as to how one might go about checking a registry key and/or value. The docs do, however, show how to write a registry key. If i could make a suggestion, particularly for those of us who are of the programming incapable group, it might be nice to have a forum, or section of the website with scripts for various things, kinda like many of the Flash/Actionscript sites.

Anyway, thanks for the help.
Jason D.
Reply With Quote
  #4 (permalink)  
Old 04-10-2005, 02:47 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Check Registry - Any Help Would Be Great

Please send us your app, we will make a sample for you. Thank you.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:51 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.