Installing - Templates or Gizmox menu items missing after installation

From Visual WebGui Wiki

Jump to: navigation, search

Contents

Overview

On some occasions after installing Visual WebGui, no project item templates are available, or the Tools / Gizmox menu item is missing, evan after installing reporting full success.

Prerequisites

Visual WebGui project and item templates, as well as other Visual Studio integrations in general (property tabs, Set as start form etc) need Visual Web Developer of Visual Studio. This means that if Visual Web Developer is not installed, the integrations and templates will not be installed as a part of Visual WebGui. If that is the case, you need to uninstall Visual WebGui, update your installation of Visual Studio so it includes Visual Web Developer, and then reinstall Visual WebGui.

This is particulary true for Visual Studio Express, which in 2008 has 3 flavors. The Visual C# 2008 Express and Visual VB.NET 2008 Express flavors do not include Visual Web Developer, so in that case you need to update to Visual Web Developer 2008 Express in order to have the integrations working.

Visual Studio Service Packs

In addition, please make sure you have the latest service packs installed for the Visual Studio version you are using.

Cause

The cause for missing Visual WebGui item templates or menu items has not been fully determined. In most cases known so far, it is believed to be caused by some kind of access restrictions while installing, so be sure you install with admin privileges when installing.

Details for Visual Studio Standard and above

Steps to resolve this issue:

  1. Close all Visual Studio windows.
  2. Uninstall Visual WebGui on your machine.
  3. Open a command prompt with "Run as Administrator", or otherwise assure you have full admin privileges.
  4. Change to the folder containing the Visual WebGui MSI package to install
  5. Run without quotes "MsiExec /lvx MyLogFile.log /Package Visual_WebGui_MSI_Package.MSI"
  6. Determine the path to DevEnv.EXE of your visual studio version, below refered to as just DevEnv.EXE.
  7. Run without quotes "DevEnv.EXE /ResetSkipPkgs"
  8. Run without quotes "DevEnv.EXE /Setup"

At this point your Visual WebGui integrations (Templates and menu items) should be available.

If they are not, the installation will output a logfile, MyLogFile.log, which you can view for problems, and that can later be sent to support for further study, if needed.

Template Caching

Visual Studio caches active templates, and in some rare cases, the cache is not flushed with the procedure above, so new templates are not available to you. In that case you can flush the templates by running (without quotes) "DevEnv.EXE /installvstemplates.

Details for Visual Web Developer 2010 Express

  1. Close all Visual Studio windows.
  2. Uninstall Visual WebGui on your machine.
  3. Open a command prompt with "Run as Administrator", or otherwise assure you have full admin privileges.
  4. Change to the folder containing the Visual WebGui MSI package to install
  5. Run without quotes "MsiExec /lvx MyLogFile.log /Package Visual_WebGui_MSI_Package.MSI"
  6. Determine the path to VWDExpress.EXE of your visual studio version, below refered to as just VWGExpress.EXE (most often at C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE).
  7. Run without quotes "VWDExpress.EXE /Installvstemplates"  (Note that this command takes a while to run, so make sure using task manager that it has completed before continuing).

At this point your Visual WebGui templates installed in Visual Web Developer 2010 Express. Note that for Express versions you will not get any Visual WebGui integrations and no menu items either.

If they are not, the installation will output a logfile, MyLogFile.log, which you can view for problems, and that can later be sent to support for further study, if needed.

Details for Visual Web Developer 2008 Express

  1. Close all Visual Studio windows.
  2. Uninstall Visual WebGui on your machine.
  3. Open a command prompt with "Run as Administrator", or otherwise assure you have full admin privileges.
  4. Change to the folder containing the Visual WebGui MSI package to install
  5. Run without quotes "MsiExec /lvx MyLogFile.log /Package Visual_WebGui_MSI_Package.MSI"
  6. Determine the path to VWDExpress.EXE of your visual studio version, below refered to as just VWGExpress.EXE (most often at C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE).
  7. Run without quotes "VWDExpress.EXE /Installvstemplates" (Note that this command takes a while to run, so make sure using task manager that it has completed before continuing).

At this point your Visual WebGui templates installed in Visual Web Developer 2008 Express. (Note that for Express versions you will not get any Visual WebGui integrations and no menu items either.

If they are not, the installation will output a logfile, MyLogFile.log, which you can view for problems, and that can later be sent to support for further study, if needed.

UAC - User Account Control

On those versions of Windows that support UAC, this feature has been known to cause problems with various installations and occasionally when running various processes which require full admin rights. It seems that granting access by clicking the button to allow access, when the UAC prompts you for confirmation, is not granting a full access to everything needed. This can interfere with some versions of Visual Studio, not only for Visual WebGui installations, but for many others that require updating of Visual Studio integration information, an operation that will require full administrative access to be able to fully and sucessfully complete it's operations.

In case you do have the problems described in this article, it may be necessary to turn off UAC while completing the tasks to rule out that possibility and then making sure you perform the steps full full and unblocked administrative privileges.

References

Forum Threads

See Also



Personal tools