XnConvert Portable -- Option 'Convert with XnConvert'

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: XnTriq, helmut, xnview

olympus
Posts: 4
Joined: Mon May 29, 2023 5:55 pm

XnConvert Portable -- Option 'Convert with XnConvert'

Post by olympus »

Hi, I am using XnConvert portable.
It works perfectly, brilliant software.
But there is something that shouldn't be available in portable mode.
It should be disabled in portable mode because it can cause problems.
I am talking about the option in setings to add 'Convert with XnConvert' to context menu.
This should be disabled in XnConvert portable for many reasons.
First of all it writes to HKLM\Software\Classes\Directory\shell\XnConvert
When you run XnConvert portable you shouldn't have the option to mess with system wide settings.
If you have your portable XnConvert let's say in your desktop and you enable this, other users would end up having broken context menus because they don't have access to your XnConvert.exe
Please make this option disabled when running XnConvert in portable mode and settings are loaded from xnconvert.ini because unaware users who use a portable XnConvert could be capable to make other users end up having broken context menus.
Thank you for this brilliant software.
User avatar
xnview
Author of XnView
Posts: 43723
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnConvert Portable -- Option 'Convert with XnConvert'

Post by xnview »

i can't know if XnConvert is started as Portable app
Pierre.
olympus
Posts: 4
Joined: Mon May 29, 2023 5:55 pm

Re: XnConvert Portable -- Option 'Convert with XnConvert'

Post by olympus »

xnview wrote: Thu Jun 01, 2023 9:30 am i can't know if XnConvert is started as Portable app
You don't know when you load xconvert.ini from the same folder of xconvert.exe?
Other programs usually detect it with a special file or folder. For example qbittorrent detects it by the existance of a folder named as profile in the same folder of the qbittorrent.exe and saves all settings there. Other programs check if an empty file named as portable is in the same folder of the exe.
Anyway if xconvert.exe loads xconvert.ini from the same folder shouldn't it be a portable version? If nothing is saved outside of the folder of xconvert.exe shouldn't it be a portable version?
User avatar
xnview
Author of XnView
Posts: 43723
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnConvert Portable -- Option 'Convert with XnConvert'

Post by xnview »

olympus wrote: Fri Jun 02, 2023 2:17 am Anyway if xconvert.exe loads xconvert.ini from the same folder shouldn't it be a portable version? If nothing is saved outside of the folder of xconvert.exe shouldn't it be a portable version?
Not for all users
Pierre.
olympus
Posts: 4
Joined: Mon May 29, 2023 5:55 pm

Re: XnConvert Portable -- Option 'Convert with XnConvert'

Post by olympus »

xnview wrote: Fri Jun 02, 2023 7:19 am
olympus wrote: Fri Jun 02, 2023 2:17 am Anyway if xconvert.exe loads xconvert.ini from the same folder shouldn't it be a portable version? If nothing is saved outside of the folder of xconvert.exe shouldn't it be a portable version?
Not for all users
I understand. A suggestion. Please correct me if I am wrong but you can detect the location of the running xconvert.exe.
Could you make this setting visible only when xconvert.exe runs in folder that is available for all users?
For example if you run xconvert.exe from a user folder (a folder that starts with C:\Users\username, the USERPROFILE environment variable) then the option won't be available.
This will solve all issues, nobody would be able this way to add to HKLM a location of xconvert.exe that is not available for all users even if he runs xconvert with admin privilages.
User avatar
xnview
Author of XnView
Posts: 43723
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnConvert Portable -- Option 'Convert with XnConvert'

Post by xnview »

you have users that use the ZIP package (so not installed in ProgramFiles) and use default profile
Pierre.
olympus
Posts: 4
Joined: Mon May 29, 2023 5:55 pm

Re: XnConvert Portable -- Option 'Convert with XnConvert'

Post by olympus »

xnview wrote: Sat Jun 03, 2023 5:55 am you have users that use the ZIP package (so not installed in ProgramFiles) and use default profile
Yes, but should they have the option to run xnconvert as admin and add their exe which only them have access to because it is located in their profile in system's context menu and other users in the pc end up having broken context menus and when they click the specific menu to get a windows error?
I am not talking about not being able for these users to run xncovert in their profile, I am just talking about not having the option to mess with context menu and the system when they run their xnconvert from a location located in their profile.
I am just talking about having this option in settings disabled when they run xnconvert from a location in their profile, I am not talking about not being able to run xnconvert from a location in their profile.