QtWeb
Internet Browser
QtWeb off-line Knowledge Base

 

QtWeb really portable?


Author Topic: QtWeb really portable ?  (Read 367 times)
Harry_debug
« 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:
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\QtWeb.NET]

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

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\BrowserMainWindow]
"defaultState"=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,63,00,00,00,00,00,00,00,1d,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,29,00

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\cookies]
"acceptCookies"="AcceptOnlyFromSitesNavigatedTo"
"keepCookiesUntil"="KeepUntilExpire"

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

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\general]
"openLinksIn"=dword:00000000

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\history]
"historyLimit"=dword:0000001e
"historyExpire"=dword:ffffffff

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\MainWindow]
"restoring"="false"
"downloadAudioVideo"="false"
"style"="Windows XP"
"home"="http://www.google.com"
"onStartup"=dword:00000000

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\proxy]
"enabled"="false"
"type"=dword:00000000
"hostName"=""
"port"="1080"
"userName"=""
"password"=""

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\sessions]
"lastSession"=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,\
  28,00,00,00,00,00,00,00,ec,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,01,\
  00,29,00

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\toolbarsearch]
"recentSearches"=hex(7):63,00,6f,00,64,00,20,00,36,00,00,00,00,00
"maximumSaved"=dword:0000000a
"searcher"="Google"

[HKEY_CURRENT_USER\Software\QtWeb.NET\QtWeb Internet Browser\websettings]
"ZoomRatio"="1"
"fixedFont"=hex:40,00,56,00,61,00,72,00,69,00,61,00,6e,00,74,00,28,00,00,00,00,\
  00,00,00,40,00,00,00,00,00,00,00,16,00,00,00,43,00,00,00,6f,00,00,00,75,00,\
  ff,00,ff,00,ff,00,05,00,01,00,00,00,32,00,10,00,29,00
"standardFont"=hex:40,00,56,00,61,00,72,00,69,00,61,00,6e,00,74,00,28,00,00,00,\
  ff,00,ff,00,ff,00,ff,00,05,00,01,00,00,00,32,00,10,00,29,00
"enableJavascript"="true"
"enablePlugins"="true"
"autoLoadImages"="true"
"blockPopups"="true"
"savePasswords"="false"
"enableDiskCache"="false"
"userStyleSheet"=hex:40,00,56,00,61,00,72,00,69,00,61,00,6e,00,74,00,28,00,00,\
  00,00,00,00,00,11,00,ff,00,ff,00,ff,00,ff,00,29,00
"privacy_mode_confirmation"="false"


Is it possible to make them written besides 'QtWeb.exe' ??
 
chaz6
 
« 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
 
Harry_debug
 
« Reply #2 on: January 01, 2009, 05:41:08 AM »

So you think the problem comes of my configuration (Win XP and/or Qtweb) ?
 
chaz6
« 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.
 
chaz6
« 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.
 
Harry_debug
« 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 !
 
Alex
« 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.
 
Harry_debug
« Reply #7 on: January 06, 2009, 10:08:42 AM »

Thanks a lots Devs !!!!
 
Alex
« 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.
 
Harry_debug
« Reply #9 on: January 20, 2009, 12:38:45 AM »

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

Try the PortableApps version of QtWeb Portable.
 
ZachThibeau
« 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
 
Alex
« 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