xsharp.eu • GA 1.0.1 Setup error
Page 1 of 1

GA 1.0.1 Setup error

Posted: Mon Jul 03, 2017 7:45 pm
by Jamal
Congrats on first GA release!

I got this error when installing the 1.0.1 release.

Unable to execute file HlpCtntMgr.exe
CreateProcess failed; code 2
The system cannot find the file specified.

I checked my system and I can find HlpCtntMgr.exe in C:Program Files (x86)Microsoft Help Viewerv2.2


Running on Windows 10 Pro - Version 1703

Jamal

GA 1.0.1 Setup error

Posted: Mon Jul 03, 2017 8:34 pm
by FFF
Jamal,
strange. No problem here under 8.1/64. Was this your first x# install on that machine?

HTH
Karl

GA 1.0.1 Setup error

Posted: Mon Jul 03, 2017 9:43 pm
by robert
Jamal,

The installer looks for a registry key to locate the presence of the Ms Help Manager, the tool that manages the Visual Studio Help collections.
For VS 2015 that key is HKLMSOFTWAREMicrosoftHelpv2.2, the string value AppDir.
For VS 2017 that key is HKLMSOFTWAREMicrosoftHelpv2.3, the string value AppDir.
Both keys are 32 bit so on a Win64 machine in the WOW6432Node of the Software tree.
This key gets written bij the VS Installer.
I must admit that the installer does not check if the tool is actually there where it is supposed to be.
The default installation of VS write the following locations in the registry:
VS 2015: C:Program Files (x86)Microsoft Help Viewerv2.2
VS 2017: C:Program Files (x86)Microsoft Help Viewerv2.3
Both locations should have a file HlpCtntMgr.Exe.

The error during installation may have the result that the X# help collections are not installed in Visual Studio. However the .CHM help file should always be installed in the XSharpHelp folder.

If you want to install the X# Help inside Visual Studio manually, then this is the way to do it:

Inside Visual Studio there is a menu item in the Help menu named "Add and Remove Help Content". If that menu option works on your machine then you should be able to add the X# help to the VS help collection by choosing the "installation source" "Disk" and by pointing to the file "c:Program Files (x86)XSharpHelpXSharp.msha"

Robert

GA 1.0.1 Setup error

Posted: Mon Jul 03, 2017 11:01 pm
by Jamal
Karl,

This is my first install.

Jamal
Karl Faller wrote:Jamal,
strange. No problem here under 8.1/64. Was this your first x# install on that machine?

HTH
Karl

GA 1.0.1 Setup error

Posted: Mon Jul 03, 2017 11:14 pm
by Jamal
Robert,

I only have VS 2017 pro installed, so I modified the installation and added the Help Viewer component.

The install finished, however, I got a "Security Alert", see attached. I know I can trust you guys, but thought to let you know.

See attached image of alert.
Capture1.PNG
Capture1.PNG (14.48 KiB) Viewed 663 times
Jamal

GA 1.0.1 Setup error

Posted: Tue Jul 04, 2017 7:00 am
by robert
Jamal,

That is the "normal" Microsoft confusing behavior. Even when you have allowed the signed installer to run at administrator level and "infect" your machine with all kinds of malware, they still want to annoy you with dialogs like this.

Robert

GA 1.0.1 Setup error

Posted: Fri Jul 07, 2017 7:10 am
by rjpajaron
Thanks Roberts,

Just repaired my VS 2015 and 2017 Help.

Rene