Re: [WiX-users] Adding User Interface to Setup Project in Visual Studio

2007-06-12 Thread Bob Arnson

Afshin Sepehri wrote:


light.exe -out SampleWixUI.msi SampleWixUI.wixobj /path/\wixui.wixlib 
-loc /path/\WixUI_en-us.wxl




That command line is for WiX v2. In v3, you just need to add a reference 
to WixUIExtension.dll.


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding User Interface to Setup Project in Visual Studio

2007-06-12 Thread Simon Dahlbacka

On 6/12/07, Bob Arnson [EMAIL PROTECTED] wrote:


 Afshin Sepehri wrote:

 light.exe -out SampleWixUI.msi SampleWixUI.wixobj *path*\wixui.wixlib
-loc *path*\WixUI_en-us.wxl


That command line is for WiX v2. In v3, you just need to add a reference
to WixUIExtension.dll.



and specify Cultures

--

sig://boB
http://joyofsetup.com/


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding User Interface to Setup Project in Visual Studio

2007-06-12 Thread John Hall
 

I am trying to use Votive and Visual Studio to build my WiX
Steup project, but to be able to add User Interface, I need to add
parameters to light. For example:

 

light.exe -out SampleWixUI.msi SampleWixUI.wixobj
path\wixui.wixlib -loc path\WixUI_en-us.wxl

 

However, the light settings in project file in VS does not let
me add any new parameter. Does anybody know how I can build my setup
project with VS? 

Ashin,

 

I don't think you can add the reference to WixUIExtension.dll from
within Votive, so you need to modify the wixproj manually and add an
item like this:

 

  ItemGroup
WixExtension Include=$(WixDir)\bin\WixUIExtension.dll /
  /ItemGroup

I've defined an environment variable called WixDir to make my file
portable rather than put in an absolute path, but there might be a
better way.

 

Regards,

John

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding User Interface to Setup Project in Visual Studio

2007-06-12 Thread Cheyne, Mark A - DNR
I'm new to WiX myself and just ran into this one yesterday. I presume
you are using VS2005 and WiX 3.0? The instructions at
http://wix.sourceforge.net/manual-wix2/WixUI_dialog_library.htm to add a
*.wixlib and *.wxl file to the Light command line do not apply to WiX
3.0, nor do they work with the VS IDE. Instead, use the VS solution
explorer to add a reference to WixUIExtension.dll, which you'll find in
WiX's install directory. Then you do still need to identify the
localization culture. On the Linker tab (Light Settings) of the
solution's property pane, specify 'en-US' (or whatever) as the Culture.
Mark

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding User Interface to Setup Project in Visual Studio

2007-06-12 Thread Simon Dahlbacka

both I and Cheyne, Mark A - DNR have already replied that you also need to
specify Cultures, re-read the post from Mark for detailed instructions.

On 6/12/07, Afshin Sepehri [EMAIL PROTECTED] wrote:


 When I add a reference to WixUIExtension.dll, I get so many errors such
as:



The localization variable !(loc.WixUIOK) is unknown.  Please ensure the
variable is defined.



Any idea?



Afshin



*From:* Bob Arnson [mailto:[EMAIL PROTECTED]
*Sent:* Monday, June 11, 2007 11:12 PM
*To:* Afshin Sepehri
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Adding User Interface to Setup Project in
Visual Studio



Afshin Sepehri wrote:

light.exe -out SampleWixUI.msi SampleWixUI.wixobj *path*\wixui.wixlib -loc
*path*\WixUI_en-us.wxl


That command line is for WiX v2. In v3, you just need to add a reference
to WixUIExtension.dll.


 --

sig://boB

http://joyofsetup.com/


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding User Interface to Setup Project in Visual Studio

2007-06-12 Thread Brett Kapilik
Add -cultures:en-us (or your supported language of choice) to the
light command line as well.
 
- Brett
 


  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Afshin
Sepehri
Sent: Tuesday, June 12, 2007 1:40 PM
To: Bob Arnson
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding User Interface to Setup Project
in Visual Studio



When I add a reference to WixUIExtension.dll, I get so many
errors such as:

 

The localization variable !(loc.WixUIOK) is unknown.  Please
ensure the variable is defined.

 

Any idea?

 

Afshin

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 11, 2007 11:12 PM
To: Afshin Sepehri
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding User Interface to Setup Project
in Visual Studio

 

Afshin Sepehri wrote: 

light.exe -out SampleWixUI.msi SampleWixUI.wixobj
path\wixui.wixlib -loc path\WixUI_en-us.wxl


That command line is for WiX v2. In v3, you just need to add a
reference to WixUIExtension.dll. 




-- 
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding User Interface to Setup Project in Visual Studio

2007-06-12 Thread Afshin Sepehri
Sorry, but I missed that part from your email and I did not receive any email 
from Cheyne, Mark A - DNR.

I added the culture and it worked.

Thanks,
Afshin

From: Simon Dahlbacka [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 12, 2007 11:47 AM
To: Afshin Sepehri
Cc: Bob Arnson; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding User Interface to Setup Project in Visual Studio

both I and Cheyne, Mark A - DNR have already replied that you also need to 
specify Cultures, re-read the post from Mark for detailed instructions.
On 6/12/07, Afshin Sepehri [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote:

When I add a reference to WixUIExtension.dll, I get so many errors such as:



The localization variable !(loc.WixUIOK) is unknown.  Please ensure the 
variable is defined.



Any idea?



Afshin



From: Bob Arnson [mailto: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2007 11:12 PM
To: Afshin Sepehri
Cc: wix-users@lists.sourceforge.netmailto:wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding User Interface to Setup Project in Visual Studio



Afshin Sepehri wrote:

light.exe -out SampleWixUI.msi SampleWixUI.wixobj path\wixui.wixlib -loc 
path\WixUI_en-us.wxl

That command line is for WiX v2. In v3, you just need to add a reference to 
WixUIExtension.dll.


--

sig://boB

http://joyofsetup.com/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.netmailto:WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Adding User Interface to Setup Project in Visual Studio

2007-06-11 Thread Afshin Sepehri
Hi,

I am trying to use Votive and Visual Studio to build my WiX Steup project, but 
to be able to add User Interface, I need to add parameters to light. For 
example:

light.exe -out SampleWixUI.msi SampleWixUI.wixobj path\wixui.wixlib -loc 
path\WixUI_en-us.wxl

However, the light settings in project file in VS does not let me add any new 
parameter. Does anybody know how I can build my setup project with VS?

Thanks,
Afshin




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users