Systellence
Posts: 15
Joined: Thu Feb 09, 2012 11:36 am

Office Add-in

Hi there

We are now using Advanced Installer to install Office Add-ins. When doing the installation, everything is successfull. When running MS Word (as an example), the add-in is installed again which means that there are two installations of the add-in. Why is this happening? Even in the Control Panel the two installations are seen.

Please assist urgently!!

Regards

Systellence
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Office Add-in

This could happen if you marked the feature in which the add-in is present to be installed as advertised by default. This option is available in Organization page,
when selecting the feature. If so, please change it to installed by default and also select the option "Disable advertise".

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Systellence
Posts: 15
Joined: Thu Feb 09, 2012 11:36 am

Re: Office Add-in

Hi Bogdan

Thanks for the super quick reply.

I have done that but still doing the same. Is it normal that MS Word wants to install the Add-in once opening MS Word? (first time installation).
When opening MS Word, the add-in only appears once. If you close MS Word and open

I have attached the setup file. Not sure if you could see what the problem is perhaps by looking at the setup file?

Regards

Jaco
Attachments
setup.aip
(93.08 KiB) Downloaded 1064 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Office Add-in

The project file seems to be correctly configured. Is suspected the advertise option because this is the normal behavior. When Office was loading, it was trying to use a feature not installed, but available on the machine, i.e. advertised. So the OS automatically re-launched the package and installed it.

Since you have advertising disabled something else must be the problem. Have you tested the add-in on multiple clean machines? I ask this because the behavior reported is quite strange. A package even if its launched the second time, it should enter maintenance mode and never appears duplicated in Control Panel.

If the problem persists on multiple machine can you please send us a verbose log to support at advancedinstaller dot com so we can investigate further more, or attach it on the forums?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Systellence
Posts: 15
Joined: Thu Feb 09, 2012 11:36 am

Re: Office Add-in

Bogdan wrote:The project file seems to be correctly configured. Is suspected the advertise option because this is the normal behavior. When Office was loading, it was trying to use a feature not installed, but available on the machine, i.e. advertised. So the OS automatically re-launched the package and installed it.

Since you have advertising disabled something else must be the problem. Have you tested the add-in on multiple clean machines? I ask this because the behavior reported is quite strange. A package even if its launched the second time, it should enter maintenance mode and never appears duplicated in Control Panel.

If the problem persists on multiple machine can you please send us a verbose log to support at advancedinstaller dot com so we can investigate further more, or attach it on the forums?

Regards,
Bogdan
Good day, I have sent a verbose log of my installation setup, i tried to install it on a clean machine but im still getting two application programs in the Control Panel. The second one will be displayed with microsoft as the publisher but without the size value.
Attachments
package.log
verbose log
(582.13 KiB) Downloaded 1111 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Office Add-in

Is is possible to give us a link from where we can download the MSI package created, or send it by e-mail at support at advancedinstaller dot com?

Also, what is the version of Office targeted on your machine?

EDIT: No need for the MSI package, I've managed to reproduce this on a machine, with Office 2010 installed. I'll be investigating and come back with and answer ASAP.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Systellence
Posts: 15
Joined: Thu Feb 09, 2012 11:36 am

Re: Office Add-in

Bogdan wrote:Is is possible to give us a link from where we can download the MSI package created, or send it by e-mail at support at advancedinstaller dot com?

Also, what is the version of Office targeted on your machine?

EDIT: No need for the MSI package, I've managed to reproduce this on a machine, with Office 2010 installed. I'll be investigating and come back with and answer ASAP.

Regards,
Bogdan
Thank you so much. I will be waiting for the response.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Office Add-in

Hi,

The behavior is caused by a bug in Advanced Installer. Thank yo for bringing it to our attention, a fix will be included in the next version.

To fix your current project you need to go to Registry page, locate the key "Microsoft\Office\Word\Addins\[Manufacturer].[ProductName]" and edit the registry value "Manifest" found in it. Its current value should be something like this "[APPDIR]<add-in name>.vsto", its new value should be this "[APPDIR]<add-in name>.vsto|vstolocal".

After making this edit rebuild the MSI and test it.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Systellence
Posts: 15
Joined: Thu Feb 09, 2012 11:36 am

Re: Office Add-in

:-)

Glad we could assist. When do you expect a new version?

Will implement what you have suggested.

Thanks

Jaco
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Office Add-in

Hi Jaco,

The next version is scheduled for the first quarter of this year, unfortunately we don't have an exact release date.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Systellence
Posts: 15
Joined: Thu Feb 09, 2012 11:36 am

Re: Office Add-in

Thank you once again for the help. The solution worked, now i can install the add-ins without any problem. When i create an update for the installer, it runs the update up to finish, when i click finish it says "Some of the updates failed to install properly" but if i check the files they have been updated and my add-ins are working fine using the update. The problem is this message only("Some of the updates failed to install properly").
nedumaran
Posts: 21
Joined: Tue Apr 14, 2009 10:49 am

Re: Office Add-in

Im doing a similar thing just that I do not see the AddIn at all. The installation went through clean though.

This is how I created the MSI (using Advanced Installer I just downloaded and running it in Trial)

1. Create a new Installer Project
2. Chose Visual Studio Application
3. Entered all the details in the dialogs and when it came to Select the Visual Studio Solution, I picked my Solution
4. Chose the 'Release' option and checked 'Build selected configuration before proceeding'
5. Selected ALL the files given in 'Output Files' and Reference Files (I have a PPT addin and a Word addin)
6. Clicked Finish, Save & Build.
7. Took the MSI to another machine where I have Office 2007 installed
8. Installer went through clean
9. When I started PPT or Word, I don't see the AddIn (in fact there is no addin tab at all)

Any pointers?
Systellence
Posts: 15
Joined: Thu Feb 09, 2012 11:36 am

Re: Office Add-in

nedumaran wrote:Im doing a similar thing just that I do not see the AddIn at all. The installation went through clean though.

This is how I created the MSI (using Advanced Installer I just downloaded and running it in Trial)

1. Create a new Installer Project
2. Chose Visual Studio Application
3. Entered all the details in the dialogs and when it came to Select the Visual Studio Solution, I picked my Solution
4. Chose the 'Release' option and checked 'Build selected configuration before proceeding'
5. Selected ALL the files given in 'Output Files' and Reference Files (I have a PPT addin and a Word addin)
6. Clicked Finish, Save & Build.
7. Took the MSI to another machine where I have Office 2007 installed
8. Installer went through clean
9. When I started PPT or Word, I don't see the AddIn (in fact there is no addin tab at all)

Any pointers?
Hi, try to choose Add-ins under Project Type then Office add-in, not Visual Studio Application
Systellence
Posts: 15
Joined: Thu Feb 09, 2012 11:36 am

Re: Office Add-in

Systellence wrote:Thank you once again for the help. The solution worked, now i can install the add-ins without any problem. When i create an update for the installer, it runs the update up to finish, when i click finish it says "Some of the updates failed to install properly" but if i check the files they have been updated and my add-ins are working fine using the update. The problem is this message only("Some of the updates failed to install properly").
I have managed to correct the problem
nedumaran
Posts: 21
Joined: Tue Apr 14, 2009 10:49 am

Re: Office Add-in

Systellence wrote:
nedumaran wrote:Im doing a similar thing just that I do not see the AddIn at all. The installation went through clean though.

This is how I created the MSI (using Advanced Installer I just downloaded and running it in Trial)

1. Create a new Installer Project
2. Chose Visual Studio Application
3. Entered all the details in the dialogs and when it came to Select the Visual Studio Solution, I picked my Solution
4. Chose the 'Release' option and checked 'Build selected configuration before proceeding'
5. Selected ALL the files given in 'Output Files' and Reference Files (I have a PPT addin and a Word addin)
6. Clicked Finish, Save & Build.
7. Took the MSI to another machine where I have Office 2007 installed
8. Installer went through clean
9. When I started PPT or Word, I don't see the AddIn (in fact there is no addin tab at all)

Any pointers?
Hi, try to choose Add-ins under Project Type then Office add-in, not Visual Studio Application
Thank you. This worked. However, the add-ins are installed as disabled. What could be the reason for this? There is no AddIn folder at all.

Return to “Common Problems”