Have to perform "SETUP" everytime I use GCP

Here is where the coffee machine and Coke machine are kept. Please clean up after yourself and do not remove the magazines from this area. A good place to exchange thoughts with Operations personel and other pilots.

Moderators: Staff, HR, Flight Ops

Post Reply
canadagoose
www.meble-kuchenne.warszawa.pl

Have to perform "SETUP" everytime I use GCP

Post by canadagoose »

Just wondering if this is a common glitch with the program or am I doing something wrong. GCP asks me to setup each time I use it and the program places the FOLDERS: "Flights" & "Logs" as well as FILES: "gcp.INI", "AIRCRAFT.TXT" and "PILOTFLIGHTS.TXT" on my desktop. Any help would be much appreciated.

Best Regards,
User avatar
nwadc10
Site Admin
Posts: 3948
Joined: Wed Jun 09, 2004 10:17 pm
Location: Ramsey, MN, USA

Re: Have to perform "SETUP" everytime I use GCP

Post by nwadc10 »

canadagoose wrote:Just wondering if this is a common glitch with the program or am I doing something wrong. GCP asks me to setup each time I use it and the program places the FOLDERS: "Flights" & "Logs" as well as FILES: "gcp.INI", "AIRCRAFT.TXT" and "PILOTFLIGHTS.TXT" on my desktop. Any help would be much appreciated.

Best Regards,
Working on it. It should be a simple fix. The function MICROSOFT provides in the .NET framework is supposed to place files/folders at a location beginning where the exe is located. Clearly that function doesn't work as advertised. I'll change that code back to the old way. It will be done on Wednesday.

Justin
Justin Erickson, Captain #1040
Chief Executive Officer
Globe Cargo PIREP (GCP) Developer
ceo-at-globecargova.org
Vatsim ID: 871725

Image
canadagoose

Post by canadagoose »

Thanks Justin. A note to the problem. The system seemed to work properly the last time I used it (last night) and I did not have to do the setup. But it did dump the 2 file folders onto my desktop (not the other files). So I'm slowly getting there...LOL

Regards,
User avatar
nwadc10
Site Admin
Posts: 3948
Joined: Wed Jun 09, 2004 10:17 pm
Location: Ramsey, MN, USA

Post by nwadc10 »

The problem has been fixed. The problem was not in the function provided by MS but in the program used to create the installer. Because for GCP2.2.2 I switched to a more customizable installer program I had to write the code for the installer vs using a graphical wizard to create the installation file.

There was a line of code I needed to add to the portion of the program that handles the desktop and start menu shortcuts. Because that line was missing, when the desktop shortcut was used to start the program, GCP was looking for all of its files on the desktop, not in the GCP folder. When launching GCP for the first time from the installer at the end of the installation GCP was run from the GCP folder. You may have had to configure GCP in that case. Then when you went to start it from the desktop icon it was looking for GCP.ini on the desktop which of course it couldn't find so it had to configure GCP again. Then it placed all the files on the desktop. This same fix also fixed the problem of running GCP from the start menu.

However, I did find another issue I need to fix before sending out the new installer. You may notice that on the Enroute tab in the autosave section, "- Inhibited" will flash off and on when the aircraft is off the ground. For some reason the autosave is being told to inhibit the autosave then not to inhibit....repeatedly. I flew an entire flight before noticing this and the autosaves were not actually inhibited.

I'm on a trip right now and will be back tomorrow evening. I'll do my best to troubleshoot this little issue and get the new installer uploaded. I have another 3 day trip starting before sunrise the next morning so it will be tight.

Thanks for your patience everyone!
Justin
Justin Erickson, Captain #1040
Chief Executive Officer
Globe Cargo PIREP (GCP) Developer
ceo-at-globecargova.org
Vatsim ID: 871725

Image
Post Reply