Inventor Customization

Reply
New Member
Posts: 1
Registered: ‎01-07-2013
Message 1 of 3 (280 Views)

conversion of 32bit addin to 64bit

280 Views, 2 Replies
01-08-2013 04:46 AM

I have also been tasked with upgrading an Inventor Addin created for a 32bit XP to use for 64bit Windows 7 and Inventor 2013.  I have converted the programs for VS2010 and the compiles Setup works fine for 32 bit, but not for the 64bit machines.  The present Installer class in the program does use Registration Services which register the dll incorrectly for the 64 bit machines (this I have gleened from other posts), but I still do not understand how to modify the code to create a Setup which will use the 64bit framework regasm. 

 

The Install Sub (Uninstall looks sim):

 

  PublicOverridesSub Install(ByVal stateSaver As System.Collections.IDictionary)

         

      MyBase.Install(stateSaver)

       

      Dim regSrv AsRegistrationServices = NewRegistrationServices()

     

         regSrv.RegisterAssembly(MyBase.GetType().Assembly, AssemblyRegistrationFlags.SetCodeBase)

 

   EndSub

 

I have also attempted removing this install/uninstall code and registering the dll manually using regasm with little luck.

 

Any help or direction would be appreciated.  THANK YOU

Distinguished Contributor
Posts: 132
Registered: ‎10-20-2001
Message 2 of 3 (276 Views)

Re: conversion of 32bit addin to 64bit

01-08-2013 05:30 AM in reply to: RWaln

Inventor 2013 can use registry based installation for 64 bit add-ins but you are far better off using the non-registry based installation. There are lots of posts and articles on how to convert a registry based install to the new style. A search here or on the web should get you pointed in the right direction.

 

 

ADN Support Specialist
xiaodong.liang
Posts: 1,190
Registered: ‎06-12-2011
Message 3 of 3 (259 Views)

Re: conversion of 32bit addin to 64bit

01-13-2013 06:47 PM in reply to: nmunro

Hi,

 

firstly, I'd recommend this AU class in which my colleauge Philippe delivered on the best pratise on Inventor add-in. I think the content answers your question.

 

http://au.autodesk.com/?nd=class&session_id=9028

 

In addition, I agree nmunro. The registry-free add-in would be more helpful to you.  In API help reference there is one topic 

[Registry-Free Add-In] which you could get started with.

 



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube