"The installer was interrupted..."

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

"The installer was interrupted..."
Installation package does not complete 
Ian Scrivens




Posts: 19
Joined: 2010-01-22
Hi,

I have an installation package for an addin that has been working perfectly fine up until now. I cannot think of any changes that should have caused this.

The installer runs, and seems to get to the end of the installation and hen shows the message
""The installer was interrupted before Application could be installed. You need to restart the installer to try again. "

I have produced a log file from the msi which you can get here but here is the section from the end of the log file:

=== Logging stopped: 19/02/2010 15:37:25 ===
MSI © (FC:F8) [15:37:25:857]: Note: 1: 1708
MSI © (FC:F8) [15:37:25:857]: Note: 1: 2262 2: Error 3: -2147287038
MSI © (FC:F8) [15:37:25:857]: Note: 1: 2262 2: Error 3: -2147287038
MSI © (FC:F8) [15:37:25:857]: Product: StarrLink Office Add-in -- Installation failed.

MSI © (FC:F8) [15:37:25:857]: Windows Installer installed the product. Product Name: StarrLink Office Add-in. Product Version: 1.3.0. Product Language: 1033. Installation success or error status: 1603.

MSI © (FC:F8) [15:37:25:857]: Grabbed execution mutex.
MSI © (FC:F8) [15:37:25:857]: Cleaning up uninstalled install packages, if any exist
MSI © (FC:F8) [15:37:25:857]: MainEngineThread is returning 1603
=== Verbose logging stopped: 19/02/2010 15:37:25 ===

Whay could the problem?
Posted 19 Feb, 2010 09:48:14 Top
Andrei Smolin


Add-in Express team


Posts: 14106
Joined: 2006-05-11
Hi Ian,

Please check the log file typically located at [My ]Documents\Add-in Express\adxloader.log.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Feb, 2010 10:05:51 Top
Ian Scrivens




Posts: 19
Joined: 2010-01-22
Just tried the install on my dev machine and the log is as follows:

Add-in Express Loader Log File: 02/22/2010 11:21:24

Startup directory: C:\Program Files\My App\StarrLink Office Add-in\
Loader version: 5.2.2024
------------------
11:21:24 380 868 Starting the add-in unregistration process.
11:21:24 380 868 Getting the latest CLR version.
11:21:24 380 868 The latest CLR version is 'v2.0.50727'.
11:21:24 380 868 Loading CLR: v2.0.50727.
11:21:24 380 868 The CLR v2.0.50727 has been initialized successfully.
11:21:24 380 868 Creating a new domain setup.
11:21:24 380 868 Success.
11:21:24 380 868 Getting the add-in directory.
11:21:24 380 868 Success. The directory is 'C:\Program Files\My App\StarrLink Office Add-in\'
11:21:24 380 868 The configuration file is 'C:\Program Files\My App\StarrLink Office Add-in\app.config'
11:21:24 380 868 The 'shadow copy' is disabled.
11:21:24 380 868 Creating a new application domain.
11:21:24 380 868 Success.
11:21:24 380 868 Getting the base directory for the domain.
11:21:24 380 868 Success. The directory is 'C:\Program Files\My App\StarrLink Office Add-in\'.
11:21:24 380 868 Searching for the Add-in Express core library.
11:21:24 380 868 Success. The 'AddinExpress.MSO.2005.dll' file has been found.
11:21:24 380 868 Creating an instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
11:21:24 380 868 Assembly identity is 'AddinExpress.MSO.2005'.
11:21:24 380 868 Success.
11:21:24 380 868 Unwrapping the instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
11:21:24 380 868 Success.
11:21:24 380 868 Creating an instance of the XML parser class.
11:21:24 380 868 Success.
11:21:24 380 868 Loading the manifest file (C:\Program Files\My App\StarrLink Office Add-in\adxloader.dll.manifest).
11:21:24 380 868 Success.
11:21:24 380 868 Getting the root element of the manifest (C:\Program Files\My App\StarrLink Office Add-in\adxloader.dll.manifest).
11:21:24 380 868 Success.
11:21:24 380 868 Getting the 'assemblyIdentity' element of the manifest (C:\Program Files\My App\StarrLink Office Add-in\adxloader.dll.manifest).
11:21:24 380 868 Success.
11:21:24 380 868 Searching for the 'name' attribute of the 'assemblyIdentity' element.
11:21:24 380 868 Success. The name is 'StarrLinkOfficeAddin, PublicKeyToken=ba19322174b0c203'.
11:21:24 380 868 Calling the managed procedure to unregister the 'StarrLinkOfficeAddin, PublicKeyToken=ba19322174b0c203' assembly.
11:21:24 1008 Connecting to the application domain of the Add-in Express loader.
11:21:24 1008 Success.
11:21:24 1008 Loading the 'StarrLinkOfficeAddin, PublicKeyToken=ba19322174b0c203' assembly.
11:21:24 1008 Error: The Add-in Express Loader can't resolve the 'StarrLinkOfficeAddin, PublicKeyToken=ba19322174b0c203' assembly. Please check if the assembly exists in the application directory or in the GAC.
11:21:24 1008 Error: Could not load file or assembly 'StarrLinkOfficeAddin, PublicKeyToken=ba19322174b0c203' or one of its dependencies. The system cannot find the file specified.
11:21:24 1008 The managed unregistration process is complete with HRESULT = 2.
11:21:24 380 868 The system cannot find the file specified.
Posted 22 Feb, 2010 05:24:17 Top
Andrei Smolin


Add-in Express team


Posts: 14106
Joined: 2006-05-11
Hi Ian,

11:21:24 1008 Error: The Add-in Express Loader can't resolve the 'StarrLinkOfficeAddin, PublicKeyToken=ba19322174b0c203' assembly. Please check if the assembly exists in the application directory or in the GAC.


Either you don't deply the assembly to the destination folder or the PublicKeyToken specified in adxloader.dll.manifest is not the PublicKeyToken of your assembly.

How to find the PublicKeyToken of the add-in

You can find it in the setup project, which must be already built. Click on your add-in primary output in the setup project and, in the Properties window, expand the KeyOutput property and see the PublicKeyToken property value.


Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 22 Feb, 2010 06:04:48 Top
Ian Scrivens




Posts: 19
Joined: 2010-01-22
Many Thanks Andrei, that was it. The public keys were different. I have them back in synch now, and the installer is working again. :D
Posted 22 Feb, 2010 06:14:38 Top