GA 1.0.1 Setup error

This forum is meant for questions and discussions about the X# language and tools
Post Reply
Jamal
Posts: 320
Joined: Mon Jul 03, 2017 7:02 pm

GA 1.0.1 Setup error

Post 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
Attachments
7-3-2017 3-30-50 PM.jpg
7-3-2017 3-30-50 PM.jpg (40.01 KiB) Viewed 627 times
FFF
Posts: 1581
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

GA 1.0.1 Setup error

Post by FFF »

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

HTH
Karl
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
User avatar
robert
Posts: 4529
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

GA 1.0.1 Setup error

Post 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
XSharp Development Team
The Netherlands
robert@xsharp.eu
Jamal
Posts: 320
Joined: Mon Jul 03, 2017 7:02 pm

GA 1.0.1 Setup error

Post 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
Jamal
Posts: 320
Joined: Mon Jul 03, 2017 7:02 pm

GA 1.0.1 Setup error

Post 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 627 times
Jamal
User avatar
robert
Posts: 4529
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

GA 1.0.1 Setup error

Post 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
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
rjpajaron
Posts: 364
Joined: Fri Nov 06, 2015 12:01 am

GA 1.0.1 Setup error

Post by rjpajaron »

Thanks Roberts,

Just repaired my VS 2015 and 2017 Help.

Rene
Post Reply