Question about TurboActivate for AIR

Hi

I read through the document explaining how to setup TurboActivate for AIR, and I have some questions...

- What is the 'native installer' and what role does it play? Is this an executable that bundles my app and installs it instead of the standard AIR installer? Would this affect in-app updates via the Updater.update() method (from AIR)?

- Is it possible to build the native installer with Flash Pro 5.5, or do we need to use Flash Builder? I also see that Flex is used to call an init() function, but if I'm not using Flex can I manually call the init() function when my app starts ?

Thanks for your time - if I can make sense of these things it could be a winning solution for us... 😀

-rich

Hey Rich,

What is the 'native installer' and what role does it play? Is this an executable that bundles my app and installs it instead of the standard AIR installer?

Yes. It's an exe on Windows, a dmg in Mac OS X.

Would this affect in-app updates via the Updater.update() method (from AIR)?

Yes. You can solve this problem by either using a 3rd party updater (like wyBuild) or just by having your users re-download your installer (the native installer is smart enough to do updates).

Is it possible to build the native installer with Flash Pro 5.5, or do we need to use Flash Builder?

You mean CS 5.5, right? If so, then yes. We have some customers using that successfully.

I also see that Flex is used to call an init() function, but if I'm not using Flex can I manually call the init() function when my app starts ?

All Adobe AIR languages (flex & html/js) have init() functions. But you don't have to use the init() function. Just use any function that runs at the start of your app.

Great, thank you!

I'm developing AIR apps on Flash CS5.5 ... wyBuild sounds good, I'll check it out.

-rich

Hi again

We just purchased a LimeLM/TurboActivate license and are looking to get up and running 🙂

- I saw in a different thread there is an example building with Flash CS5.5 (as opposed to Flash Builder) but I couldn't find that example in the downloads I have. Does this example exist?

- I'm deploying to AIR 3.1, is there any more info about creating native installers or is the latest AIR help url up to date at this point?

If the answer is no on either or both, it's not a big deal, I'm confident I can get things running... but just wondering if there was some newer documentation.

Thanks-rich

Hey Rich,

I saw in a different thread there is an example building with Flash CS5.5 (as opposed to Flash Builder) but I couldn't find that example in the downloads I have. Does this example exist?

We haven't written the Flash CS 5.5 example yet. But you can use the Flash Builder example to see what you need to do.

- I'm deploying to AIR 3.1, is there any more info about creating native installers or is the latest AIR help url up to date at this point?

Our documentation for Adobe AIR is valid for AIR v2.5 and above.

We plan on making an alternative integration method for Adobe AIR 3.0+ in TurboActivate 3.3. (A method that doesn't require making native installers). However, the current documentation and example project will work fine with Adobe AIR 3.0+.

Hi Wyatt

Thanks so much for all your answers so far! I implemented TurboActivate with my product today and everything is working great (although I am looking forward to using it as a native extension in 3.3). You have a very well built product and it worked fine with Flash CS5.5.

One question - I came across a function IsGenuine() and wondered what it does? It's not used in the example program, but it looked important. Can you point me to docs or just give me a short explanation?

Thanks again-rich

One question - I came across a function IsGenuine() and wondered what it does? It's not used in the example program, but it looked important. Can you point me to docs or just give me a short explanation?

The IsGenuine() function connects to the LimeLM servers and reconfirms that your user's activation is valid. Using this function lets you retroactively revoke product keys. You do not need to (and should not) call IsGenuine() every time your application runs.

We recommend you call this function about every 90 days.

Also, if IsGenuine() throws an exception (particularly InternetException) it might be a result of the user blocking TurboActivate from checking with the servers. We recommend you handle this case by first warning the user that the genuine check failed, then disabling the features of your app after X failures.

Thanks so much for all your answers so far! I implemented TurboActivate with my product today and everything is working great (although I am looking forward to using it as a native extension in 3.3). You have a very well built product and it worked fine with Flash CS5.5.-rich

Hi Rich,

How do you make it work with CS5.5? I am not able to find any example here. Your help is much appreciated.