• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

Easy WCG_config

Sweet I'm off to bed bro! l8ter

Thanks bro gnite. When you come back tomorrow though, check this out. Don't think it's working. Completed WU's are still showing "ready to report" :( :confused:

Capture013.jpg
 
CP, I'm a simple guy so I keep a cc_config.xml file that I copy to my BOINC folder after I do a new install.

This is what's in my Windows 7 \ProgramData\BOINC\cc_config.xml file.

Code:
<cc_config>
 <options>
  <report_results_immediately>1</report_results_immediately>
 </options>
</cc_config>

I opened the file by right-clicking the file and selecting Edit. I don't know what Mindweaver put in his installer.
 
CP, I'm a simple guy so I keep a cc_config.xml file that I copy to my BOINC folder after I do a new install.

This is what's in my Windows 7 \ProgramData\BOINC\cc_config.xml file.

Code:
<cc_config>
 <options>
  <report_results_immediately>1</report_results_immediately>
 </options>
</cc_config>

I opened the file by right-clicking the file and selecting Edit. I don't know what Mindweaver put in his installer.

I copied yours into my CC config file. Let's see how that one works :toast:

I think this one seems to work

Capture014.jpg
 
I copied yours into my CC config file. Let's see how that one works :toast:
In order to fix the exe, I need to know the following information:

1) What's the full path to the cc_config.xml that worked?

2) What's the full path to where BOINC is installed?


3) At the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Space Sciences Laboratory, U.C. Berkeley\BOINC Setup
OR
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Space Sciences Laboratory, U.C. Berkeley\BOINC Setup

Are DATADIR, INSTALLDIR, or MIGRATIONDIR correct? A screen shot of what is in there would be helpful.


4) Do you have BOINC 32-bit installed on a 64-bit OS?
 
Last edited:
Thanks bro gnite. When you come back tomorrow though, check this out. Don't think it's working. Completed WU's are still showing "ready to report" :( :confused:

http://img.techpowerup.org/100302/Capture013.jpg

Sorry bro.. I hate to ask you to brake your file but could you re run my file and copy what it's writing and post back. Don't for get to save your working file first... hehehe I won't be home for awhile today.

CP, I'm a simple guy so I keep a cc_config.xml file that I copy to my BOINC folder after I do a new install.

This is what's in my Windows 7 \ProgramData\BOINC\cc_config.xml file.

Code:
<cc_config>
 <options>
  <report_results_immediately>1</report_results_immediately>
 </options>
</cc_config>

I opened the file by right-clicking the file and selecting Edit. I don't know what Mindweaver put in his installer.

Thanks msgclb for the help! :respect: It was really late and way past my bed time.. hehehe It should be the same code as yours.. but I could barely keep my eyes open.. So, I'll check it out today and fix the error. The file on the front page works if you have wcg installed in its default location on your system drive. I'll start working on a new release with SSD support, were the user is installing Boinc on a different drive. Thanks again msgclb! :respect:
 
Last edited:
In order to fix the exe, I need to know the following information:

1) What's the full path to the cc_config.xml that worked?

2) What's the full path to where BOINC is installed?


3) At the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Space Sciences Laboratory, U.C. Berkeley\BOINC Setup
OR
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Space Sciences Laboratory, U.C. Berkeley\BOINC Setup

Are DATADIR, INSTALLDIR, or MIGRATIONDIR correct? A screen shot of what is in there would be helpful.


4) Do you have BOINC 32-bit installed on a 64-bit OS?

Sorry bro.. I hate to ask you to brake your file but could you re run my file and copy what it's writing and post back. Don't for get to save your working file first... hehehe I won't be home for awhile today.



Thanks msgclb for the help! :respect: It was really late and way past my bed time.. hehehe It should be the same code as yours.. but I could barely keep my eyes open.. So, I'll check it out today and fix the error. The file on the front page works if you have wcg installed in its default location on your system drive. I'll start working on a new release with SSD support, were the user is installing Boinc on a different drive. Thanks again msgclb! :respect:
I'll get you guys the info when I get back from work. Thanks for the help :toast:
 
I think this should get the right file...

The cc_config.xml you edited (that works) should appear in the list of processed files. Let me know if it does or doesn't. If it does, then there's no need answering those 4 questions above (this fix addresses number 4--it will search both paths listed under 3). ;)


FYI, the executable supports the "-dir" command (I forgot about this). In your instance, this would hook you up:
WCGConfigEZ.exe -dir "D:\Program Data"

If cc_config.xml exists, it would patch it. If it doesn't exist, it would create it with the appropiate settings.


Running WCGConfigEZ.exe from your SSD might have also worked.
 
Last edited:
Thanks a lot FORD, I'll heck it out when I get home and post back :toast:
 
Hey CP I seen the error in my code.. Forgot a ".

I've fixed it. Please test and let me know after you have tested Ford's. Thanks and Thanks Ford for pulling my slack!... :p Long time know hear from! :toast:
 

Attachments

Hey CP I seen the error in my code.. Forgot a ".

I've fixed it. Please test and let me know after you have tested Ford's. Thanks and Thanks Ford for pulling my slack!... :p Long time know hear from! :toast:

msgclb's was working. I tried yours now and it seems to work as well :toast:
 
Did the exe process the correct file? I want to get it fixed so other people won't encounter the same problem as you.


Edit: This is an updated version. I changed the name of the executable as well as made a change which would make sure the previous changes will still work in Windows 98 SE and Windows 2000.


Edit: Updated again. This version will always create cc_config.xml according to the BOINC/WCG registry data. I also updated the copyright year to 2010.
 
Last edited:
Did the exe process the correct file? I want to get it fixed so other people won't encounter the same problem as you.


Edit: This is an updated version. I changed the name of the executable as well as made a change which would make sure the previous changes will still work in Windows 98 SE and Windows 2000.


Edit: Updated again. This version will always create cc_config.xml according to the BOINC/WCG registry data. I also updated the copyright year to 2010.

The last one that mind posted, yes it did. Working great :toast:
 
Mindweaver hasn't posted an executable except in the OP which is still the original version (known to not be working in your situation). I mean the executable in that last post of mine.

Mindweaver's batch programs and my executable have completely different code bases so they have to be tested individually. That is, my executables are not based on his batch programs.

Please try running WCG Configurator 1.0.3 and let me know if the cc_config.xml that is known to be used by BOINC appears in the processed list. If it does and you want to take it a step further, try deleting the cc_config.xml, run the configurator again and make sure it recreates it in the appropriate location. If that works, it should work on any Windows 98 SE thru Windows 7 BOINC install where the registry contains the correct information (which should be all) even if it is installed on a different hard drive.
 
Last edited:
I'll do ao when I get home :toast:
 
Mindweaver hasn't posted an executable except in the OP which is still the original version (known to not be working in your situation). I mean the executable in that last post of mine.

Mindweaver's batch programs and my executable have completely different code bases so they have to be tested individually. That is, my executables are not based on his batch programs.

Please try running WCG Configurator 1.0.3 and let me know if the cc_config.xml that is known to be used by BOINC appears in the processed list. If it does and you want to take it a step further, try deleting the cc_config.xml, run the configurator again and make sure it recreates it in the appropriate location. If that works, it should work on any Windows 98 SE thru Windows 7 BOINC install where the registry contains the correct information (which should be all) even if it is installed on a different hard drive.

Hey FordGT90Concept after Chicken Patty has tested your exe. I'll update the OP with the new update. :toast: :respect:

I'll do ao when I get home :toast:

Thanks again bro for all the help with testing! :toast: :respect:
 
Thanks for reminding me too! :laugh:

Downloading and installing fords exe now.

EDIT: Ok seems to be working so far. Thanks for all the help guys :toast: :rockout:
 
Was the correct file (if it hasn't changed from before: D:\ProgramData\cc_config.xml ) in the "processed" list? A screenshot of what it shows before it closes would be very helpful.

It isn't an installer. It is a console application that can be ran from any where and discarded.
 
Last edited:
Was the correct file (if it hasn't changed from before: D:\ProgramData\cc_config.xml ) in the "processed" list? A screenshot of what it shows before it closes would be very helpful.

It isn't an installer. It is a console application that can be ran from any where and discarded.

Here you go dude:

Capture017.jpg
 
Win! Mindweaver, the version attached to this post is ready for the OP...


By the way, you can delete the C:\ProgramData\BOINC directory if all it contains is cc_config.xml. The previous version of the configurator would default to that location if it couldn't find it elsewhere. The current version defaults to the DATADIR registry entry.
 
Last edited:
After spending a week trying to get Ubuntu 9.10 to run BOINC on an AMD system that consists of an ASUS M3A76-CM and an Athlon II X4 620 I gave up and installed XP. BOINC hung itself trying to validate me! I didn't have a WCG config file for this XP install so I used FordGT90Concept's last version and it didn't give me any errors. I just did the install so it will be awhile before anything is ready to upload.

That installer found where BOINC hid its files. I had to poke around to find them.
 
The exe uses the registry which the BOINC/WCG installer creates. It should always get the right directory unless, of course, the registry is incorrect.
 
Win! Mindweaver, the version attached to this post is ready for the OP...


By the way, you can delete the C:\ProgramData\BOINC directory if all it contains is cc_config.xml. The previous version of the configurator would default to that location if it couldn't find it elsewhere. The current version defaults to the DATADIR registry entry.

I've updated the OP! :toast: Great job! and thanks for the information! :respect:
 
I should really completely recode it. Except the registry stuff, I really don't like the current version because it, well, isn't intelligent enough for my taste. I might recode it from scratch if I have time...

What would be better: console version like it is now or make it a windowed application? Either way, it would be a one or two click ordeal.
 
So this just makes the projects upload when there complete and that's it? whats the advantage? Pretty cool I tried this out on 3 of my machines 2x 64bit windows 7 enterprise and ultimate and windows 32bit enterprise.
 
Back
Top