Internet Browser
QtWeb off-line Knowledge Base


QtWeb really portable?

Author Topic: QtWeb really portable ?  (Read 367 times)
« on: December 27, 2008, 02:41:21 AM »

Hi Devs !
It's me again !

I'm a stickler for principles ! Portable means for me that no files are written elsewhere than in the QtWeb folder.
Files are written in "local settings\application data":

For the registry, some keys are written:
Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser]

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\BrowserMainWindow]

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\cookies]

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\downloadmanager]
"size"="@Size(410 252)"
"downloadDirectory"="C:\\Documents and Settings\\Ordi\\Mes documents\\Downloads"

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\general]

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\history]

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\MainWindow]
"style"="Windows XP"

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\proxy]

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\sessions]

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\toolbarsearch]

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\websettings]

Is it possible to make them written besides 'QtWeb.exe' ??
« Reply #1 on: January 01, 2009, 05:36:51 AM »

Regarding the default location for storage of settings, the application should not be using %USERPROFILE%\Local Settings for persistent settings such as bookmarks and application settings. On XP it should use CSIDL_APPDATA, and CSIDL_LOCAL_APPDATA for temporary files such as updates and internet cache. On Vista these are FOLDERID_RoamingAppData and FOLDERID_LocalAppData
« Reply #2 on: January 01, 2009, 05:41:08 AM »

So you think the problem comes of my configuration (Win XP and/or Qtweb) ?
« Reply #3 on: January 02, 2009, 02:39:33 AM »

Right now it seems that QtWeb does not store the settings in the same location as the executable. I shall compile a version using VMware ThinApp today for you.
« Reply #4 on: January 02, 2009, 02:51:25 AM »

You can grab the portable version from http://drop.io/portable_qtweb_v1_2. Let me know if you need a version that includes the additional .DLL libraries. I have ommitted them for size.
« Reply #5 on: January 02, 2009, 08:56:33 AM »

Quote from: chaz6
You can grab the portable version from http://drop.io/portable_qtweb_v1_2. Let me know if you need a version that includes the additional .DLL libraries. I have ommitted them for size.

Yes please, if you can Smiley.
Most of the time, i'm using Ubuntu and Wine. I guess it will not work without system framework .Dlls.
Thank you !
« Reply #6 on: January 06, 2009, 10:06:41 AM »

Thank you, guys, for the feedback.

Under "portable" we (developers) meant that the single executable can be placed to let's say USB and run with no installation.

Yes, in current implementation, QtWeb writes some info to the Registry, however it has a feature Tools -> Full Reset on Quit .. that cleans up the cookies, temp. files and the Registry to have machine clean.

However, it may be a good idea not to use Registry at all, placing everhing to the current folder and in the next release we'll work on it.
« Reply #7 on: January 06, 2009, 10:08:42 AM »

Thanks a lots Devs !!!!
« Reply #8 on: January 19, 2009, 03:00:24 PM »

Try QtWeb version 1.5.
Installed version still uses profiles (convenient sometimes), but when download and launch portable executable - it is not.
And final executable size is decreased from 12MB to 4MB.
« Reply #9 on: January 20, 2009, 12:38:45 AM »

UPX ?  Wink
The slimplyest portable browser ! Adopted !
« Reply #10 on: January 29, 2009, 01:47:53 PM »

Try the PortableApps version of QtWeb Portable.
« Reply #11 on: January 29, 2009, 04:03:40 PM »

I'm going to announce dev test 2 of QtWebPortable sometime tomorrow and it will address hopefully the fix in the settings file being overwritten and (and restoration of the bookmarks on the sidebar with the default bookmarks as original startup) and will also update the QtWeb Version
« Reply #12 on: May 31, 2009, 11:55:16 AM »

QtWeb 2.5 is really portable now. Dependencies for MSVCRT (msvcp90.dll and msvcr90.dll) have been removed, so the only QtWeb.exe executable is needed on USB.

Back to KB