Transfer Portable Dopus to another USB stick

Hello all,

this is probably straightforward, however simply copying via Windows Explorer doesn't seem to work.

I bought a nano USB stick as it barely peeks out over the side of the laptop.

What is the easiest way to transfer my existing USB installation (keeping all its settings) of Dopus Portable to this stick?

You'd need to re-export Opus to the new stick. To keep the old settings, copy the folder from the old stick to the new one, then tell Opus to export over the top of itself (like you would when updating the version on the USB stick). Opus will ask if you want to export the program and keep the existing settings, or if you want to overwrite the settings as well.

1 Like

Hello,

unfortunately, something went wrong.

I copied the Dopus folder from the old stick to the new stick. Then I initiated the export process and selected the new stick I: as destination:

Then, unfortunately, the old stick H: was auto-selected in the next dialog, for whatever reason:

I didn't pay attention to that, because I assumed that the one-time selection of the new stick in the first step was sufficient.

Then, as mentioned by Leo, came the dialog with the choice "Upgrade" or "Replace". There I selected Upgrade:

Now, when I start Dopus on the target laptop from the old stick (which was upgraded instead of the new stick), Dopus starts with a fresh configuration instead of my previous configuration.

I have already repeated the installation, this time onto the new stick, but this installation also starts fresh and not with my configuration.

How is this possible, and can I still restore my previous configuration?

This shouldn't matter, but as portable path I use I:\Dopus instead of I:\portable.

Which folders would I have to look out for? If I look the folders up that are mentioned here:

...it seems that this simply is the entire portable installation folder. That doesn't seem to be correct?

Thanks!

If the “use as a dongle” option is selected, as in your screenshot, then the files can be exported to any location, and it’ll probably remember the last one you used for convenience.

Just tell it to export to the place you want the files when you get to that stage in the process.

1 Like

Your're so fast Leo, you missed my edits:

Oops, I just realized that I had copied the portable installation folder on the laptop from the stick to the hard drive and started it from there, using the stick only as a dongle.

Now that I have started Dopus from the hard drive again, my configuration is back.

All perfect now, thanks very much.

You should always keep a separate backup of your portable installation, as ext. devices can be lost or broken (esp. USB-sticks)...

1 Like

So to update my portable Dopus from v12 to v13, I just did the above. I checked all boxes as shown below:

Afterwards, however, the entire configuration on the USB stick seems to have been overwritten.

I was not asked whether I wanted to keep, or overwrite the existing settings.

Is this expected behavior, as it doesn't seem to match your instructions above? In the end it is not a problem as I have backed up the previous configuration. However, I thought it should be clarified.

Edit: I just now realized that this happened because I had changed the path in the export dialog, which is why the export went to the G:\Dopus\Dopus directory instead of the G:\Dopus directory of the previous installation. After I had reset the path, everything worked and the expected prompt also appeared before the export:

The only difference between my Dopus installation on the PC and the portable version on the laptop are the tab groups of the default dual lister that I always use. I have tried to restore the tab group for the laptop by transferring my "ThinkPad Tabs.otg" file from the v12 configuration to the v13 configuration (after overwriting the complete laptop configuration with the PC configuration for other reasons).

However, this somehow did not seem to suffice to define my default double lister for the laptop, including the two tab groups in "ThinkPad Tabs.otg". Which settings file(s) do have to be transferred additionally, in order to transfer my default dual lister including the left and right tab groups?

The screenshot shows you chose to export the current configuration, so it would overwrite any existing configuration in the target folder.

Understood, and this is solved, as described above. Now I only need to transfer that standard tab group to my portable installation configuration:

The default Lister configuration is stored in Layouts\System\default.oll.

"ThinkPad Tabs.otg" and "default.oll" doesn't seem to be sufficient. With this, while I get my default [dual] Lister, the correct default tab sets in both left and right Listers are not opened.

Are you sure it’s the Default Lister you’re opening and not a layout or something else?

Not sure what it's called officially, but it is the (dual) Lister that Dopus opens with per default when starting up, which also is the only Lister that I use.

What opens at startup depends on Preferences / Launching Opus / Startup.

(Assuming we're talking about starting Windows. If not, it may be one of the other pages under the same category.)

Also check that /dopusdata resolves to the config directory you're modifying. If it doesn't, you may still be running Opus from your main HDD install, not the USB stick. (If it's already running, running it again from the USB stick will just tell the existing instance to open a new window, not switch over to the USB stick. You'd need to use File > Exit Directory Opus to switch.)

I have recreated my standard tabs now. I suspect that for some reason I had overwritten the config file "ThinkPad Tabs.otg" with an older version. This seems to have been the reason my standard tab set was not displayed.

After updating Dopus to the latest version, I'm having trouble locating my configuration.

For some reason, everything worked for two days until now, but Dopus has just reset to the default configuration after restarting the program.

Here’s the situation:

  1. Dopus A is installed on Laptop A with Configuration A.
  2. Dopus B is a portable installation on Laptop B with Configuration B. However, Dopus B is not run from the USB stick but from a copy under C:\Portable Programs\Directory Opus.
  3. Dopus A on Laptop A was updated to the latest version a few days ago.
  4. The portable installation was exported from the updated Dopus A to the USB stick, without configuration.
  5. On Laptop B, the USB stick was plugged in, and Dopus.exe and another file (I believe it was English.dll) were copied from the USB stick into the existing folder at C:\Portable Programs\Directory Opus\Dopus.
  6. Afterward, everything worked perfectly on Laptop B: the latest Dopus with the previous, existing portable configuration.

Now, however, something seems to have gone wrong. Dopus on Laptop B can no longer find its configuration and starts with the default configuration instead.

My issue is that I can’t properly differentiate between program files and configuration files because the folder C:\Portable Programs\Directory Opus\Dopus seems to contain both types of files on the same directory level. Additionally, the parent folder C:\Portable Programs\Directory Opus contains another copy of Dopus.exe and Dopus.ini.

I have the following questions:

  1. Is it correct that program files and configuration files are stored in the same folder?
  2. Which folder(s) specifically contain the configuration, and which files are program files?
  3. Is there a way to more clearly separate program files and configuration files in a portable installation?
  4. How can I update only the program files on Laptop B while keeping the configuration intact?

I don't know if it explains what happened, but copying those two files isn't enough. There are lots of other DLLs that should be copied over and a few other exe files as well. In the main dir and in the viewers and vfs plugins subdirs.

For a portable install, the config folders are all below the dir with the main executable.

That said, Opus would not normally launch if you updated the main exe but not the main DLLs as well, so there may be an extra detail here. See where /home and /dopusdata take you (paste them into the path field) in Opus to find out where it's being launched from and where the config folders are. If Opus was already running from another location, running it again (from any location) will just tell the existing instance to open a window.

I forgot to mention that the issue started when SentinelOne flagged Dopus as malware and quarantined dopus.exe a couple of days ago. I believe that this happened because I opened an infected file from within Dopus and not because it recognized Dopus itself as malware.

To address this, I:

  1. Made two copies of the portable installation folder.
  2. Restored dopus.exe from a backup in both the original folder and the copies of the portable installation folders.

Afterward, I performed the upgrade as described above, and everything worked fine for a couple of days.

Now, however:

  • Some copies of dopus.exe no longer start at all.
  • If one of the copies starts, it always defaults to the standard configuration.

Additionally, I’ve noticed that I now have about six copies of the ConfigFiles folder:

  • Some are in the root directory of one of the portable installations.
  • Others are in the Dopus subfolder within a portable installation.

Could you please clarify:

  1. Which folder should exclusively contain configuration files, and which folder exclusively program files, if applicable.
  2. What is the standard directory structure of a portable installation, is this shown somewhere in the documentation?

This would help me reorganize everything using the backup copies I have.


(machine translation)


(original)