You are here

How to make sure apps in general are portable?

13 posts / 0 new
Last post
igmkjp
Offline
Last seen: 1 week 5 days ago
Joined: 2023-01-04 05:53
How to make sure apps in general are portable?

So far, I've been checking that my apps are portable by putting them in the D: drive, and seeing if they run, and don't write to AppData. Are these all the checks I need to make, or is there some technicality that could mean the app still isn't portable?

ANTICHRISTUS REX
ANTICHRISTUS REX's picture
Online
Last seen: 21 min 58 sec ago
Translator
Joined: 2019-07-19 07:09
TLDR;

“My brain is only a receiver, in the Universe there is a core from which we obtain knowledge, strength and inspiration. I have not penetrated into the secrets of this core, but I know that it exists.”

― Nikola Tesla ―

igmkjp
Offline
Last seen: 1 week 5 days ago
Joined: 2023-01-04 05:53
I'm not going to read the

I'm not going to read the whole wikipedia page just to find out if there's a technicality.

ANTICHRISTUS REX
ANTICHRISTUS REX's picture
Online
Last seen: 21 min 58 sec ago
Translator
Joined: 2019-07-19 07:09
Janus Bifrons

There are two links, including enough informations to satisfy you. It doesn't require a deep concentration.

“My brain is only a receiver, in the Universe there is a core from which we obtain knowledge, strength and inspiration. I have not penetrated into the secrets of this core, but I know that it exists.”

― Nikola Tesla ―

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 42 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Guidelines

Our guidelines for what portable is are here: https://portableapps.com/about/what_is_a_portable_app

We verify them in a clean virtual machine and use something like RegShot.

Sometimes, the impossible can become possible, if you're awesome!

igmkjp
Offline
Last seen: 1 week 5 days ago
Joined: 2023-01-04 05:53
What I'm saying is there's at

What I'm saying is there's at least two ways an app can fail to be portable. It can write in the registry, or it can save in AppData, in which case it could theoretically run from an external drive, but it wouldn't be saving on that drive. I want to know if there's a third thing I haven't thought of that would prevent an app from being portable.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 42 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
A Few

Some apps will store things in Documents unprompted. Some will create a PROGRAMDATA path or store things in LOCALAPPDATA.

Additionally, as paths change (drive moves between PCs, synced cloud folder to a different path) some things can break. It could be as simple as the Most Recently Used file list or it could mean plugins/extensions disappear or lose their settings, etc.

Sometimes, the impossible can become possible, if you're awesome!

igmkjp
Offline
Last seen: 1 week 5 days ago
Joined: 2023-01-04 05:53
So how do you know which

So how do you know which folders to check when you test an app?

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 42 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
RegShot

That's what something like RegShot is for. It takes a snapshot of the registry and all files/folders at different points in time and then you can compare them.

Sometimes, the impossible can become possible, if you're awesome!

igmkjp
Offline
Last seen: 1 week 5 days ago
Joined: 2023-01-04 05:53
All files? Not just the

All files? Not just the registry?

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 42 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Selectable

You can select what to monitor file-wise. I check all of C: in a clean Windows virtual machine with nothing else running. Snapshot before running and after and compare.

Sometimes, the impossible can become possible, if you're awesome!

igmkjp
Offline
Last seen: 1 week 5 days ago
Joined: 2023-01-04 05:53
Does regshot need to be on

Does regshot need to be on the guest machine, or only the host machine?

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 42 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Testing Machine

You run it on whatever machine you're testing the app on.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments