Page 1 of 1
[Solved] Starting up PR
Posted: 2010-11-20 13:55
by Freighttrain4
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
Re: Starting up PR
Posted: 2010-11-20 14:54
by SnipingCoward
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.
Re: Starting up PR
Posted: 2010-11-20 15:51
by Freighttrain4
how would i get an admin's credentials?
Re: Starting up PR
Posted: 2010-11-20 22:56
by SnipingCoward
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.
Re: Starting up PR
Posted: 2010-11-20 23:32
by Freighttrain4
i'm going to try to re install pr
Re: Starting up PR
Posted: 2010-11-23 14:26
by krazzyb
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.
Re: Starting up PR
Posted: 2010-11-23 15:20
by SnipingCoward
@krazzyb: I am glad you figured out a solution. Thank you for sharing it.
Are you running PR from within a non-admin account?
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.
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.
Re: Starting up PR
Posted: 2010-11-24 22:39
by krazzyb
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?
Re: Starting up PR
Posted: 2010-11-24 23:53
by SnipingCoward
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.
Re: Starting up PR
Posted: 2010-11-25 18:20
by Twisted Helix
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?
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.
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 ?
Re: Starting up PR
Posted: 2010-11-27 02:40
by krazzyb
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)
Re: Starting up PR
Posted: 2010-11-27 02:58
by krazzyb
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.