WinHTTrack (JPE Launcher)

Share, discuss and debug ready-made JauntePE launchers for non-portable applications.
Post Reply
Message
Author
User avatar
Napiophelios
Posts: 575
Joined: Sun Mar 01, 2009 5:48 pm

WinHTTrack (JPE Launcher)

#1 Post by Napiophelios » Thu Jul 16, 2009 8:34 pm

WinHTTrack is the Windows 9x/NT/2000/XP release of HTTrack

From the HTTrack HomePage:

"HTTrack is a free (GPL, libre/free software) and easy-to-use offline browser utility.

It allows you to download a World Wide Web site from the Internet to a local directory, building recursively all directories, getting HTML, images, and other files from the server to your computer. HTTrack arranges the original site's relative link-structure. Simply open a page of the "mirrored" website in your browser, and you can browse the site from link to link, as if you were viewing it online. HTTrack can also update an existing mirrored site, and resume interrupted downloads. HTTrack is fully configurable, and has an integrated help system."

TPFC DB entry
Download the latest Zip (non-installer/Windows version) Version 3.43-5 (20/05/2009)
Download the JauntePE launcher here


Setup Portable

Code: Select all

Extract & move the contents into the "App\WinHTTrack" folder and you are ready to go.

For a minimalist approach* (which will reduce the portable's size by half); 
Place only these items in the 
"App\WinHTTrack" folder:

htsjava.dll
htsswf.dll
httrack.exe
httrack-doc.html
lang.def
libeay32.dll
libhttrack.dll
MFC71.dll
msvcr71.dll
proxytrack.exe
ssleay32.dll
webhttrack.exe
WinHTTrack.exe
winhttrack.log
WinHTTrackIEBar.dll
zlib1.dll
\html          (folder/include all original folder contents)
\lang          (folder/include all original folder contents)
\templates  (folder/include all original folder contents)

*It is best to archive the source files and unused file and store them in the "other" folder for future use. 

Read Me

Code: Select all

The JPE ini is set up to redirect the registry only.
The filesystem is enabled but only to ignore any
 installed version of the program and avert any 
entanglements with it
...and possibly the default save folder.

If you use the default folder "C:\My Websites" for downloads;
You must edit the JPE ini:

Under "[FilesystemInclude]" simply remove the semi colon
in front of the first line   (;1=C:\My Websites)

(it is still unlikely it will be sandboxed because it is in the root drive folder.)

Therefore it is important to have a place already predetermined and setup to store your website copies.

Read the help files to learn how to configure to your expected 
results or else you will end up with enormous website copies and it will seem like forever for the process to complete. 
HTTrack JauntePE INI

Code: Select all

[Launch]
Path=.\App\WinHTTrack\WinHTTrack.exe
JPERuntime=.\App\JPE\jauntePE.dll
JPERuntimeIni=.\HTTrack_jauntePE.ini
JPERuntimeReg=.\Data\Settings\WHTTrack.reg
JPERuntimeWFS=.\Data\
RedirReg=1
RedirWFS=1
AppReg=1
AppWFS=1
ExeDir=1

[Redirection]
RedirMSI=1
RedirMisc=1
MemRegistry=1
FillRegistry=1
RegMerge=1
RegIgnDel=1
ExcludeAppDir=1
WFSMerge=1
RegTokens=1
Logging=0
LogFuncs=0
LogPath=.\Data\Logs\%date%_(%time%)_%pid%_whtt-launcher.log
Discovery=0
DiscoveryPath=.\Data\Logs\%date%_(%time%)_%pid%_whtt-discovery.log
IdentMode=3

[Registry]
Use=1
Data=.\Data\Settings\WHTTrack.reg

[RegistryExclude]
1=HKEY_PERFORMANCE_DATA
2=HKEY_DYN_DATA

[RegistryInclude]
1=HKEY_CURRENT_USER\software\WinHTTrack Website Copier
2=HKEY_CLASSES_ROOT\WinHTTrackProject
3=HKEY_CLASSES_ROOT\.whtt
4=HKEY_CLASSES_ROOT\.whtt\ShellNew
5=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2
6=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
7=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap

[RegistryIgnore]
1=HKEY_CURRENT_USER\software\WinHTTrack Website Copier
2=HKEY_CLASSES_ROOT\WinHTTrackProject
3=HKEY_CLASSES_ROOT\.whtt
4=HKEY_CLASSES_ROOT\.whtt\ShellNew

[Filesystem]
Use=1
Data=.\Data\

[FilesystemExclude]
1=*

[FilesystemInclude]
;1=C:\My Web Sites

[FilesystemIgnore]
1=%38%\WinHTTrack
;2=C:\My Web Sites

[ShellUsage]
Use=1
PreventMRU=1
PreventBinUse=1
I am really new to this program but its very neat and quickly becoming one of my favorites to play with;
so any input on what can be done to make it better is much appreciated. :D

crownixx
Posts: 403
Joined: Sat May 12, 2007 6:26 am

Re: WinHTTrack (JPE Launcher)

#2 Post by crownixx » Sat Jul 18, 2009 5:12 am

There is one part is missing in your configuration. In the ini, you have provide an option to redirect the non-special folder

Code: Select all

[FilesystemInclude]
;1=C:\My Web Sites
There are two errors
  1. Leaving the [FilesystemInclude] section empty.After you comment the "1" key, JauntePE will see the section empty. I did the same mistake some time ago and redllar himself advice me it is not a good practice. So you need to comment the section too
  2. No portable location defined for the "C:\My Web Sites" redirection. The path is non-special folder. If we want JauntePE to redirect this folder, we also need to *tell* JauntePE where to put all the redirection files. To define the path, add the settings below. The portable path is just a suggestion

    Code: Select all

    [SpecialFolders]
    C:\My Web Sites=.\DriveC\MyWebSites
    This mean the portable path for "C:\My Web Sites" will be located at "Data\DriveC\MyWebSites"
JauntePE the portable maker: <<JauntePE Google Site >>

User avatar
Napiophelios
Posts: 575
Joined: Sun Mar 01, 2009 5:48 pm

Re: WinHTTrack (JPE Launcher)

#3 Post by Napiophelios » Sat Jul 18, 2009 11:44 am

Thank you Crownixx for the insight.

Below is how I interpret your comment;
If I want to ignore an installed version of the program,
yet still let the portable use the default settings.

Code: Select all

[Filesystem]
Use=1
Data=.\Data\

[FilesystemExclude]
1=*

[FilesystemInclude]
1=C:\My Web Sites

[FilesystemIgnore]
1=%38%\WinHTTrack
2=C:\My Web Sites

[SpecialFolders]
C:\My Web Sites=.\DriveC\MyWebSites
or do I even need mention the [FilesystemInclude] section with this new
addition of a [SpecialFolders] section to the ini?

Post Reply