[BUG] ChatRTX installer error on non-english versions of Windows

Hello!
ChatRTX (chatrtx_installer_mistral_jul_2024) installation fails with the error “An error occurred while setting data directory.” on any non-English version of Windows 11. Here is a screenshot of the error:
image
This happens because the SetDataDirectory step calls the command:

icacls "C:\ProgramData\NVIDIA Corporation\ChatRTX" /grant Everyone:(OI)(CI)F

The name of the Everyone group depends on the language of the system, so you need to use SID. Here is the same command, but written correctly:

icacls "C:\ProgramData\NVIDIA Corporation\ChatRTX" /grant *S-1-1-0:(OI)(CI)F

I’m not the only one with this error. You only need to fix one line in the ChatRTXExt.dll code. Therefore, I kindly ask you to send this bug report directly to the development team.

2 Likes

I have found a workaround:

  1. Create a folder C:\ProgramData\NVIDIA Corporation\ChatRTX (if it does not exist)
  2. Run the command
icacls "C:\ProgramData\NVIDIA Corporation\ChatRTX" /grant *S-1-1-0:(OI)(CI)F
  1. In the ChatRTX\ChatRTX.nvi file, find the line
<custom phase="setDataDirectory" action="SetDataDirectory" when="install" progress="300">

and replace it with

<custom phase="setDataDirectory" action="SetDataDirectory" when="install" progress="300" onError="ignore">
  1. Now you can install ChatRTX
20 Likes

Oh man, you’re a life saver! Works!

Thanks a ton for your solution! I followed your steps to create the folder, adjust permissions, and edit the ChatRTX.nvi file, and it worked perfectly on my Spanish OS. You saved me a lot of headaches. Appreciate your help!

1 Like

hello, hello from Russia, I’m trying to install chatRtx 04 version, nothing works, I tried it according to your schemes, the result 0 gives out that the nvidia file is invalid, by type, cancels the installation, the hardware is new on 3060Ti, everything seems to be there, maybe you need to wait for an update when nvidia will issue a fix and chatRtx if you have if someone has or had a similar problem, and you have solved it, then please give feedback.

Просто менял я всё сделал, я немного не понял на счёт N2 как и где выполнять команду, пожалуйста помогите, очень хочу себе ChatRtx на Ии

Step 2 explained: run command prompt (cmd.exe) as administrator, copy and paste command (from step 2), press Enter.
But I think you have a mistake somewhere else. Even if you fail to fix the error, this model is still very much cut down for consumer GPUs. It’s much weaker than any free online LLM.

My God, this developer’s advice is just great! What an elegant and simple solution to an unpleasant problem!
This is an ingenious solution! It’s so nice to see how a complex problem can be solved with such a smart and affordable fix. The developer’s attention to detail and willingness to share this solution is truly commendable. This kind of community support and problem solving is what makes the tech world so fantastic!
We thank ruscreeper not only for identifying the root cause of the problem, but also for providing such a clear and effective solution. This is a useful contribution that really changes people’s lives and work. Absolutely brilliant!

Excelente trabajo intente varias cosas hasta que llegue aqui muchas gracias!!

I just came here to say thank you and to say that this tutorial still works.

Work perfect thanks.

Can confirm that this fix works on Norwegian language OS Win 11 24H2

Thanks

Hello, this solved my installation problem on my asus rog strix laptop in French.

However, after installation, the application does not open and says that a problem happened when trying to open chatrtx…no more info…I do not know where to look to resolve the issue…nothing in event logs, and I could not find any logs for nvidia app or chatrtx…

update: this is what I found
2024-10-31T09:13:32.814[I] AppDisco 96c4 AppDiscoveryTasks.cpp:48 ExecuteAsync LaunchApp
2024-10-31T09:13:32.814[I] AppDisco 96c4 AppDiscoveryHelper.cp:44 Reading LaunchPath from Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_ChatRTX
2024-10-31T09:13:32.814[I] AppDisco 96c4 AppDiscoveryUtil.cpp:214 Registry path: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_ChatRTX
2024-10-31T09:13:32.815[I] AppDisco 96c4 AppDiscoveryUtil.cpp:204 Failed to read from registry for SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_ChatRTX ProductHostExeCmd
2024-10-31T09:13:32.815[E] AppDisco 96c4 AppDiscoveryHelper.cp:53 Failed to get Launch path from registry Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_ChatRTX
2024-10-31T09:13:32.815[I] AppDisco 96c4 AppDiscoveryHelper.cp:66 Exe Path to launch :
2024-10-31T09:13:32.815[I] AppDisco 96c4 AppDiscoveryUtil.cpp:31 File does not exists
2024-10-31T09:13:32.815[I] AppDisco TASK AppDiscoveryTasks.cpp:66 Finish LaunchApp

Any Idea?

I did reinstall the full application today and it worked.

I had the infinite loop for loading chatrtx but going to C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\dist\win-unpacked and running the NVIDIA ChatRTX.exe as administrator did solve the problem…

Hope my experience can help someone…

1 Like

At step 4, where is the file ChatRTX\ChatRTX.nvi?, as I understand it, this is the chat installation file itself, but how to edit it?, can you explain step 4 in more detail please

It’s in the temporary file that you unpacked at the beginning. Just open the file in Notepad and save the changes after making them.

1 Like