unable to uninstall add-in after adding to built-in Office menu

Add-in Express™ Support Service
That's what is more important than anything else

unable to uninstall add-in after adding to built-in Office menu
 
cocoder




Posts: 34
Joined: 2010-07-07
I added a menu control to my add-in that adds a menu item to the "Tools" drop down menu in Project. It works fine...until I try to uninstall the add-in. Then I get the following error message:

There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.


The menu and the commandbar button are removed from Project but the application files are not removed and the application is still listed in the add/remove programs list. I can't reinstall because windows still thinks it's installed.

Any thoughts on why the addition of the menu control would cause this problem?
Posted 22 Oct, 2010 16:58:23 Top
Eugene Astafiev


Guest


Hi Colleen,

I have a bunch of questions for you:
1. What version and build number of Add-in Express do you use?
2. Could please show the adxloader.log and adxregistrator.log files to me?
3. Did you install the add-in for all users?
4. What OS do you use?
Posted 25 Oct, 2010 06:55:13 Top
cocoder




Posts: 34
Joined: 2010-07-07
OK, Add-in express is 2010, version 6, build 3043

Yes the add-in is installed for all users
Operating system is windows xp

Add-in Express Loader Log File: 10/22/2010 14:39:26

Startup directory: C:Program FilesOPDEC ToolsCritical Path 2011
Loader version: 6.0.3043 
------------------
14:39:26 1016 2508 Start.
14:39:26 1016 2508 Reading the registry key 'HKEY_CLASSES_ROOTCLSID{5491E10D-19B7-4DED-A971-4857A5A28E78}'
14:39:26 1016 2508 Success. The registry key 'HKEY_CLASSES_ROOTCLSID{5491E10D-19B7-4DED-A971-4857A5A28E78}' is closed.
14:39:26 1016 2508 Converting the '{4BA250A6-8BCA-46A6-982A-F340081187C3}' CLSID from string.
14:39:26 1016 2508 Success.
14:39:26 1016 2508 Attempting to get the class object by the '{4BA250A6-8BCA-46A6-982A-F340081187C3}' CLSID.
14:39:26 1016 2508 Success.
14:39:26 1016 2508 Creating a new instance of the add-in loader.
14:39:26 1016 2508 Success.
14:39:26 1016 2508 Loading the configuration from the system registry.
14:39:26 1016 2508 Getting the latest CLR version.
14:39:26 1016 2508 The latest CLR version is 'v2.0.50727'.
14:39:26 1016 2508 The configuration has been loaded successfully.
14:39:26 1016 2508     Runtime version: v2.0.50727.
14:39:26 1016 2508     Assembly name: OPDEC Critical Path 2011, PublicKeyToken=7F5ED000F1203A97.
14:39:26 1016 2508     Class name: CriticalPath2011.AddinModule.
14:39:26 1016 2508 Attempting to create a new instance of the managed add-in class: CLR - v2.0.50727
14:39:26 1016 2508 Loading CLR: v2.0.50727.
14:39:26 1016 2508 Calling GetCLRMetaHost method.
14:39:26 1016 2508 Failed.
14:39:26 1016 2508 The loader will try to use the old Framework API.
14:39:26 1016 2508 The CLR v2.0.50727 has been initialized successfully.
14:39:26 1016 2508 Creating a new domain setup.
14:39:26 1016 2508 Success.
14:39:26 1016 2508 Getting the add-in directory.
14:39:26 1016 2508 Success. The directory is 'C:Program FilesOPDEC ToolsCritical Path 2011'
14:39:26 1016 2508 The configuration file is 'C:Program FilesOPDEC ToolsCritical Path 2011pp.config'
14:39:26 1016 2508 The 'shadow copy' is enabled.
14:39:26 1016 2508 Creating a new application domain.
14:39:26 1016 2508 Success.
14:39:26 1016 2508 Unwrapping the managed class.
14:39:26 1016 2508 Success.
14:39:26 1016 2508 Querying the add-in extensibility.
14:39:26 1016 2508 Querying the custom task panes.
14:39:26 1016 2508 Querying the ribbon extensibility.
14:39:26 1016 2508 Success.
14:39:26 1016 2508 Querying the form regions.
14:39:26 1016 2508 Success.
14:39:26 1016 2508 Getting the dispid of the 'Dispose' method.
14:39:26 1016 2508 Success.
14:39:26 1016 2508 The managed add-in class has been created successfully.


Add-in Express Registrator Log File: 10/22/2010 14:46:55

Installation directory: C:Program FilesOPDEC ToolsCritical Path 2011
Registrator version: 6.0.3043.0 
-------------------------------
14:46:55 Starting the add-in unregistration process.
14:46:55 Loading mscoree.dll
14:46:55 Success.
14:46:55 .NET Framework installation directory: 
14:46:55 The latest version of .NET Framework: 'v2.0.50727'
14:46:55 Loading CLR: v2.0.50727.
14:46:55 Calling GetCLRMetaHost method.
14:46:55 Failed.
14:46:55 The loader will try to use the old Framework API.
14:46:55 The CLR v2.0.50727 has been initialized successfully.
14:46:55 Creating a new domain setup.
14:46:55 Success.
14:46:55 Getting the add-in directory.
14:46:55 Success. The directory is 'C:Program FilesOPDEC ToolsCritical Path 2011'
14:46:55 The configuration file is '(null)'
14:46:55 The 'shadow copy' is disabled.
14:46:55 Creating a new application domain.
14:46:55 Success.
14:46:55 Getting the base directory for the domain.
14:46:55 Success. The directory is 'C:Program FilesOPDEC ToolsCritical Path 2011'.
14:46:55 Searching for the Add-in Express core library.
14:46:55 Success. The 'AddinExpress.MSO.2005.dll' file is found.
14:46:55 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
14:46:55 Assembly identity is 'AddinExpress.MSO.2005'.
14:46:55 Success.
14:46:55 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
14:46:55 Success.
14:46:55 Calling the managed registration procedure.
14:46:57 Success.
14:46:57 The add-in registration process is completed with HRESULT = 0.
Posted 25 Oct, 2010 09:12:54 Top
Eugene Astafiev


Guest


Colleen,

Thank you for providing me with log file. They look good. I didn't find anything strange.

Please make sure that you have required permissions to write in the HKLM registry hive (try to log on as an administrator). Could you also provide me with a sample add-in project which can help me in reproducing the issue?

FYI You can install the latest build of http://www.add-in-express.com/downloads/adxnet.php and replace the adxloader[64].dll in the Loader folder of your project with a new one (see the Redistributables folder).
Posted 25 Oct, 2010 10:18:45 Top