Exemple #1
0
 public static ActionResult UninstallLegacyVersion(Session session)
 {
     session.Log("Begin UninstallLegacyVersion");
     var uninstaller = new UninstallNsisVersions();
     uninstaller.GetLegacyUninstallString();
     uninstaller.UninstallLegacyVersion(true);
     session.Log("End UninstallLegacyVersion");
     return ActionResult.Success;
 }
Exemple #2
0
        public static ActionResult UninstallLegacyVersion(Session session)
        {
            session.Log("Begin UninstallLegacyVersion");
            var uninstaller = new UninstallNsisVersions();

            uninstaller.GetLegacyUninstallString();
            uninstaller.UninstallLegacyVersion(true);
            session.Log("End UninstallLegacyVersion");
            return(ActionResult.Success);
        }
Exemple #3
0
        public static ActionResult IsLegacyVersionInstalled(Session session)
        {
            session.Log("Begin IsLegacyVersionInstalled");
            var uninstaller = new UninstallNsisVersions();
            if (uninstaller.IsLegacymRemoteNgInstalled())
            {
                session["LEGACYVERSIONINSTALLED"] = "1";
            }
            else
            {
                session["LEGACYVERSIONINSTALLED"] = "0";
            }

            session.Log("End IsLegacyVersionInstalled");
            return ActionResult.Success;
        }
Exemple #4
0
        public static ActionResult IsLegacyVersionInstalled(Session session)
        {
            session.Log("Begin IsLegacyVersionInstalled");
            var uninstaller = new UninstallNsisVersions();

            if (uninstaller.IsLegacymRemoteNgInstalled())
            {
                session["LEGACYVERSIONINSTALLED"] = "1";
            }
            else
            {
                session["LEGACYVERSIONINSTALLED"] = "0";
            }

            session.Log("End IsLegacyVersionInstalled");
            return(ActionResult.Success);
        }