Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 387753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:42:12+00:00 2026-05-12T15:42:12+00:00

I have an Office 2007 add-in (developed using Visual Studio 2005 Tools for Office

  • 0

I have an Office 2007 add-in (developed using Visual Studio 2005 Tools for Office Second Edition) which has been packaged into an .msi file, using the Setup project in Visual Studio 2005

The problem is that when the users install the package themselves by using Next->Next->Finish then everything works normally, but when I try to install it using the domain administrator silently on all machines (In this case we have hundreds of users) then it doesn’t work properly (although it installs normally) Following is the command used to install the .msi package silently

msiexec /fa "solution.msi" ALLUSERS=1 /qb!

This image shows how the system registry is populated at install time to connect our solution to Office2007

Could there be any previous versions of the solution that might be conflicting with our silent install ? or might there be another problem ?

Could there be any problems relating to CASPOL security which could be failing when I install this silently ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T15:42:12+00:00Added an answer on May 12, 2026 at 3:42 pm

    Several things to note:

    First, the command line you gave is not for installing; if the app is already installed, it will re-install. The “/qb!” option makes the “Next” and “Finish” dialogs show up. And the “ALLUSERS=1” option tells it to put shortcuts in the All Users’ Start Menu (but doesn’t change how it installs Registry keys–more on that in a sec.) I would recommend something like this:

    msiexec /i "solution.msi" ALLUSERS=1 /qn
    

    Secondly, your snap of the Registry shows that the app requires HKEY_CURRENT_USER entries. These, as the name suggests, are separate for each user who logs onto the machine. (This explains why if users install it themselves it works.) If you install it as the Administrator account, than that account will have the Registry entries it needs–but not necessarily any other accounts that login. Your MSI has to be specially designed to push the HKCU entries for each new user who logs on.

    For tips on how to design an MSI so that it puts the HKCU Registry entries in for you, see one of the following:

    • Tips & Tricks: Using Self-Healing to Your Advantage
    • A Guide to MSI Healing
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing an Office 2007 add-in. I would like to have a piece of
Looking for advice (perhaps best practice). We have a MS Word document (Office 2007)
I am new to developing for Office Forms Server / MOSS 2007. I have
I'm using VS 2010 to develop an Excel 2007 COM Add-In. Because it's a
I have downloaded the official office 2007 UI ribbon .dll, but now what? I
Up until Office 2007 it was common for addins to add a tab page
I built an Excel add-in with VSTO 2005 SE, which I deployed to a
I'm aware of the Substance look and feels and that they have a Office
At my office we have an SVN server set up and I'd like to
We have an SEO team at my office, and one of their dictums is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.