Help file doesn't work on Windows 7/10

163 views
Skip to first unread message

V@no

unread,
Aug 8, 2016, 9:31:11 AM8/8/16
to FastCopy bulletin board

Hello.

It seems help file that comes with FastCopy is not working properly on Windows 7/10 x64. It shows content menu on left, but when something selected nothing shows on the right pane:

Any suggestions?

Hiroaki SHIROUZU

unread,
Aug 23, 2016, 4:41:31 AM8/23/16
to FastCopy bulletin board
It is very strange...Can you open fastcopy.chm directly? (not via FastCopy.exe)

Or you can use this URL :-)

V@no

unread,
Aug 31, 2016, 8:39:56 AM8/31/16
to FastCopy bulletin board
Yes, opening directly reveals what's causing it: security flag added when FC extracted from zip archive using native explorer. When .chm file opened directly, system doesn't allow continue until you confirm unlocking the file.
Do you think it could be possible for FC do something about that, for example execute .chm file differently, so this confirmation would show, instead of blank window?
Thanks.

Hiroaki SHIROUZU

unread,
Aug 31, 2016, 9:42:28 AM8/31/16
to FastCopy bulletin board
I recommend not to use explorer-extracted files directly.
If you use setup.exe and install, this problem will be gone.

V@no

unread,
Aug 31, 2016, 2:37:25 PM8/31/16
to FastCopy bulletin board
Sure thing. But you can't possibly ask users use 3nd party tools to extract zip files, it's like asking users don't use native explorer all together..

So I was wondering if there is a way for FC to change the way it's launches help file so the security warning would be shown, or detect the security flag (which is an alternate stream file FastCopy.chm:Zone.Identifier) and provide notification for the user regarding this?

Just in case after a quick search I found this:

What Causes the "File Downloaded from the Internet" Warning and How Can I Easily Remove It?


Using command prompt I was able remove the security flag from .chm file by clearing it up with this line:

echo on > FastCopy.chm:Zone.Identifier

So FC could simply remove that alternate stream file when help opened from FC itself.

I've tested and it worked great by adding last line in tmisc.cpp:
HWND ShowHelpW(HWND hOwner, WCHAR *help_dir, WCHAR *help_file, WCHAR *section)
{
#if defined(ENABLE_HTML_HELP)
   
DeleteFile("FastCopy.chm:Zone.Identifier"); //added line


(don't know C++ so couldn't figure how to use help_file pointer for this)

Hiroaki SHIROUZU

unread,
Sep 1, 2016, 3:23:53 AM9/1/16
to FastCopy bulletin board
Thank you for your investigation.

But I think, removing zone information implicitly, it is not good for security.
I recommend to use setup.exe, or to remove zone information manually.

V@no

unread,
Sep 3, 2016, 8:12:53 PM9/3/16
to FastCopy bulletin board
I agree, removing security zone is not a good idea. Personally I use FC from a flash drive (aka portable), so using setup.exe is out of question. I'm sure a lot of users do the same.
So if FC would change the way it's launches help file and let system handle any security concerns it would fix this issue once and for all or at least provide user with information why their help file is blank.

Hiroaki SHIROUZU

unread,
Sep 3, 2016, 10:16:48 PM9/3/16
to fastcop...@googlegroups.com
I see.
The setup.exe only do copying files(without altstream), if checkboxes are off and install dir is not "program files".

But I will consider that an alert when help has zone info.
Reply all
Reply to author
Forward
0 new messages