You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: installer/ServiceControl.aip
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -376,8 +376,8 @@
376
376
<ROWCondition="VersionNT"Description="[ProductName] cannot be installed on [WindowsType9XDisplay]"DescriptionLocId="AI.LaunchCondition.No9X"IsPredefined="true"Builds="DefaultBuild"/>
Logger.InfoFormat("Granted user '{0}' HttpListener permissions for {1}.",identity,uri);
57
-
58
54
return;
59
55
}
60
56
61
-
if(deleteExisting&&error.Contains("Error: 183"))
57
+
if(deleteExisting&&error.Contains(": 183"))
62
58
{
63
59
startInfo=GetProcessStartInfo(identity,uri,true);
64
-
65
-
Logger.Info(
66
-
string.Format(
67
-
@"Failed to grant to grant user '{0}' HttpListener permissions. The error message from running the above command is: {1} Will try to delete the existing urlacl",
68
-
identity,error));
60
+
Logger.Info(string.Format(@"Failed to grant to grant user '{0}' HttpListener permissions. The error message from running the above command is: {1} Will try to delete the existing urlacl",identity,error));
69
61
70
62
if(ExecuteNetshCommand(startInfo,outerror))
71
63
{
72
-
Logger.InfoFormat("Deleted user '{0}' HttpListener permissions for {1}.",identity,uri);
64
+
Logger.InfoFormat("Deleted user HttpListener permissions for {0}.",uri);
73
65
StartNetshProcess(identity,uri,false);
74
66
return;
75
67
}
76
68
}
77
69
78
70
thrownewException(string.Format(
79
-
@"Failed to grant to grant user '{0}' HttpListener permissions.
71
+
@"Failed to grant to grant user '{0}' HttpListener permissions.
80
72
Try running the following command from an admin console:
0 commit comments