PDA

View Full Version : Subscription Validity Check from installed APP



CMS Software
12-03-2007, 04:10 PM
The SB manual explains how to generate serial numbers and subscription keys. I also have discovered how to get the SB install program to ask for the subscription key and allow the user to install it.

The manual does not tell how I can then call the subscription checker from within my application (NOT SB) to run the same validity check. Is there a DLL that must be called? If so, what is the EXTERN declaration and what parameters are required?

I notice in here that some users talk about putting a "Check for Updates" selection in their product menus. Great idea! How do you do it? What gets executed when they click the "Check for Updates" button in MY program, not the one in the SB6 menu? What parameters need to be passed? etc.

O. D. Williams

linder
12-04-2007, 12:53 AM
Hello,

1.) Call subscription checker from your application (NOT SB)

Very easy to do. Just create a small checker application with SetupBuilder and call this from your application. For example, return "1" if the subscription key is valid, "0" if it is "invalid" or expired.

2.) "Check for Updates"

From the manual: "Your application can execute the wupdate.exe file (located in the root of your app) to check for updates."

Does this help?

Friedrich

CMS Software
12-04-2007, 12:48 PM
It gets me started in the right direction. I had not considered using SB to "build a small application". I take it that the small application would not actually install anything, it would just execute the subscription check and return the result. I'll give it a try. Thanks for the reply.

O. D. Williams

linder
12-05-2007, 12:46 AM
Hello,

SetupBuilder can also compile "non-installation" applications :) The compiler generates native Windows applications. So it's ideal to develop "helper applications".

If you need help, just let me know.

Friedrich