Re: [WiX-users] WixUI LGHT0103

2006-10-09 Thread Bob Arnson




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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WixUI LGHT0103

2006-10-09 Thread Mike Dimmick



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 
ArnsonSent: 09 October 2006 16:16To: Christer 
SolskogenCc: wix-users@lists.sourceforge.netSubject: 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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WixUI LGHT0103

2006-10-09 Thread Arnette, Bill



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 
  DimmickSent: Monday, October 09, 2006 12:22 PMTo: Bob 
  Arnson; Christer SolskogenCc: 
  wix-users@lists.sourceforge.netSubject: 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 
  ArnsonSent: 09 October 2006 16:16To: Christer 
  SolskogenCc: wix-users@lists.sourceforge.netSubject: 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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WixUI LGHT0103

2006-10-09 Thread Bob Arnson




Mike Dimmick wrote:

  
  
  
  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.


Yep. Like I said, I'm not sure we can do anything about it, other than
breaking syntax compatibility.


  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.


True. I'd say that it's because (like -sice), multiple arguments are
common, so a shorthand is a bonus. But that doesn't really apply to
-cultures...

-- 
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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WixUI LGHT0103

2006-10-08 Thread Bob Arnson
Christer Solskogen wrote:
 No need to do anything special when installing, right? Just place wix 
 somewhere, and put it in PATH ?
 Or how do you install wix? I've just used the 
 http://wix.sourceforge.net/releases/3.0.2128.0/wix3-binaries.zip.
   
It doesn't even have to be in the path. But make sure the directory 
structure is the same as in the .zip file. The tools expect extensions 
to live in the same directory as the .exes.
 Where can I find this culture-file? is it linked in WixUIExtention some way?
   
They're in the sources zip and embedded in the .wixlib that's embedded 
in the extension .dll.

-- 
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WixUI LGHT0103

2006-10-06 Thread Mike Dimmick
I can't reproduce this with build 3.0.2128.0, running a WixCop-converted
version of the tutorial's SampleWixUI.wxs (slightly modified to prevent
complaints about a ShortName being supplied for a Directory when the
Name was actually 8.3 compatible, and to advertise the shortcuts to
prevent ICE43 and ICE57 validation failure).

To test this configuration, grab the SampleWixUI.wxs project from
http://www.tramontana.co.hu/wix/download.php?file=samplewixui.ziptype=a
pplication/zip and compile the attached file as follows:

candle -ext WixUIExtension Copy of SampleWixUI.wxs

light -ext WixUIExtension -cultures:en-US -sice:ICE64 Copy of
SampleWixUI.wixobj

(I'm suppressing ICE64 because it complains that ProgramMenuDir is in
the user profile but not in the RemoveFile table, which it considers an
error and therefore won't generate the MSI. The sample should probably
have a RemoveFolder element under the MainExecutable and Manual
components.)

-- 
Mike Dimmick


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Christer
Solskogen
Sent: 06 October 2006 12:02
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WixUI LGHT0103

It seems like wix3-binary.zip misses some files or something. Or am I
not using it right? If I dont pass the -cultures argument it bursts into
a lot of errors, but that is expected isnt it?

light HelloWorld.wixobj -ext WixUIExtension -cultures:en-US light.exe :
error LGHT0103 : The system cannot find the file 'en-US' 
with type 'Source'.

I also tried WixUI_en-us.wxl from wix2, but that did not work (same
error)

--
chs



-
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.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Copy of SampleWixUI.wxs
Description: Copy of SampleWixUI.wxs
-
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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users