![]() ' The FirstTime flag indicates if the AddIn is loaded for the first time. ' The AddInSiteObject provides access to the Inventor Application object. ' This method is called by Inventor when it loads the AddIn. My check is currently situated in the activate sub Public Sub Activate(ByVal addInSiteObject As Inventor.ApplicationAddInSite, ByVal firstTime As Boolean) Implements When this result = -1 the local file is out of date and the. ServerFileVersionInfo = FileVersionInfo.GetVersionInfo("T:\Inventor\Tools\xxxxx\xxxxx.dll")ĭebug.Print(String.Compare(myFileVersionInfo.ProductVersion, serverFileVersionInfo.ProductVersion)) ![]() ![]() MyFileVersionInfo = FileVersionInfo.GetVersionInfo("C:\Program Files\Autodesk\Inventor 2014\Bin\xxxx.dll")ĭim serverFileVersionInfo As FileVersionInfo I did some research and found a way to do this check. dll files the local one stored underĬ:\Program Files\Autodesk\Inventor 2014\BinĪnd the one on the network drive ( or maybe in the future, on the FTP server ). To avoid that someone forgets or ignores the email I would like to compare the AddIn. And by actively I mean by the users and the developer (me), so there are frequent updates for the AddIn holding new features and bug fixes.Ĭurrently when a new version goes live, a Email is sent to ALL of the end-users that they need to run the installer to get the latest. I made an AddIn that is actively used at my company.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |