none
Installing VSTO AddIn Prerequisites as admin, but the addin as regular user. RRS feed

  • Question

  • I'm deploying an Excel Add In with a bootstrapper over the internet.

    I understand that .NET 4.0 Client Profile and the VSTO Runtime have to be installed as administrator, but if I log in as admin when the UAC prompts me, my add-in is installed only on the administrator account.

    I could simply re-run the setup once the prerequisites are installed to install it for the current regular user, but that's not really intuitive a potentially technologically impaired user most likely won't think about it.

    I already generate my bootstrapper with the GenerateBootstrapper class/MSBuild task so if there is something I can change there it won't be too much trouble.

    Is there a way to way to install the prerequisites as admin but the add-in as the current user with a single package or do I absolutely have to install the prerequisites separately?

    Thanks.

    Thursday, September 13, 2012 5:35 PM

Answers