According to the post NSIS How PortableApps Work require changes in the hive HKLM administrator rights. Does this mean that a program can not be made portable, when it creates registry entries in the hive HKLM?
New: Kanri (Oct 9, '24), Platform 29.5.3 (Jun 27, '24)
1,100+ portable packages, 1.1 billion downloads
No Ads November!, Please donate today
According to the post NSIS How PortableApps Work require changes in the hive HKLM administrator rights. Does this mean that a program can not be made portable, when it creates registry entries in the hive HKLM?
HKLM requires admin rights, no way around it. Only portable apps where the app itself requires admin rights (system tools like a registry cleaner, defragger, etc) are permitted to require admin rights. If a regular app (text editor, word processor, game, browser, etc) requires admin rights, you can package it using PAL, but it won't be considered for official release. We may make very very limited exceptions to this for a AAA title (think Steam Portable).
Sometimes, the impossible can become possible, if you're awesome!
A few minutes ago I've just discovered, that the use of the Adobe 8BF filters Redfield++ by the manufacturer Redfield in PhotoFiltre creates an entry in the hive HKLM. Therefore the use of this filter has the consequence, that PhotoFiltre is no longer portable.
Just make note of any poorly coded 8BF filters that will not be portable. It's not an issue for the overall app.
Sometimes, the impossible can become possible, if you're awesome!
In your above post you mentioned an exception for such programs, where the app itself requires admin rights. But is this exeption not somehow inconsistent?
You make a note on the app page and say "XX filter is not portable and use with PhotoFiltre Portable will leave things behind". That's it.
Lots of apps can leave things behind if end users do certain things to them. We note those things where needed and don't where it's obvious (example: checkbox to start with Windows).
Sometimes, the impossible can become possible, if you're awesome!
I'm agree with you, that I can't make portable certain filters for PhotoFiltre. But I also think, that it should be consequent for the same reason, that you can't make an app portable, where the app itself requires admin rights.
The app doesn't require admin rights. A specific plugin that 99% of people won't use does. And only when you add it to the app. So you add a note not to add it to the app (or only add it if it's your local PC and you want to run as admin). You can actually include the HKLM bit within your launcher ini file. It will be ignored unless the user runs as admin. So, they get the best of both worlds.
Sometimes, the impossible can become possible, if you're awesome!