You are here

Alterations in the Hive HKLM

8 posts / 0 new
Last post
tapsklaps
Offline
Last seen: 5 years 11 months ago
Developer
Joined: 2010-10-17 08:11
Alterations in the Hive HKLM

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?

John T. Haller
John T. Haller's picture
Online
Last seen: 36 min 43 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Correct, Exceptions

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!

tapsklaps
Offline
Last seen: 5 years 11 months ago
Developer
Joined: 2010-10-17 08:11
unfavorable information

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.

John T. Haller
John T. Haller's picture
Online
Last seen: 36 min 43 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not an Issue

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!

tapsklaps
Offline
Last seen: 5 years 11 months ago
Developer
Joined: 2010-10-17 08:11
impermissible exception

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?

John T. Haller
John T. Haller's picture
Online
Last seen: 36 min 43 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
No

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!

tapsklaps
Offline
Last seen: 5 years 11 months ago
Developer
Joined: 2010-10-17 08:11
no answer to my question

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.

John T. Haller
John T. Haller's picture
Online
Last seen: 36 min 43 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
It Doesn't

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!

Log in or register to post comments