running inventor view 2013 does not create registry key

running inventor view 2013 does not create registry key

Anonymous
Not applicable
1,574 Views
2 Replies
Message 1 of 3

running inventor view 2013 does not create registry key

Anonymous
Not applicable

i am wanting to use the apprentice server in another program.  The apprentice server is 'normally' found in the registry under this key: 

Computer\HKEY_CLASSES_ROOT\CLSID\C343ED84-A129-11d3-B799-0060B0F159EF

 

The problem is, that if you uninstall all things autodesk, and run a registry cleaner (or delete that key by hand), and then install only inventor view 2013 and run inventor view 2013, it will *not* create that key in the registry.

This makes it impossible to run the apprentice thru the COM mechanism, even your SDK samples will not work.

(i suspect (but havent proved), the bigger problem is on a brand new machine, install and run only inventor view 2013 , you still can't use the apprentice server.)

The 'workaround' is to install and run inventor view 2012.  running inventor view 2012 will create the registry key.  After that, running inventor view 2013 will happily update the key's value to the appropriate place. 

(C:\Program Files\Autodesk\Inventor View 2013\Bin\RxApprenticeServer.dll)

 

so try this :

1) run regedit and delete the key and all its subkeys

Computer\HKEY_CLASSES_ROOT\CLSID\C343ED84-A129-11d3-B799-0060B0F159EF

2) optionally install inventor view 2013 ('as administrator' or not doesnt matter).

2) run inventor view 2013 ('as administrator' or not doesnt matter).   exit it

3) run regedit.  the key is not there still.  you won't be able to run any SDK samples or get an apprentice server using the following 'basic'

  Set ApprenticeServer = New ApprenticeServerComponent

 

i'm on windows7, x64.  (iv2013 is: build 126, Release: 2013 RTM)

is a bug in 'inventor view 2013', or is that intended for some strange reason?

0 Likes
1,575 Views
2 Replies
Replies (2)
Message 2 of 3

wayne.brill
Collaborator
Collaborator

Hi,

 

There is a logged confirmed change request that is similar to the behavior:

"Installing Inventor View is not enough to use the Apprentice API - need to run Inventor View first to get the registry entries"

 

I added a link to this post and engineering will test the behavior you are getting.

 

I am not getting this behavior on my Win 7 32 bit vmware system with only Inventor View installed. If I run Inventor View apprentice is working and I do not have to edit the registry.

 

One suggestion to try is to run ApprenticeRegSvr.exe. It should be in a directory similar to this: 

C:\Program Files\Autodesk\Inventor View 2013\Bin

Thanks,



Wayne Brill
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 3 of 3

Anonymous
Not applicable

re: ApprenticeRegSvr.exe

hi wayne,

yes, i've tried that too.  it does not create the registry key either.  (even if run 'as administrator')

once you run regedit, and delete the 'c343ed84... ' key, i have been unable to "get it back" other than by running inventor view 2012  or writing it with some saved registry.reg  *or* by running the ApprenticeRegSvr from inventorView2012

 

>I am not getting this behavior on my Win 7 32 bit vmware system with only Inventor View installed.

uninstall your inventor view, delete c:\program files\autodesk\*  and then run a registry cleaner like CCleaner.

then reinstall IV2013   and/or run it.  still can't use apprentice.

 

i did try installing only IV2013 on a new machine (with nothing installed).  it *does* seem to work if you don't mess with regedit.  that is, it *will* create the c343ed84...  the first time you run it. 

thx for looking into this,

bd

 

0 Likes