Page 1 of 1

installation problem

Posted: Wed Nov 22, 2017 3:21 am
by janroth
When I install fsforce 2 the installation process always ends with a runtime Error ( at 20:355 ) with information: Internal error: Cannot call "SAVESTRINGSTOUTF8FILE" function non Unicode Setup or Uninstall.
The flightsims I am using are FSX Steam Edition and Prepa3Dv4
The OS is Windows 10 64-bits
The PC has an Intel Core i7-6700 CPU @ 3.4Ghz, 32 Gb memory
Can you pls advice what I should do.
Thks

Re: installation problem

Posted: Thu Nov 23, 2017 12:58 am
by RussDirks
Hi,

I've been investigating this issue and will hopefully post a solution later today.

Re: installation problem

Posted: Thu Nov 23, 2017 5:37 am
by RussDirks
I have uploaded a new version of FS Force (2.12.0.0074) with a modified installer, which hopefully will fix this problem. Let me know how it goes.

Re: installation problem

Posted: Thu Nov 23, 2017 6:09 pm
by janroth
Thanks for your help. I think we are making some progress, but we are not there yet.
The installation program still ends with the error message: The setup program was not able to modify the file C:\users\janro\AppData\Roaming\Microsoft\FSX\exe.xml due to a parsing error. The specific error was "space is not allowed on this location" on line 31, column 27. FS FORCE has been installed but it may not launch when FSX-SE starts.
The result is now that FS FORCE is working in Prepa3dv4 ( I still do not see the trim gauge on the screen?), but is still causing problems in FSX-SE to the extend that FSX-SE is always crashing. During start up of FSX-SE there is also the error message: Flight Simulator has detected a problem with a third party software program (add on) FS FORCE Version: 2.12.0.0074 Company: Dirks Software File: C:\Program Files (x86)\FSFORCE\FSFORCE.dll
Hope this information helps to solve the remaining problem(s)
Thnks

Re: installation problem

Posted: Thu Nov 23, 2017 6:43 pm
by janroth
Hi,
Unfortunately the problem is still not solved. The new installation program ends with the error message:

The setup program was not able to modify the file: C:\users\janro\AppData\Roaming\Microsoft\FSX\exe.xml due to a parsing error. The specific error was "space is not allowed on this location"on line 31, column 27 FSFORCE has been installed but it may not launch when FSX-SE starts.

The result sofar is that FSFORCE works (!?) on Prepa3d v4. When using the Profile Manager however there are still error messages when I use Options: "Error reading EXE.XML Space not allowed on this location Line 31 Character 27

For FSX-SE the result is that there is an error message during start up: Flight Simulator has detected a problem with a third party software program (add on) FS Force: Version 2.12.0.0074 Company: Dirks Software File File: C:\Program Files(x86)\FSFORCE\FSFORCE.dll
When I say yes to the activation of FS FORCE FSX-SE crashes.
Hope this information helps to identify the problem.
Rgds

Re: installation problem

Posted: Fri Nov 24, 2017 12:40 am
by RussDirks
Could you please post the file C:\users\janro\AppData\Roaming\Microsoft\FSX\exe.xml as an attachment so I can have a look at it.

Re: installation problem

Posted: Fri Nov 24, 2017 2:12 am
by janroth
Pls find below the content of the file C:\users\janro\AppData\Roaming\Microsoft\FSX\EXE.XML

<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="Launch" version="1,0">
<Descr>Launch</Descr>
<Filename>EXE.xml</Filename>
<Disabled>False</Disabled>
<Launch.ManualLoad>True</Launch.ManualLoad>
<Launch.Addon>
<Disabled>True</Disabled>
<ManualLoad>False</ManualLoad>
<Name>Addon Application</Name>
<Path>C:\MyPath\Addon.exe</Path>
<CommandLine></CommandLine>
<NewConsole>True</NewConsole>
</Launch.Addon>
<Launch.Addon>
<Name>FLSFS</Name>
<Disabled>False</Disabled>
<ManualLoad>False</ManualLoad>
<Path>F:\Steam\steamapps\common\FSXFlyLogic\SeasonFileSwitcher.exe</Path>
</Launch.Addon>
<Launch.Addon>
<Name>FLSFSV2</Name>
<Disabled>False</Disabled>
<ManualLoad>False</ManualLoad>
<Path>F:\Steam\steamapps\common\FSXFlyLogic\SeasonFileSwitcherV2\SeasonFileSwitcherV2.exe</Path>
</Launch.Addon>
<Launch.Addon>
<Disabled>False</Disabled>
<ManualLoad>False</ManualLoad>
<Name>WinchX!</Name>
<Path>F:\FSE dinsdag & zaterdag vluchten\2016-12-17 Vliegdag Jaap\WinchX\Modules\WinchX!\WinchX.exe</Path>
<CommandLine></CommandLine>
<NewConsole>True</NewConsole>
</Launch.Addon>
</SimBase.Document>

In addition plse find below the same file of Prepar3Dv4 ( C:\Users\janro\AppData\Roaming\Lockheed Martin\Prepar3Dv4\exe.xml )

<?xml version="1.0" encoding="UTF-8"?>
<SimBase.Document Type="Launch" version="1,0">
<Descr>Launch</Descr>
<Filename>exe.xml</Filename>
<Disabled>False</Disabled>
<Launch.ManualLoad>False</Launch.ManualLoad>
<Launch.Addon>
<Name>FSForce</Name>
<Disabled>false</Disabled>
<ManualLoad>false</ManualLoad>
<Path>C:\Program Files (x86)\FSForce 2\FSForce.exe</Path>
<NewConsole>true</NewConsole>
<CommandLine>/FS</CommandLine>
</Launch.Addon>
</SimBase.Document>

Rgrds

Re: installation problem

Posted: Fri Nov 24, 2017 3:40 am
by RussDirks
The FS Force installer uses a Windows API package to parse the XML, and it is pretty picky about syntax. The error message tells you exactly where the problem is : line 31, character 27. It is in the line:

Code: Select all

<Path>F:\FSE dinsdag & zaterdag vluchten\2016-12-17 Vliegdag Jaap\WinchX\Modules\WinchX!\WinchX.exe</Path>
It's probably the "&" character, which by itself is not valid XML. Based on my Google search, I would recommend editing it to this:

Code: Select all

<Path>F:\FSE dinsdag &amp; zaterdag vluchten\2016-12-17 Vliegdag Jaap\WinchX\Modules\WinchX!\WinchX.exe</Path>
If that doesn't work, try this:

Code: Select all

<Path>F:\FSE dinsdag & zaterdag vluchten\2016-12-17 Vliegdag Jaap\WinchX\Modules\WinchX!\WinchX.exe</Path>
or this:

Code: Select all

<Path>F:\FSE dinsdag & zaterdag vluchten\2016-12-17 Vliegdag Jaap\WinchX\Modules\WinchX!\WinchX.exe</Path>

Re: installation problem

Posted: Fri Nov 24, 2017 3:42 am
by RussDirks
As to the error with FSX-SE, you are probably being affected by this bug. Try the solutions presented on that page. If they don't work, please let me know.

Re: installation problem

Posted: Fri Nov 24, 2017 6:28 pm
by janroth
Hi,
As suggested I have removed the "wrong" character in the exe.xml file and I have also changed the name of the .dll file. The installation works fine. It looks as if the problems are solved! ( both FSX-SE and Prepar3Dv4 )
Thnks very for your help

Re: installation problem

Posted: Sat Nov 25, 2017 3:13 am
by janroth
Hi,
When I start Prepar3D I always get the following messages:
Prepar3D is attempting to start "FSFORCE" (version 2.12.0.74, Config Entry number1) Do you want to run this program?
C:\Program Files (x86)\FSFORCE 2\FSFORCE.exe YES or NO
After clicking YES I receive the next message:
Prepar3D is attemping to start "FSFORCE DLL (version 2.12.0.074 Config Entry number 4) Do you want to run this program?
C:\Program Files (x86)\FSForce 2\fsforce_x86.dll YES or NO
After selecting YES Prepar3D starts and FSForce is active and working.

When I start FSX-SE I get the same message for fsforce.exe:
Flight Simulator is attempting to start "FSFORCE" (version 2.12.0.74, Config Entry number 4) Do you want to run this program?
C:\Program Files (x86)\FSFORCE 2\FSFORCE.exe YES or NO
After clicking YES FSX-SE starts and fsforce is active and working.

Any suggestion what I have to do when starting up the simulators (Prepar3D and FSX-SE) without these messages coming up every time?

Thnks

Re: installation problem

Posted: Sat Nov 25, 2017 8:44 am
by RussDirks
Open up the files EXE.XML and DLL.XML in a text editor, and look for the FS Force section. It will look something like this:

Code: Select all

	<Launch.Addon>
		<Name>FSForce DLL</Name>
		<Disabled>false</Disabled>
		<ManualLoad>false</ManualLoad>
		<Path>C:\Program Files (x86)\FSForce 2\fsforce.dll</Path>
	</Launch.Addon>
Make sure the <ManualLoad> value is false.

You will find these files in %APPDATA%\Microsoft and %APPDATA%\Lockheed Martin\Prepar3D v4

Re: installation problem

Posted: Sun Nov 26, 2017 3:07 am
by janroth
Hi,
I have changed everything as you suggested. The result is that Prepar3D now starts normal, but for FSX-SE the message (Flight Simulator is attempting to start "FS Force"........ is still coming. Any additional suggestion?
Rgrds

Re: installation problem

Posted: Tue Nov 28, 2017 3:03 am
by RussDirks
Please post the contents of the DLL.XML file and the EXE.XML file for FSX-SE. Note that these files might be in %APPDATA%\Microsoft\FSX or they might be in %APPDATA%\Microsoft\FSX-SE

Re: installation problem

Posted: Tue Nov 28, 2017 3:42 am
by janroth
Hi,
I finally got everything working as I want. I do not know what happened, but for some strange reason some lines in the exe.dll and fsforce.dll files were changed (by who or what I do not know?). I have re-edited the files as you suggested, I have removed the original but renamed fsforce.dll and now fsforce is working as it should. The only thing which I miss is the trim gaauge on the screen. But this is probably due to the fact that I am using 3 screens. Where can I find the coding for the position of the trim gauge?
Rgds