AutoCustomise.dll error during registration

AutoCustomise.dll error during registration

Mark_Wigan
Collaborator Collaborator
1,582 Views
3 Replies
Message 1 of 4

AutoCustomise.dll error during registration

Mark_Wigan
Collaborator
Collaborator
i have had a look through the SDK developer & user tools and tried to register the AutoCustomise.dll however i am getting an error. see attached picture of visual studio prompt and returned error...

i have reviewed the path shown in the error and all seems well from my limited experience on this topic, so i am not sure why the missing item error is returned.

has this been a problem for anyone else, and has anyone actually successfully used this AutoCustomize tool before and is it worth trying out?

thanks for any help you may offer...

-Mark.

ps- this is from the updated SDK tools downloaded tonight for inv 2010 (64 bit) i am running windows 7.
best regards,
- Mark

(Kudo or Tag if helpful - in case it also helps others)

PDSU 2020 Windows 10, 64bit.

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

Anonymous
Not applicable
I think the regasm in the VC Tools is for 32 bit DLLs. Try using the 64bit version located in C:\Windows\Microsoft.NET\Framework64\v2.0.50727.
0 Likes
Message 3 of 4

Mark_Wigan
Collaborator
Collaborator
success finally...

-after i carried out the following steps:

1. thanks to your assistance, i stated the full path of the 64bit Regasm.exe and also the full path of the assembly .dll file (shown in the attached picture).

2. i created a folder "C:\Users\Public\Documents\Autodesk\Inventor" and copied the 3 AutoCustomise files into this location (i.e. the folder path that Regasm.exe showed in its error statement).

ps- (the default inventor installation on my windows7 installation for my inventor 2010 is a different folder than where the "C:\Users\Public\Documents\Autodesk\Inventor 2010\SDK\UserTools\AutoCustomize\bin\Release\AutoCustomize.dll" was searching during registration of the dll file.

it would apear that the msi installer file defines the "C:\Users\Public\Documents\Autodesk\Inventor" path? From my limited experience i would say that the msi installer (C:\Users\Public\Documents\Autodesk\Inventor 2010\SDK\UserTools.msi) that autodesk deploy through the SDK package (even the updated versions for 2010) require this path to be ammended? maybe it is a carry over from inventor 2009?
best regards,
- Mark

(Kudo or Tag if helpful - in case it also helps others)

PDSU 2020 Windows 10, 64bit.

0 Likes
Message 4 of 4

Anonymous
Not applicable
The problem is the space in the directory name. If you wrapped the whole path in quotes, then you can register it anywhere.

{code}
regasm /codebase "c:\My Folder Name\My DLL Name.dll"
{code}
0 Likes