[Solved] Starting up PR
-
Freighttrain4
- Posts: 52
- Joined: 2010-11-12 20:26
[Solved] Starting up PR
Okay I installed in this order
1. BF2
2. Patch 1.41
3. Patch 1.5
4. PR part 1
5. PR part 2
6. PR part 3
and when I click on the shortcut to go into PR and it goes to a window titled "Run As" and when I login it says "BF2.exe has encountered a problem and needs to close. we are sorry for your inconvenience"
please tell me if I'm doing something wrong like what do I need to start before I start PR
here is another problem YouTube - Freighttrainfour's Channel
1. BF2
2. Patch 1.41
3. Patch 1.5
4. PR part 1
5. PR part 2
6. PR part 3
and when I click on the shortcut to go into PR and it goes to a window titled "Run As" and when I login it says "BF2.exe has encountered a problem and needs to close. we are sorry for your inconvenience"
please tell me if I'm doing something wrong like what do I need to start before I start PR
here is another problem YouTube - Freighttrainfour's Channel
Last edited by SnipingCoward on 2010-12-10 01:42, edited 2 times in total.
Reason: You are not posting back, assuming fixed. Also the other part is solved. leaving unlocked for a possibly better solution
Reason: You are not posting back, assuming fixed. Also the other part is solved. leaving unlocked for a possibly better solution

-
SnipingCoward
- Posts: 2326
- Joined: 2007-12-31 22:40
Re: Starting up PR
You/Your windows account will need adminstrative privileges to install and run PR.
To temporarly grant admin privs this "Run As" window pops up. Instead of entering your current account's credentials you sould enter an admin account's credentials.
To temporarly grant admin privs this "Run As" window pops up. Instead of entering your current account's credentials you sould enter an admin account's credentials.
Got a PROBLEM? Check this: PR:BF2 Installation Guide
Got a common QUESTION? check here first: PR:BF2 FAQ, MUMBLE FAQ
"Hello, IT! ... Yes, have you tried turning it on and off again?"
Got a common QUESTION? check here first: PR:BF2 FAQ, MUMBLE FAQ
"Hello, IT! ... Yes, have you tried turning it on and off again?"
-
Freighttrain4
- Posts: 52
- Joined: 2010-11-12 20:26
Re: Starting up PR
how would i get an admin's credentials?
Last edited by Freighttrain4 on 2010-11-20 16:35, edited 1 time in total.

-
SnipingCoward
- Posts: 2326
- Joined: 2007-12-31 22:40
Re: Starting up PR
Either it is your PC then gaining appropriate access should not be an issue
or it is not your (e.g. a company's) PC you would have to ask your system admin to install and set up your account appropriately. Admins will generally not give you their credentials.
or it is not your (e.g. a company's) PC you would have to ask your system admin to install and set up your account appropriately. Admins will generally not give you their credentials.
Got a PROBLEM? Check this: PR:BF2 Installation Guide
Got a common QUESTION? check here first: PR:BF2 FAQ, MUMBLE FAQ
"Hello, IT! ... Yes, have you tried turning it on and off again?"
Got a common QUESTION? check here first: PR:BF2 FAQ, MUMBLE FAQ
"Hello, IT! ... Yes, have you tried turning it on and off again?"
-
Freighttrain4
- Posts: 52
- Joined: 2010-11-12 20:26
-
krazzyb
- Posts: 5
- Joined: 2007-12-30 08:09
Re: Starting up PR
Freighttrain4 - how did the re-install go?
I have the same problem but if I de-select the "Protect my computer and data from unauthorized program activity" check box and then OK PR runs ok.
This is a mystery to me as the account that installed all of the PR versions including the latest version is an Admin account and this problem only started with this latest release.
For clarity I am running WinXP 32bit.
I have the same problem but if I de-select the "Protect my computer and data from unauthorized program activity" check box and then OK PR runs ok.
This is a mystery to me as the account that installed all of the PR versions including the latest version is an Admin account and this problem only started with this latest release.
For clarity I am running WinXP 32bit.
-
SnipingCoward
- Posts: 2326
- Joined: 2007-12-31 22:40
Re: Starting up PR
@krazzyb: I am glad you figured out a solution. Thank you for sharing it.
Are you running PR from within a non-admin account?
Are you running PR from within a non-admin account?
PR.95's pr.exe was modified to request elevated privileges. This probably causes your issue. It was implemented since on Vista and Win7 those are required. Previous versions lacked this feature and caused problems since people using UAC were either repetitivly asked to grant those privileges or weren't asked resulting in game crashes.krazzyb wrote:This is a mystery to me as the account that installed all of the PR versions including the latest version is an Admin account and this problem only started with this latest release.
Got a PROBLEM? Check this: PR:BF2 Installation Guide
Got a common QUESTION? check here first: PR:BF2 FAQ, MUMBLE FAQ
"Hello, IT! ... Yes, have you tried turning it on and off again?"
Got a common QUESTION? check here first: PR:BF2 FAQ, MUMBLE FAQ
"Hello, IT! ... Yes, have you tried turning it on and off again?"
-
krazzyb
- Posts: 5
- Joined: 2007-12-30 08:09
Re: Starting up PR
SnipingCoward - No - the same admin account that was used to install PR is the same one I use to run the pr.exe.
I guess because Winxp doesn't know about UAC it throws up the Run As dialogue box in response to the request for elevated privileges.
I had a quick look on the net but couldn't find a way to silently supply the required info to the Run As dialogue box. Any ideas?
I guess because Winxp doesn't know about UAC it throws up the Run As dialogue box in response to the request for elevated privileges.
I had a quick look on the net but couldn't find a way to silently supply the required info to the Run As dialogue box. Any ideas?
-
SnipingCoward
- Posts: 2326
- Joined: 2007-12-31 22:40
Re: Starting up PR
Interresting.
I remember doing this for Xfire when I still had UAC enabled on Vista. Maybe the XP task scheduler has something similar? How to Run Programs Elevated Without Getting the UAC Prompt - The Winhelponline Blog
Also I believe somewhere hidden within the shortcut's properties dialog there is a "Run as Administrator" check box (maybe even hidden behind an "Advanced"-button. Try that one.
You know what, I might even suggest you post this as a bug report.
I remember doing this for Xfire when I still had UAC enabled on Vista. Maybe the XP task scheduler has something similar? How to Run Programs Elevated Without Getting the UAC Prompt - The Winhelponline Blog
Also I believe somewhere hidden within the shortcut's properties dialog there is a "Run as Administrator" check box (maybe even hidden behind an "Advanced"-button. Try that one.
You know what, I might even suggest you post this as a bug report.
Got a PROBLEM? Check this: PR:BF2 Installation Guide
Got a common QUESTION? check here first: PR:BF2 FAQ, MUMBLE FAQ
"Hello, IT! ... Yes, have you tried turning it on and off again?"
Got a common QUESTION? check here first: PR:BF2 FAQ, MUMBLE FAQ
"Hello, IT! ... Yes, have you tried turning it on and off again?"
-
Twisted Helix
- Retired PR Developer
- Posts: 5145
- Joined: 2008-11-03 04:18
Re: Starting up PR
Sounds to me like you are using the Vista/Win7 pr.exe instead of the pr_xp.exe. There are two in the installer because of this very issue. Elevating privileges for vista and win7 means that on XP it suddenly wants to have "Run as Admin" privileges. So I created a second pr.exe that doesn't contain the manifest, for XP users.krazzyb wrote:S
I guess because Winxp doesn't know about UAC it throws up the Run As dialogue box in response to the request for elevated privileges.
I had a quick look on the net but couldn't find a way to silently supply the required info to the Run As dialogue box. Any ideas?
The installer should automatically detect your system and install the right one. Seems as though it hasn't in this case ?
Anyway ... its not a problem, its just an irritation. You should be able to play normally ?
The object of war is not to die for your country but to make the other ******* die for his.
--George Patton--
--George Patton--
-
krazzyb
- Posts: 5
- Joined: 2007-12-30 08:09
Re: Starting up PR
Twisted Helix - Yes you are correct - the installer appears to have setup the wrong pr.exe version. However I have tried pr_xp.exe. before as I guessed it may be a version of the exe that would not have this issue but it never worked.
I have tried it again today and still no luck - pr_xp.exe runs and spalsh screen apprears but it shows as not responding in Task Mgr and after about 30 - 60 seconds the splash screens disappears and pr stops running.
Not sure if this is helpful but the pr_prError.log has the following entry that matches the attempt to start pr:
System.Exception: Error in parsing the localization directories, details are ...
---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'd:\program files\ea games\battlefield 2\mods\pr\pr_localization'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.DirectoryInfo.GetDirectories(String searchPattern, SearchOption searchOption)
at System.IO.DirectoryInfo.GetDirectories()
at q..ctor(String A_0)
--- End of inner exception stack trace ---
at q..ctor(String A_0)
at g.a(String[] A_0)
I have tried it again today and still no luck - pr_xp.exe runs and spalsh screen apprears but it shows as not responding in Task Mgr and after about 30 - 60 seconds the splash screens disappears and pr stops running.
Not sure if this is helpful but the pr_prError.log has the following entry that matches the attempt to start pr:
System.Exception: Error in parsing the localization directories, details are ...
---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'd:\program files\ea games\battlefield 2\mods\pr\pr_localization'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.DirectoryInfo.GetDirectories(String searchPattern, SearchOption searchOption)
at System.IO.DirectoryInfo.GetDirectories()
at q..ctor(String A_0)
--- End of inner exception stack trace ---
at q..ctor(String A_0)
at g.a(String[] A_0)
-
krazzyb
- Posts: 5
- Joined: 2007-12-30 08:09
Re: Starting up PR
OK problem solved
You cannot run pr_xp.exe as it will not work - looks like something to do with vanilla bf2 and activation. If you rename the current pr.exe to say pr_win7.exe and then rename pr_xp.exe to pr.exe then pr starts ok and doesn't display the Run As window.
You cannot run pr_xp.exe as it will not work - looks like something to do with vanilla bf2 and activation. If you rename the current pr.exe to say pr_win7.exe and then rename pr_xp.exe to pr.exe then pr starts ok and doesn't display the Run As window.
