DX Gadget (exe) deployment

Custom files

Tuesday, June 12, 2007 by TwoWolves | Discussion: DesktopX

Have any DesktopX gadget/widget/object creators solved this problem.
 
I have created a compound object that contains two "custom files", a dll and an html file.
 
When I launch it as an object on my build machine everything is fine because Object.Directory refers to my "Current Theme" directory where they get put.
 
Now if I build it into a gadget (one binary) and deploy it to another test computer the files don't seem to extract and the gadget doesn't work properly.
 
I selected to build a gadget and have "Pro", documentation says :
 
"All the files needed by DesktopX are placed in a temporary directory when this is run, so it is still possible to access these via script."
 
Is there any way to get these custom files to deploy with the gadget like they do with a desktopX object? Or am I stuck with building an installer?
 
Thanks
TwoWolves
Reply #1 Tuesday, June 12, 2007 12:05 PM
Nevermind, I'm being thick.

It got deployed OK, it is the security settings. I need to register the activeX component.

SirSmiley
Reply #2 Tuesday, June 12, 2007 6:23 PM
Just a thought. I've played around with more than a few activeX components (not Stardock). Maybe you should think about setting on option on first run for the end user to permanently place/register the activex.

Not sure if it really would be noticeable in regards to resource usage but, maybe will prevent any gadget operating glitches. Just my two cents.
TwoWolves
Reply #3 Wednesday, June 13, 2007 5:55 AM
Clearly great minds think alike - that's exactly what I have done and it works like a charm.

Thanks SS...

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01