Re: [WiX-users] Transform output of heat to insert an includestatement

2012-03-12 Thread Gary Gocek
nt="yes"/> > > > > name="include">defines.wxi > > > > > > > > > > > > > > -Original Message- > From: Gary Go

[WiX-users] Transform output of heat to insert an include statement

2012-03-08 Thread Gary Gocek
I use heat to generate a WXS file with Fragments. I used the -var arg to replace the path to the files with a preprocessor variable. I can specify the variable's value in the command line to candle with the -d argument. But, I have a wxi file that I would like to include. I can transform the ou

Re: [WiX-users] Querying the package andinstalled productarchitecture

2012-01-03 Thread Gary Gocek
staller XML toolset. > Subject: Re: [WiX-users] Querying the package and installed > productarchitecture > > It's nearly 2012 and I'd much rather use C# and DTF. Perhaps > in 1999 those > VBScript files were interesting and useful. I can understand > the msi.h

Re: [WiX-users] Querying the package and installed productarchitecture

2011-12-30 Thread Gary Gocek
There are tools in the Windows SDK (I am currently using v7) that can query an MSI database. Look especially at the vbs scripts, you can invoke them with SQL to query properties and tables. http://msdn.microsoft.com/en-us/library/windows/desktop/aa372865(v=vs.85).as px Gary > -Original Messa

Re: [WiX-users] Admin access for ICEs and NIT

2011-12-06 Thread Gary Gocek
Here is the post that leads me to believe that admin rights are required for ICEs and NIT. It is a continuous integration environment that fails for me with a build account that does not have admin rights: http://stackoverflow.com/questions/1064580/wix-3-0-throws-error-217-while-be ing-executed-

[WiX-users] Admin access for ICEs and NIT

2011-12-06 Thread Gary Gocek
Is it correct to say that if LIGHT is allowed to run the internal consistency evaluators (ICEs, light runs them by default), and if NIT is used to run unit tests, that the account performing these actions requires admin rights? (WIX 3.5, Windows Server 2008 R2.) This is because ICEs and NIT run

Re: [WiX-users] Lux unit test does not call my CA

2011-10-26 Thread Gary Gocek
A even run? You probably need to schedule it in InstallExecuteSequence. New to Lux myself, but I don't think Lux starts/stops the CA's by itself. -- John M. Cooper -Original Message----- From: Gary Gocek [mailto:g...@gocek.org] Sent: Wednesday, October 26, 2011 2:48 PM To: Ge

[WiX-users] Lux unit test does not call my CA

2011-10-26 Thread Gary Gocek
I'm having trouble with my first attempt at unit-testing custom actions with Lux. In a fragment in "properties.wxs", In a fragment in "CustomActions.wxs", I have Binary and CustomAction elements to configure "FooMethod" as immediate. In the C# code for custom action "FooMethod", session["BAR_

[WiX-users] Suppress redeployment of a file during repairs

2011-09-30 Thread Gary Gocek
I deploy an unversioned file (with a CompanionFile setting) and modify the file during the install based on GUI entries. The repair case does not present the whole GUI, just the maintenance dialog, so during a repair, the file gets redeployed but the GUI entries are not available to re-modify it

Re: [WiX-users] How does order of controls in dialog XML affect dialog behavior?

2011-09-25 Thread Gary Gocek
ginal Message- > From: Bob Arnson [mailto:b...@joyofsetup.com] > Sent: Saturday, September 24, 2011 3:30 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] How does order of controls in dialog > XML affect dialog behavior? > > > On 23-Sep-11 21:16, Gar

[WiX-users] How does order of controls in dialog XML affect dialog behavior?

2011-09-23 Thread Gary Gocek
Is there some info on how WIX 3.5.2519.0 dialog behavior is affected by the order in which the control elements are written in the XML? For example, I had a problem with my Next button not being the default button, even when it was the only control on the dialog marked as "default". I fixed the pr

Re: [WiX-users] unable to download weekly releases

2011-09-16 Thread Gary Gocek
Try codeplex.com, that's the open source repository that is more focused on .NET. WIX is there. I haven't had trouble at sourceforge lately, but try codeplex. > -Original Message- > From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] > Sent: Friday, September 16, 2011 9:31 PM > To: wi

[WiX-users] GUI flickers with original bitmap before my own

2011-09-15 Thread Gary Gocek
With WIX 3.5.2519, I started with the minimal GUI and added a few dialog pages. I copied several of the GUI dialog files from the source directory. Among other things, I replaced the left-side dialog bitmap and the top banner bitmap on various dialogs. When the GUI starts up, I see a (very) brief f

[WiX-users] Rollback under Win 2K3 causes .NET to be uninstalled

2010-12-20 Thread Gary Gocek
Summary: .NET 3.5 installer for .NET 4.0 app. If rollback occurs under Win 2K3, .NET 2.0 is uninstalled as well as app. I have a .NET 3.5 installer for a .NET 4.0 web application, built with WIX 3.5.2110. It installs and uninstalls successfully under Windows Server 2003 and Windows Server 2008. T

Re: [WiX-users] invoking another .msi

2010-10-29 Thread Gary Gocek
I am working on a project that makes use of setupbld from Wix 3.0 to build a bootstrapper (even though we use Wix 3.5 to build our MSIs). We don't chain MSIs or install pre-requisites. We use a bootstrapper for UAC compatibility. For this limited purpose, setupbld works OK. In order to help with i

[WiX-users] Setting .NET framework version for IIS6 web site

2010-10-12 Thread Gary Gocek
I have a .NET 4 web app that runs under IIS6 and IIS7. If .NET 2 or 3 is installed on the client (along with .NET 4), the web site (IIS6) or application pool (IIS7) needs to be changed from the default .NET Framework Version to .NET 4, since the default is .NET 2. Manually, in IIS manager, with Wi

[WiX-users] BadImageFormatException, Microsoft.Deployment.WindowsInstaller - RESOLVED!

2010-09-28 Thread Gary Gocek
I previously posted that my .NET 4 project with .NET 4 custom actions had been failing. This has been resolved, thanks to a co-worker's good catch. I can now author a totally .NET 4 app from VS 2010 with WIX 3.5. The MSI log error was: System.BadImageFormatException: Could not load file or assemb

Re: [WiX-users] BadImageFormatException, Microsoft.Deployment.WindowsInstaller

2010-09-24 Thread Gary Gocek
y with the runtime. Any help would be appreciated. -Original Message----- From: Gary Gocek [mailto:g...@gocek.org] Sent: Thursday, September 23, 2010 7:26 PM To: 'wix-users@lists.sourceforge.net' Subject: BadImageFormatException, Microsoft.Deployment.WindowsInstaller I'm build

[WiX-users] BadImageFormatException, Microsoft.Deployment.WindowsInstaller

2010-09-23 Thread Gary Gocek
I'm building a project on Win 2008 Server 64-bit, using TFS 2010 build services and Visual Studio 2010. All projects in the solution are for VS 2010 and .NET Framework 4 (recently converted from VS 2008 and .NET 3.5). The projects are set for "Any CPU" (so the Platform property in the .csproj files

[WiX-users] How do VS projects know where to find the WIX DLL?

2010-09-20 Thread Gary Gocek
When WIX is installed, it updates Visual Studio to provide, for example, a C# custom action project type. This project type refers to Microsoft.Deployment.WindowsInstaller.dll, and has a build action to run MakeSfxCa. How does Visual Studio know where that DLL resides? It's not in the GAC and ther

Re: [WiX-users] Updating msiexec status window from custom action

2010-08-09 Thread Gary Gocek
that deserves attention? E-Mail Me - Original Message From: Gary Gocek To: wix-users@lists.sourceforge.net Sent: Fri, August 6, 2010 8:02:15 PM Subject: [WiX-users] Updating msiexec status window from custom action Hi all, I work on a wix-based, C# .NET installer, currently targeting Wi

[WiX-users] Updating msiexec status window from custom action

2010-08-06 Thread Gary Gocek
Hi all, I work on a wix-based, C# .NET installer, currently targeting Windows Server 2008 installs with msiexec v4 or greater. The installer invokes a deferred custom action. This works as expected. Files are deployed, custom action tasks are performed, errors result in a clean rollback, etc. Whil