November 20, 20187 yr ok let's try this: 1) open a cmd prompt 2) type the following: cd %userprofile% 3) it should change to your user profile folder as shown in the cmd prompt. What is it? 4) type the following to find where is the folder in question: reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v personal what does it say?
November 20, 20187 yr Author 1 hour ago, RXP said: ok let's try this: 1) open a cmd prompt 2) type the following: cd %userprofile% 3) it should change to your user profile folder as shown in the cmd prompt. What is it? 4) type the following to find where is the folder in question: reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v personal what does it say? it's say see the follow screenshots answer 3 answer 4 X-Plane 11 -My favorite aircraft F33A BONANZA XPLANE 11 REP , CAR PREMIER 1A
November 20, 20187 yr Ok, so according to Windows, your personal "documents" folder is at this location: "C:\Users\Gebruiker\Documents" now if in the cmd prompt you type: cd C:\Users\Gebruiker\Documents Does the cmd prompt shows it is now in this specific folder?
November 20, 20187 yr Author 6 minutes ago, RXP said: Ok, so according to Windows, your personal "documents" folder is at this location: "C:\Users\Gebruiker\Documents" now if in the cmd prompt you type: cd C:\Users\Gebruiker\Documents Does the cmd prompt shows it is now in this specific folder? answer I also did a dir no logfiles from rxp X-Plane 11 -My favorite aircraft F33A BONANZA XPLANE 11 REP , CAR PREMIER 1A
November 20, 20187 yr At least this confirms the path we'd get from the Windows SDK, is the same as the one you have! This doesn't explain why there is no log file though, and I'll have to further search probable causes. I'll review if latest build didn't introduce a bug of some sort. Again, it is not detrimental to the solution. Log files are there only to assist you finding out possible causes of errors, or to help us assisting you. Should the solution is running fine, there would be no need for log files.
November 20, 20187 yr Author 1 minute ago, RXP said: At least this confirms the path we'd get from the Windows SDK, is the same as the one you have! This doesn't explain why there is no log file though, and I'll have to further search probable causes. I'll review if latest build didn't introduce a bug of some sort. Again, it is not detrimental to the solution. Log files are there only to assist you finding out possible causes of errors, or to help us assisting you. Should the solution is running fine, there would be no need for log files. Ok Jean-Luc thank you for putting so much time into my problem. Incidentally, everything works very well. For the crash and system recovery and restore of my xplane 11 which is already the beta 30b4 and an update of windows 11 build 17763.134 I had in my folder documents the logfiles and given the date when it was before the crash I had deleted it. Since the re-installation of rxp gtn 750, no log files are created at every startup of xplane. Thanks and I will wait until you find a cause of this issue Jefken X-Plane 11 -My favorite aircraft F33A BONANZA XPLANE 11 REP , CAR PREMIER 1A
November 22, 20187 yr Hi, we've just released v2.5.8 update which I hope will solve saving log files on your system? Otherwise, it has also been tested against the latest XP11.30b5
November 22, 20187 yr Author 6 hours ago, RXP said: Hi, we've just released v2.5.8 update which I hope will solve saving log files on your system? Otherwise, it has also been tested against the latest XP11.30b5 Thanks I have installed v2.5.8 and I had one error can not find the specified file I have really version 2.5.8 unfortunately I do not have any log files in my folder documents yet jefken X-Plane 11 -My favorite aircraft F33A BONANZA XPLANE 11 REP , CAR PREMIER 1A
November 22, 20187 yr Author I found the logfiles in the my map on my drive d: where is installed x-plane 11. Everything works fine. Thanks Jefken X-Plane 11 -My favorite aircraft F33A BONANZA XPLANE 11 REP , CAR PREMIER 1A
November 22, 20187 yr 1 hour ago, jefken said: I found the logfiles in the my map on my drive d: where is installed x-plane 11 The installer error tells the 'shell' Windows component is not able to create a 'shortcut' icon on your user account 'desktop' folder. This is highly improbable and tells there is definitely something not configured right on your system, because the installer is running with admin rights and the shell component is the technology behind every file operation you can do with the Windows file explorer (WIN+E). Can you please further help us about the log files too? What is the complete path to the RXP log files on your "D:" drive? What is the content of these log files? Is this an expected path for you (i.e. have you created 'symlinks' to redirect files and/or folders)?
November 22, 20187 yr Author 2 hours ago, RXP said: The installer error tells the 'shell' Windows component is not able to create a 'shortcut' icon on your user account 'desktop' folder. This is highly improbable and tells there is definitely something not configured right on your system, because the installer is running with admin rights and the shell component is the technology behind every file operation you can do with the Windows file explorer (WIN+E). Can you please further help us about the log files too? What is the complete path to the RXP log files on your "D:" drive? What is the content of these log files? Is this an expected path for you (i.e. have you created 'symlinks' to redirect files and/or folders)? I do not understand the error since I can write to my users \ user \ desktop "What is the complete path to the RXP log files on your "D:" drive?" "What is the content of these log files?" I hope that this can help you Jefken X-Plane 11 -My favorite aircraft F33A BONANZA XPLANE 11 REP , CAR PREMIER 1A
November 22, 20187 yr Hi, yes this helps and I thank you! It seems the 'shell' is not giving our plugin the expected data, which in turns makes our logger create the file in the current directory, which is the directory the application is running from by default. Correlated is certainly why the installer also fails to create a shortcut on the desktop but I'm not sure yet. Can you please try this: 1) open a file explorer (WIN+E) 2) in the path bar (like the one you've pointed above where it says: [ > Deze pc > data (D:) > X-Plane 11 ] ), type the following: shell:Personal then press enter and let me know where it redirects. Then in addition, can you please also try this to cross check: 1) open notepad.exe 2) copy and paste the following 3) save as "shellfolders.vbs" anywhere you want (NB: this ends as 'VBS' not 'TXT') 4) double click the shellfolders.vbs script and let me know the 2 messages displayed. Dim objShell Dim strPath Set objShell = Wscript.CreateObject("Wscript.Shell") strPath = objShell.SpecialFolders("Desktop") Wscript.echo "Desktop: " + strPath strPath = objShell.SpecialFolders("MyDocuments") Wscript.echo "MyDocuments: " + strPath Edited November 22, 20187 yr by RXP
November 23, 20187 yr Author 16 hours ago, RXP said: Hi, yes this helps and I thank you! It seems the 'shell' is not giving our plugin the expected data, which in turns makes our logger create the file in the current directory, which is the directory the application is running from by default. Correlated is certainly why the installer also fails to create a shortcut on the desktop but I'm not sure yet. Can you please try this: 1) open a file explorer (WIN+E) 2) in the path bar (like the one you've pointed above where it says: [ > Deze pc > data (D:) > X-Plane 11 ] ), type the following: shell:Personal then press enter and let me know where it redirects. Then in addition, can you please also try this to cross check: 1) open notepad.exe 2) copy and paste the following 3) save as "shellfolders.vbs" anywhere you want (NB: this ends as 'VBS' not 'TXT') 4) double click the shellfolders.vbs script and let me know the 2 messages displayed. Dim objShell Dim strPath Set objShell = Wscript.CreateObject("Wscript.Shell") strPath = objShell.SpecialFolders("Desktop") Wscript.echo "Desktop: " + strPath strPath = objShell.SpecialFolders("MyDocuments") Wscript.echo "MyDocuments: " + strPath Jean-Luc here the result of what you asked for: result shell:personal result notepad .vbs the results of my log files on the d:/x-plane11 folder where te logs are located from today 18/11/23 08:50:01.982 12052 - ] # win.xpl version 2.5.8.0 18/11/23 08:50:01.982 12052 INFO ] 18/11/23 08:50:05.260 12052 - ] # rxpGtnSim64.dll version 2.5.8.0 18/11/23 08:50:05.259 12052 INFO ] My question is of the problem is my computer ? Edited November 23, 20187 yr by jefken X-Plane 11 -My favorite aircraft F33A BONANZA XPLANE 11 REP , CAR PREMIER 1A
November 23, 20187 yr Hi, I don't know what is causing this. On one end, invoking simple shell commands via the cmd line gives the correct path. On the other end, the same simple commands invoked from our plugin, or even from a trusted installer technology, fail to get the same paths. There is definitely something preventing programs to access the correct paths on your system but I really don't know what this could be. You may want to cross-check Windows event viewer and see if there is anything reported around the time you've installed and it prompted you with the error writing to the desktop for example?
November 23, 20187 yr Author 2 hours ago, RXP said: Hi, I don't know what is causing this. On one end, invoking simple shell commands via the cmd line gives the correct path. On the other end, the same simple commands invoked from our plugin, or even from a trusted installer technology, fail to get the same paths. There is definitely something preventing programs to access the correct paths on your system but I really don't know what this could be. You may want to cross-check Windows event viewer and see if there is anything reported around the time you've installed and it prompted you with the error writing to the desktop for example? Hi, It will not be up to your installer as I get that error when I update other programs this is probably an issue in windows 10 because I also have the error in other updates. How can I cross-check Windows event viewer. as far as I know, I have not received any notifications about the installations of windows. So the program works fine and I don't need the shortcuts and I have the logfiles on my d:x-plane11. I do not know why windows does not allow writing from outside to my documents or desktop. I can do that myself Thank you anyway for your time Jefken X-Plane 11 -My favorite aircraft F33A BONANZA XPLANE 11 REP , CAR PREMIER 1A
Archived
This topic is now archived and is closed to further replies.