Error 1001 in Windows: Exception Occurred While Initializing the Installation - Desktop
Error 1001 in Windows: Exception Occurred While Initializing the Installation - Desktop
Use this article when a Windows ROES native installer fails with Error 1001 while removing backup files.
If this image does not display, open it directly: 1001Exception.jpg
Overview
Error 1001 can occur during a Windows ROES native installation when leftover cleanup files from a previous or different client installation remain in the user’s local temporary folder. Acknowledging the error removes the application, so the cleanup files must be deleted before running the installer again.
Symptoms
- The Windows native installer fails near the removing backup files point.
- The installer reports Error 1001: Exception occurred while initializing the installation.
- The detailed message may include System.Argument Exception: String cannot have a zero length.
- After acknowledging the error, the application is removed.
Before You Begin
- Close the failed installer and any open ROES install windows.
- Make sure Windows File Explorer can access hidden folders, because AppData is hidden by default.
- Only remove the cleanup files listed below. Do not clear unrelated temporary files unless instructed.
- Keep the ROES installer available so it can be run again after cleanup.
Important Note
Deleting the three RWSCleanup files listed below will not impact existing installations.
Solution
Open the user’s Temp folder
In File Explorer, browse to the affected Windows user’s local Temp folder:
AppData is hidden
If the AppData folder is not visible, enable hidden files and folders in Windows File Explorer, or paste the full path into the address bar after replacing <THEUSER> with the Windows username.
Find the leftover cleanup files
Look for the following files in the Temp folder:
- RWSCleanup.dll
- RWSCleanup.InstallState
- RWSCleanup.txt
Delete the RWSCleanup files
Delete all three RWSCleanup files if present. If only one or two are present, delete the files that exist.
Run the ROES installer again
After deleting the leftover cleanup files, run the ROES native installer again and confirm that it passes the removing-backup-files stage.
Expected Result
The native installer should complete without Error 1001 after the leftover RWSCleanup files are removed from the user’s Temp folder.
Escalation Notes
- Confirm the exact Windows username used in the Temp folder path.
- Confirm whether all present RWSCleanup files were deleted.
- Confirm whether the installer was run again after deleting the files.
- Capture the full Error 1001 text if the error still appears.
- Note whether another ROES client was previously installed on the same Windows profile.