Geeks With Blogs

News This is the *old* blog. The new one is at blog.sixeyed.com
Elton Stoneman
This is the *old* blog. The new one is at blog.sixeyed.com

[Source: http://geekswithblogs.net/EltonStoneman]

The Guidance Automation Extensions Toolkit (see GAX Toolkit) gives you this lovely message when you use the "Quick Register" action in your GAX package development. It's true that it can take a while, although it's substantially quicker than the full registration action.

When you're in development though, solutions using your GAX package will read the contents from the project's bin\Debug, so you may not need to re-register between builds at all. Experiments with registration types suggest that they need to be used in the following situations:

  • Full Register – needed the first time you register the package, and may be needed following an Unregister if the package has been corrupted or isn't functioning as expected. Takes several minutes and does a variety of interesting things (check Task Manager while it's running); builds the solution and validates package XML before deploying.
  • Quick Register – may take a while, but usually in the order of tens of seconds rather than minutes. Also builds the solution and validates the package XML, but doesn't do the full suite of registration tasks. Not necessary in normal use, although if you've modified the XML it's worth having it validated before trying to use it.
  • No registration – in dev, the package is read from bin\Debug, so if you're adding or modifying templates, you can just rebuild and they'll be immediately available. Similarly if you change or add to the code in the project or dependencies, close any solutions using the GAX package and rebuild and the changes will take effect when you re-open. Interestingly, if you modify the XML – e.g. to add a new action – you can also just rebuild and not register, and the new action will be listed when you open a solution using the package. If not, disable then re-enable the package, and the new action should appear.

Obviously this only applies in dev, and if you deploy your GAX package using the MSI, you'll need to redeploy in full for changes to take effect. Useful to know though, and may mean your GAX development takes less of a while.

Posted on Wednesday, October 15, 2008 12:33 AM Scripting & Automation , GAX | Back to top


Comments on this post: Quick registration of Package in progress… This may take a while

# re: Quick registration of Package in progress… This may take a while
Requesting Gravatar...
Elton,
useful tip. Thanks. So if i get my basic package sorted (menu items appearing where i want them and say some stub classes corresponding to my actions called from those menu items), then after the first registration I can keep adding more code to the actions and just rebuild without even a quick register?


Btw, good talk at the SBUG yesterday. So are you guys buying an official license for Dundas chart to use the ESBG Exception Portal?


- cheers
benjy
Left by Benjy on Oct 15, 2008 11:56 AM

# re: Quick registration of Package in progress… This may take a while
Requesting Gravatar...
Yes that's right Benjy - just rebuild and no need to register at all. You'll need to close any solutions using the package, but if you're just changing templates you can overwrite the versions in bin\Debug without even closing solutions or rebuilding.

Glad you found the talk useful (the SBUG is here if you missed yesterday and want to find out about future sessions: http://sbug.org.uk/default.aspx). We'll be uploading the presentation shortly, and I'll post about the demo I mentioned when I have it working...

We haven't confirmed yet if we're buying a Dundas licence - the Enterprise Edition which the Portal is built on has a siable licence fee. Although I was speaking to one of the other guys from SBUG and he pointed out that the evaluation is fully-featured and has no time-outs. The licence doesn't seem to restrict you using it in production environments, so if the users can live with the "Evaluation Copy" watermark, then using the evaluation edition seems to be an alternative option.

Elton.
Left by Elton on Oct 15, 2008 12:42 PM

# re: Quick registration of Package in progress… This may take a while
Requesting Gravatar...
Are you guys buying an official license for Dundas chart to use the ESBG Exception Portal?

Thanks
Left by uzaktan egitim on Oct 17, 2008 8:49 PM

# re: Quick registration of Package in progress… This may take a while
Requesting Gravatar...
Hi Uzakatan,

Benjy also asked this - see my response here:

http://geekswithblogs.net/EltonStoneman/archive/2008/10/15/quick-registration-of-package-in-progress-this-may-take-a.aspx#402192

We still haven't decided if we're going to use the Portal as-is and get Dundas, or modify the portal to remove the fancy graphs.
Left by Elton on Oct 25, 2008 7:30 AM

# re: Quick registration of Package in progress… This may take a while
Requesting Gravatar...
This post is well written.I am interested very much in the subject matter of your blog.Some great information to be absorbed in this post.I have bookmarked this for my friends. Keep blogging.
Left by home security systems71 on May 27, 2010 8:58 AM

# re: Quick registration of Package in progress… This may take a while
Requesting Gravatar...
Really a superb entry.This post contains nice information....Thanks.Keep up the good works.
Left by Drainage Pump on Aug 25, 2010 11:33 AM

# re: Quick registration of Package in progress… This may take a while
Requesting Gravatar...
Thanks for taking the time to share this, I feel strongly about it and love reading more on this topic. Looking forward for more...
Left by Fly Ash Transportation on Mar 09, 2011 11:19 AM

Your comment:
 (will show your gravatar)


Copyright © Elton Stoneman | Powered by: GeeksWithBlogs.net