[WiX-users] Hidden Bundle Variables

2011-07-21 Thread Kryschan
Hi! I recently upgraded to WiX 3.6.1908.0 to benefit from the hidden-feature of bundle variables. And indeed in my tests changes to hidden variables are logged without the values. But: when an MSI package is executed with such a hidden variable as parameter, the values are still logged in clear

[WiX-users] Manifest for Burn Bootstrapper

2011-07-21 Thread Kryschan
Hi! My bootstrapper application needs to gather some information from IIS and therefore needs to be elevated. Is it possible to embed a manifest requesting the level requireAdministrator into the bootstrapper? If yes how would this be done? Best regards Kryschan -- View this message in

[WiX-users] Preprocessor ?if $(var.A) or $(var.B) ?

2011-07-21 Thread Stefan Pavlik
Hi All I need to include some part code depending on existence of several macros. I would write something like this: ?if $(var.A) or $(var.B) ? !--code-- ?endif? Problem is that candle will generate error CNDL0150 (Undefined preprocessor variable) if any of the variables is not defined.

Re: [WiX-users] Preprocessor ?if $(var.A) or $(var.B) ?

2011-07-21 Thread Peter Shirtcliffe
This works for us ?ifndef compression ? ?define compression = high ? ?endif? -Original Message- From: Stefan Pavlik [mailto:stefan.pav...@gmail.com] Sent: 21 July 2011 10:22 To: WiX-users Subject: [WiX-users] Preprocessor ?if $(var.A) or $(var.B) ? Hi All I need to include some part

Re: [WiX-users] Manifest for Burn Bootstrapper

2011-07-21 Thread David Watson
You can embed a custom manifest to a pre-built executable using the MT.exe tool. http://msdn.microsoft.com/en-us/library/aa375649(VS.85).aspx mt.exe -manifest setup.exe.manifest -outputresource:setup.exe -Original Message- From: Kryschan [mailto:christian.hennig@wincor-nixdorf.com]

Re: [WiX-users] Preprocessor ?if $(var.A) or $(var.B) ?

2011-07-21 Thread Stefan Pavlik
My own reply: On Thu, Jul 21, 2011 at 11:22 AM, Stefan Pavlik stefan.pav...@gmail.comwrote: ?if $(var.A) or $(var.B) ? !--code-- ?endif? Of course I can use following code but it is a bit unhandy (to check for aprox. 20 possible macros) ?ifdef A? ?ifdef USE_FEATURE_1? ?undef

Re: [WiX-users] Preprocessor ?if $(var.A) or $(var.B) ?

2011-07-21 Thread Stefan Pavlik
On 21/07/2011 11:30, Peter Shirtcliffe wrote: This works for us ?ifndef compression ? ?define compression = high ? ?endif? This works also for me, but it is not possible (AFAIK) to use 'OR', 'AND' operators in ?ifdef?, ?ifndef? expressions. -- Stefan Pavlik | stefan.pav...@gmail.com

Re: [WiX-users] Preprocessor ?if $(var.A) or $(var.B) ?

2011-07-21 Thread Stefan Pavlik
On Thu, Jul 21, 2011 at 11:30 AM, Peter Shirtcliffe pshirtcli...@sdl.comwrote: This works for us ?ifndef compression ? ?define compression = high ? ?endif? This will simplify a bit the code but still it is not very pretty: ?ifdef A? ?ifndef USE_FEATURE_1? ?define USE_FEATURE_1?

Re: [WiX-users] Preprocessor ?if $(var.A) or $(var.B) ?

2011-07-21 Thread Peter Shirtcliffe
Rather than depending on the existence of the variables, could you give them an arbitrary null/empty/false value as a default and test for them being not null/empty/false ? Would that work ? -Original Message- From: Stefan Pavlik [mailto:stefan.pav...@gmail.com] Sent: 21 July 2011 10:39

[WiX-users] Std Bootstrapper failed: Error 0x800b010a

2011-07-21 Thread Thomas . Deboben
Hello, I'm a new WiX-user and just try to build a bootstrapper to customize a PostgreSQL installation. I use WIX 3.6.1915.0 in VS2010. I've added two ExePackages into a chain (64bit and 32bit package). Later I will pass additional parameters to these packages given from custom dialogs. ?xml

Re: [WiX-users] Preprocessor ?if $(var.A) or $(var.B) ?

2011-07-21 Thread Stefan Pavlik
On 21/07/2011 11:42, Peter Shirtcliffe wrote: Rather than depending on the existence of the variables, could you give them an arbitrary null/empty/false value as a default and test for them being not null/empty/false ? Would that work ? Hm... It is problem because the macros are created

Re: [WiX-users] Hidden Bundle Variables

2011-07-21 Thread jhennessey
The bug is still open, see the submitter's comments: http://sourceforge.net/tracker/?func=detailaid=3302804group_id=105970atid=642714 http://sourceforge.net/tracker/?func=detailaid=3302804group_id=105970atid=642714 -- View this message in context:

Re: [WiX-users] Wix 3.6.1518.0 to 3.6.1915.0 issue

2011-07-21 Thread John Cooper
Very familiar! Just ran into it this past week . . . -- jmc -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, July 20, 2011 8:24 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix 3.6.1518.0 to 3.6.1915.0 issue

[WiX-users] Using WIX in TFS 2010

2011-07-21 Thread Anil Patel
Hello, I'm using Visual Studio 2010 solution which has a single WiX project within it. I have another VS 2010 Solution (call it Solution BinaryProvider) which provides the binaries that get built into a MSi by the WiX solution. I'm using a TFS 2010 Build system in which the build order is 1)

Re: [WiX-users] Manifest for Burn Bootstrapper

2011-07-21 Thread Rob Mensching
The goal is very much that a Bootstrapper Application is never elevated. We don't want BAs writing to the machine. Plus, the start experience for a bootstrapper is much better if you don't elevate right away. Unfortunately, IIS really made a mess of things when they did not provide a way to

Re: [WiX-users] Preprocessor ?if $(var.A) or $(var.B) ?

2011-07-21 Thread Rob Mensching
Sounds like a bug. On Thu, Jul 21, 2011 at 2:22 AM, Stefan Pavlik stefan.pav...@gmail.comwrote: Hi All I need to include some part code depending on existence of several macros. I would write something like this: ?if $(var.A) or $(var.B) ? !--code-- ?endif? Problem is that candle will

Re: [WiX-users] Using WIX in TFS 2010

2011-07-21 Thread Rob Mensching
I would use BindPath. On Thu, Jul 21, 2011 at 6:42 AM, Anil Patel apatel...@googlemail.comwrote: Hello, I'm using Visual Studio 2010 solution which has a single WiX project within it. I have another VS 2010 Solution (call it Solution BinaryProvider) which provides the binaries that get

Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a

2011-07-21 Thread Rob Mensching
0x800B010A == A certificate chain could not be built to a trusted root authority. Is the exe signed? Is the signature valid and trusted on the machine? On Thu, Jul 21, 2011 at 2:48 AM, thomas.debo...@rohde-schwarz.com wrote: Hello, I'm a new WiX-user and just try to build a bootstrapper to

Re: [WiX-users] Using WIX in TFS 2010

2011-07-21 Thread Anil Patel
Hi Rob, Appreciate your reply on this but can you please elaborate on this by way of an example.. Thanks, Anil. On Thu, Jul 21, 2011 at 4:17 PM, Rob Mensching r...@robmensching.com wrote: I would use BindPath. On Thu, Jul 21, 2011 at 6:42 AM, Anil Patel apatel...@googlemail.com wrote:

Re: [WiX-users] Manifest for Burn Bootstrapper

2011-07-21 Thread Roy Chastain
The goal is very much that a Bootstrapper Application is never elevated. Rob, I would very much like for you to rethink that goal. Granted BAs should not write to the system, but there are some compelling reasons for allowing the BA to run elevated. 1) - Allows a user without elevation

Re: [WiX-users] Manifest for Burn Bootstrapper

2011-07-21 Thread Rob Mensching
1. That is not the recommended way to deal with UAC from Windows. You're supposed to display UI and only elevate when the user does an action that requires it. This is how the Windows Installer behaves. You're also more likely to ensure that the elevation prompt appears on top of everything

Re: [WiX-users] Caching payload, sudden terrible performance?

2011-07-21 Thread Dan Puza
Would you say that this is a WiX bug? Can you think of any workarounds? I've tried disabling CRL checking machine wide as described here, with no success: http://www.page-house.com/blog/2009/04/how-to-disable-crl-checking.html I am not really knowledgeable about dealing with certificates in