Installation issue of UiPath community edition

Hello,

I have downloaded the .exe of the community edition. But while running the same getting an error message poped up as “Installation has failed”. Below is error message in the log. Please help.

CheckForUpdateImpl: Couldn’t write out staging user ID, this user probably shouldn’t get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\Users\Radha\AppData\Local\UiPath\packages.betaId’.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)

3 Likes

I have the same error…

Hi… I’ve got the same error after one time use… please let me if this software deletes the key after using it for once…I thought this is community edition and good to learn something new… looked wonderful for the first time and can’t use anymore now…

2016-11-21 21:47:00> Program: Starting Squirrel Updater: --install . --rerunningWithoutUAC
2016-11-21 21:47:00> Program: Starting install, writing to C:\Users\kamal\AppData\Local\SquirrelTemp
2016-11-21 21:47:00> Program: About to install to: C:\Users\kamal\AppData\Local\UiPath
2016-11-21 21:47:00> CheckForUpdateImpl: Couldn’t write out staging user ID, this user probably shouldn’t get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\Users\kamal\AppData\Local\UiPath\packages.betaId’.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter…ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
at Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2016-11-21 21:47:00> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\Users\kamal\AppData\Local\UiPath\packages\RELEASES’.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
at Squirrel.UpdateManager.CheckForUpdateImpl.d__3f.MoveNext()
2016-11-21 21:47:00> CheckForUpdateImpl: Reading RELEASES file from C:\Users\kamal\AppData\Local\SquirrelTemp
2016-11-21 21:47:00> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2016-11-21 21:47:00> ApplyReleasesImpl: Writing files to app directory: C:\Users\kamal\AppData\Local\UiPath\app-2016.2.6162.37289
2016-11-21 21:47:07> IEnableLogger: Failed to install package to app dir: System.AggregateException: One or more errors occurred. —> System.IO.IOException: Access to the path ‘x86’ is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassaf.<>c__DisplayClassb3.<>c__DisplayClassb5.b__ad(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()
— End of inner exception stack trace —
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassaf.<>c__DisplayClassb3.b__ac(DirectoryInfo ld)
at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassaf.<b__a9>d__b7.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.d__501.MoveNext() ---> (Inner Exception #0) System.IO.IOException: Access to the path 'x86' is denied. at System.IO.DirectoryInfo.MoveTo(String destDirName) at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassaf.<>c__DisplayClassb3.<>c__DisplayClassb5.<installPackageToAppDir>b__ad(DirectoryInfo subdir) at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.b__17()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()<—

2016-11-21 21:47:07> Unhandled exception: System.AggregateException: One or more errors occurred. —> System.AggregateException: One or more errors occurred. —> System.IO.IOException: Access to the path ‘x86’ is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassaf.<>c__DisplayClassb3.<>c__DisplayClassb5.b__ad(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()
— End of inner exception stack trace —
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassaf.<>c__DisplayClassb3.b__ac(DirectoryInfo ld)
at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassaf.<b__a9>d__b7.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.d__501.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__7b.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Squirrel.Update.Program.<Install>d__38.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at Squirrel.Update.Program.executeCommandLine(String[] args) at Squirrel.Update.Program.main(String[] args) ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'x86' is denied. at System.IO.DirectoryInfo.MoveTo(String destDirName) at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassaf.<>c__DisplayClassb3.<>c__DisplayClassb5.<installPackageToAppDir>b__ad(DirectoryInfo subdir) at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.b__17()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassaf.<>c__DisplayClassb3.<installPackageToAppDir>b__ac(DirectoryInfo ld) at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext) at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassaf.<<installPackageToAppDir>b__a9>d__b7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Utility.<LogIfThrows>d__501.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Squirrel.UpdateManager.ApplyReleasesImpl.d__7b.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.UpdateManager.d__f.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Squirrel.Update.Program.d__38.MoveNext()
—> (Inner Exception #0) System.IO.IOException: Access to the path ‘x86’ is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassaf.<>c__DisplayClassb3.<>c__DisplayClassb5.b__ad(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()<—
<—

1 Like

Hi,

Please make sure that there is no anti-virus preventing the setup to write in that folder. Also check the permissions for that folder.
You can try again by deleting the %localappdata%\UiPath folder and try installing again.

4 Likes

Hi Lavinia,

Thank you for responding to my query, I’ve tried to clear the %localappdata%\UiPath folder multiple times and it still throws the same error, I do have McAfee antivirus and not sure if that is deleting files. Does that mean the file extensions are suspicious or the tool written in .NET libraries use intrusive Windows commands which Antivirus thinks as suspicious and deletes it.

Please let me what should I do or configure McAfee to not delete files if it is deleting it.

Hi

I have same problem and I have also McAfee. I tried to close firewall and disable real time check. Still same results. UIPath will write the folder UIPath and then folders packages and app-2016.2.6162.37289 but it won’t find .betaId from there. There is only UiPath-2016.2.6162.37289-full.nupkg

Hello, I’m getting this same error message. no firewalls or anti virus that could be blocking and have tried deleting %localappdata%\UiPath folder and re/installing…has anyone else had any luck with this issue?

2 Likes

I had the same issue and saw the thread here. I as well have McAfee, which I temporarily disabled. I reran the install after deleting the folder, and it worked no problems.

8 Likes

Thanks Perry…your suggestion worked!!!

yes seemed to be a mcaffee issue, all sorted now, Thanks for your help!!

1 Like

and for me, just disabled it and ran the install again. Thanks

I am facing the same issue. Disabled the antivirus and also deleted the local app data uipath folder. Still facing the installation failed error. Any resolution for this?

Any UiPath support Guys here??? This seems to a major issue and needs attention :frowning:

1 Like

Even after trying everything it still doesn’t work :frowning:

Tried following -

  1. Mc Afee (Disabled and tried)
  2. got following file at the following path not able to delete the folder as suggested above :frowning: -
    C:\Users\5558\AppData\Local\UiPath\app-17.1.6344\UiPath
    “FuncServer_x64.exe”

Is there any option to install the software to another directory, eg. C:\Program Files (x86).… ?

Thanks in advance.
Rudolph

Not with community no. With the Windows Installer (.msi) yes, you can change the folder from the Advance screen.

I don’t have McAfee installed, but still I am facing the issue. I tried deleting the localappdata folder but no luck. It will be helpfull if any UiPath supporters guys can come up with a real solutions for this problem.

Thank you Perry i had the same scenario , i reran the install after uninstalling McAfee it worked for me too without any problems.

I’m having a similar issue except none of the fixes mentioned here are working for me. As this is marked as resolved I created a new thread for those who have the issue persisting:

Kind regards,

John.

I am also facing same issue.
Installed community version, for a while it worked well and suddenly stopped responding.
Post that I Unistalled the UI path but unable to delete UiPath folder in Local app data even though I am an admin.
In case of new installation getting bellow error.

image

2 Likes