public void RunStarted(object automationObject, Dictionary <string, string> replacementsDictionary, WizardRunKind runKind, object[] customParams)
 {
     if (runKind == WizardRunKind.AsMultiProject)
     {
         if (!NodePackageUtils.TryRegisterNpmFromDefaultLocation())
         {
             var form = new NodeJSInstallationPrompt();
             form.ShowDialog();
             if (!form.NodeFoundOnPath)
             {
                 //Advise to restart VS and backout?
                 throw new WizardBackoutException("Node.js installation required");
             }
         }
     }
 }
        public void RunStarted(object automationObject, Dictionary<string, string> replacementsDictionary, WizardRunKind runKind, object[] customParams)
        {
            if (runKind == WizardRunKind.AsMultiProject)
            {
                if (!NodePackageUtils.TryRegisterNpmFromDefaultLocation())
                {
                    var form = new NodeJSInstallationPrompt();
                    form.ShowDialog();
                    if (!form.NodeFoundOnPath)
                    {
                        //Advise to restart VS and backout?
                        throw new WizardBackoutException("Node.js installation required");
                    }

                }
            }
        }