Our product includes a Visual Studio addin.  For the most part everything
works fine, but occasionally we need to reset the addin.  Visual Studio
documents the /resetaddin option to do this:

    devenv /resetaddin MyAddin.Connect

We can include the command in our documentation, but it would be much cooler
to "do the right thing" automatically in our installer.  Unfortunately in
addition to resetting the addin, the command also brings up the IDE.  I can
force the IDE to exit by adding "/command exit" to the command line, but
that results in the IDE window flashing up onto the screen and then going
away.

I've managed to get this into our Wix script with the following entries:

      <CustomAction
         Id="VS2005ResetAddin"
         Property="VS2005DEVENV"
         ExeCommand="/resetaddin MyAddin.Connect /command exit"
         Return="asyncNoWait" />

      <InstallExecuteSequence>
         <Custom Action="VS2005ResetAddin" Before="InstallFinalize" />
      </InstallExecuteSequence>

CustomAction doesn't appear to have any way to influence the initial window
state, and even if I try to from the command line with

    start /min devenv /resetaddin MyAddin.Connect /command exit

I get the window flash.  Can anybody suggest any way to suppress the display
of the IDE window?

Thanks.

    - Barry
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to