You are here

Network portability of ClamWin Portable

5 posts / 0 new
Last post
lwc
Offline
Last seen: 2 weeks 18 hours ago
Translator
Joined: 2006-04-26 06:35
Network portability of ClamWin Portable

When I try to launch ClamWinPortable.exe via \\another-computer, it says I need to configure the settings (if I do so, it saves them in the local %APPDATA% under ".clamwin").

When I copy over to the local computer ClamWinPortable.exe, and create ClamWinPortable.ini with \\ paths, when launching that ClamWinPortable.exe I get an error telling me to re-install.

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

You need to use a regular drive letter. Just assign one.

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

lwc
Offline
Last seen: 2 weeks 18 hours ago
Translator
Joined: 2006-04-26 06:35
Why is it needed? It's kind

Why is it needed? It's kind of a chore in a network. Can't the launcher just work with \\?

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 4 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Universal Path Names

Universal path names aren't supported by all apps. And NSIS (the language the launchers use) used to have some issues with \\ paths... these may be fixed by now, though.

Keep in mind that these apps are designed to be used portably from a device setup at X:\PortableApps\AppName. Many handle drive letter changes by simply replacing the first letter of those paths. Network paths are used by a very small fraction of users... and they are nearly always mapped with a drive letter (I think out of the millions of app downloads... the question of universal paths may have come up once).

Checking ClamWin Portable's code, there's absolutely nothing in it at all that deals with drive letters and would mess up a universal path. Just all native calls to get TEMP, SYSTEMROOT, EXEDIR, etc. And all the default paths are specifically setup relatively. For example, here's the path we've setup by default to the database directory:

database = ..\..\..\Data\db

In short, the issue is either in NSIS (the language itself), the system calls to Windows or within ClamWin itself. As said, as a general rule, almost no software is designed to be run from a universal path name. Many software installers can't even properly run from a universal path.

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

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Ah

Thats why Eraser wont delete files from my Desktop If I'm using the PCs on campus...
Thanks for the info John!

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Log in or register to post comments