It is a PowerShell issue.  I have do to the same quoting when using NAnt when I want to pass a property on the command line.  Ex. Nant -D:property=value  in cmd.exe has be typed in PowerShell as Nant "-D:property=value".  Thinking about it, it may have to do with how it parses the command line for providers; ex. D: or $env:PATH or hklm:Software.
 
Bill


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: Monday, October 09, 2006 12:22 PM
To: Bob Arnson; Christer Solskogen
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WixUI LGHT0103

I'd take a guess that PowerShell is somehow messing up the parsing of the : and giving the two arguments "-cultures" "en-us", and that light's command-line parser then interprets "en-us" as being a source file for it to process. It then fails because it can't find the file.
 
This parameter is inconsistent with -ext and -loc, as is -sice: which may well suffer from the same problem under PowerShell, if that is the problem. -ext and -loc expect the following argument to be an extension or a localization file, respectively.
 
--
Mike Dimmick


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: 09 October 2006 16:16
To: Christer Solskogen
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WixUI LGHT0103

Christer Solskogen wrote:
It seems like wix dont like to be run from PowerShell/Monad.

I had to run it with:
D:\bin\wix\light.exe -ext WixUIExtension "-cultures:en-us" 
HelloWorld.wixobj
  

Can you post a bug? I'm not sure if we can do anything to make PowerShell happy but if we can, we should.

-- 
sig://boB
http://bobs.org
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to