Error 1310. Error writing to file: C:\Users\apple1\AppData\Local\Programs\UiPath\Studio\net461\UiPath.ActivityPreprocessor.CommandLine.exe.config. System error 0. Verify that you have access to that directory.
MSI (s) (F0:84) [16:21:09:517]: Product: UiPath Studio – Error 1310. Error writing to file: C:\Users\apple1\AppData\Local\Programs\UiPath\Studio\net461\UiPath.ActivityPreprocessor.CommandLine.exe.config. System error 0. Verify that you have access to that directory.
Action ended 16:21:09: InstallFinalize. Return value 3.
The error message “Error 1310. Error writing to file” usually occurs when the installer is unable to write to a specific file or directory due to insufficient permissions.
Get that particular folder accessed to read or write into it.
Can you manually create the file and ensure that it has the necessary permissions. You can do this by navigating to the C:\Users\UserName\AppData\Local\Programs\UiPath\Studio\net461 directory in Windows Explorer, right-clicking on an empty space within the folder, selecting “New” > “Text Document”, and then renaming the file to UiPath.ActivityPreprocessor.CommandLine.exe.config .
Then, right-click on the file, select “Properties”, and ensure that the appropriate permissions are set.