Welcome Guest.   Make a donation to an author on the site September 02, 2014, 09:14:15 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2011! Download 30+ custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Launch Ignores Exe.Config  (Read 1894 times)
jmiller76
Participant
*
Posts: 2

View Profile Give some DonationCredits to this forum member
« on: February 06, 2012, 02:17:40 PM »

LaunchBar Commander 1.129.01 (Win7 All latest patches)
I have created command nodes to both:
C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe
And the to the default shortcut in the start menu.

I have created a C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe.config config file to allow PowerShell to run as .Net 4.0

When I run either through LaunchBar Commander, it is ignoring this XML, giving me a black background (default is blue).

Any ideas?

When launching the EXE directly it loads the .CONFIG.

.Config matches :

<?xml version="1.0"?>
<configuration>
    <startup useLegacyV2RuntimeActivationPolicy="true">
          <supportedRuntime version="v4.0.30319" />
          <supportedRuntime version="v3.5" />
          <supportedRuntime version="v3.0" />
          <supportedRuntime version="v2.0.50727" />

    </startup>
</configuration>

Logged
mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: February 06, 2012, 04:23:39 PM »

I have some new launching options that I need to put into place in LBC in the next release.  Hopefully that will fix things -- if not i'll have another look.

One thing you could try though is to create a .bat file that launches the app -- can you see if having LBC launch the .bat file solves the problem you are having? if so that would at least be a clue.
Logged
jmiller76
Participant
*
Posts: 2

View Profile Give some DonationCredits to this forum member
« Reply #2 on: February 06, 2012, 04:37:19 PM »

BAT with "%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe" Starts the prompt using the .Config's settings.  But the Apps running icon is the CMD icon.

BAT with "start %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe"  uses the .Congfig settings, applies the appropriate powerShell App Icon, but doesn't load the default color scheme.

the .lnk has the color scheme info so I changed it to:
start "" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Windows PowerShell\Windows PowerShell.lnk"
and this works fine.

Running the link without invoking via Start does not work.

I'll try again with a direct link after the update, but this will work.

Thanks,
      Josh
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.047s | Server load: 0.27 ]