Re: [WiX-users] Feature Tree modification based on property.

2010-03-24 Thread Rohit Sharma (SIDC)
Hello Again, Bob: I tried what is suggested in your blog but I am at the exact situation which Peter faced mentioned in #9 on your blog. So Bob as you mentioned there: "It's not possible to change how the selection tree control works, just modify what's shown.". How can I HIDE the feature f

Re: [WiX-users] Create MS SQL Server 2008 database during installation.

2010-03-24 Thread Michael Osmond
Hi Error 0x80004005: failed to create to database: 80004005 - is Access Denied. Regards Michael -Original Message- From: Asiri Wanigarathne [mailto:waas...@gmail.com] Sent: Thursday, 25 March 2010 3:43 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-user

Re: [WiX-users] Create MS SQL Server 2008 database during installation.

2010-03-24 Thread Asiri Wanigarathne
Hi Bob, thanks for the reply. here are the few linnes from the log just before the error occured. I tried it on SQL server 2005 express installation. My target is SQL Server 2008. MSI (s) (40:80) [15:38:34:583]: File: C:\Program Files\WIX\WindowsFormsApplication1.exe;To be installed;Won'

[WiX-users] How to create web app/service on IIS 7 with WiX 3.0

2010-03-24 Thread Ivo Stoyanov
I spent hours trying to add web feature to my wix project. Once it failed with wrong web site created - after that all attempts fail and nothing is being created. My attempt looks like this Can somebody share working snippet? I am using latest 3.5 on IIS 7.5

Re: [WiX-users] heat Harvest Types of project not working

2010-03-24 Thread Bill McCormick (LIST)
OK. I checked out the complete project and verified that I have read/write permissions in each folder. Still the same. Here's the complete command line: $ heat project -pog:Binaries -var var.AceCmdCom -dr AceCmdCom -ag -suid -cg ACECMDCOM -sfrag -out AceCmdCom.wxs -template:fragment "C:\ace-co

[WiX-users] Unreadable Registry values created with WiX installer

2010-03-24 Thread Jan Bilek
Hello, I have found a very strange problem. In my installer i'm creating several registry keys and values (COM assembly registration). They are all created without any issues, they are fully accessible using registry editor, they have sufficient permissions to be accessed by any local user, but

Re: [WiX-users] heat Harvest Types of project not working

2010-03-24 Thread Bill McCormick (LIST)
OK. That had not occurred to me. The project is under source control so it may be that I need to check out some part or all of the project. Thanks!! Mike Carlson (DEV DIV) wrote: > It shouldn't be giving this message, but have you tried building the project? > I ask because it could be a secondar

Re: [WiX-users] heat Harvest Types of project not working

2010-03-24 Thread Mike Carlson (DEV DIV)
It shouldn't be giving this message, but have you tried building the project? I ask because it could be a secondary file (like the primary output) that heat is trying to open (and is causing the exception to occur). -Original Message- From: Bill McCormick (LIST) [mailto:wpmccorm...@ace-c

Re: [WiX-users] de-globalizing a variable referenced by a Directory?

2010-03-24 Thread Andrew Hammond
So, I don't see how to have this be only required when I'm installing a component that actually uses the LOGDIRECTORY. Can I move a part of the directory tree into a separate component? A On Wed, Mar 24, 2010 at 10:52 AM, Andrew Hammond < andrew.george.hamm...@gmail.com> wrote: > Pally, these ar

[WiX-users] heat Harvest Types of project not working

2010-03-24 Thread Bill McCormick (LIST)
Is heat broken for Harvest Types of project? Here's the output: heat.exe : error HEAT0001 : -pog:Binaries Exception Type: System.IO.FileNotFoundException Stack Trace: at Microsoft.Tools.WindowsInstallerXml.Extensions.VSProjectHarvester.Harvest(String argument) at Microsoft.Tools.Window

Re: [WiX-users] Create MS SQL Server 2008 database during installation.

2010-03-24 Thread Bob Arnson
On 3/22/2010 10:36 PM, Asiri Wanigarathne wrote: > My installer fails with following error message: > > Error – 2147467259. Failed to create SQL database. > > TestDatabase, error detail: unknown error. > There's additional logging before that line that might be helpful to pinpoint the cause.

Re: [WiX-users] Feature Tree modification based on property.

2010-03-24 Thread Bob Arnson
On 3/24/2010 9:21 AM, Rohit Sharma (SIDC) wrote: > > > > See http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/. Feature conditions aren't constantly evaluated; instead, they're evaluated by specific actions, which sees the FEATUREx property not set (or some o

Re: [WiX-users] Upgrade Table

2010-03-24 Thread Bob Arnson
On 3/24/2010 1:15 PM, Uma Harano wrote: > So if I do not want to have upgrades for my installations, how do I author > this table? > Change your question: So if I do not want to have upgrades for my installations, how do I pass this test? The test case appears to indicate that you must sup

Re: [WiX-users] Microsoft HTML Help 1.4 SDK for WiX build

2010-03-24 Thread Bob Arnson
On 3/24/2010 12:23 PM, Oleksandr Y. Nechyporenko wrote: > Can anybody give me a link to download Microsoft HTML Help 1.4 SDK which is > required to build WiX from sources. I've found article in MSDN > > http://msdn.microsoft.com/en-us/library/ms669985(VS.85).aspx , > > but still can't find link to

Re: [WiX-users] Why my bootstrap loader always deletes msi file?

2010-03-24 Thread Bob Arnson
On 3/24/2010 10:37 AM, Zhou, Lei wrote: > I have created a bootstrap loader (i.e., setup.exe) for MSI. It works > fine except it always deletes my .msi file. Why? I have checked all the > command line options of msistuff and don't know how turn off this > behavior. > > I just downloaded the bootstr

Re: [WiX-users] Debug symbol undefined when building using MSbuild

2010-03-24 Thread Bob Arnson
On 3/24/2010 2:03 PM, Inbar, Ron wrote: > The Server and Client configurations are distinguishable by the definition of > a preprocessor variable named "Server" through the Build tab in the project > property sheet. > My nightly build generates all four MSIs using MSBuild. Recently I noticed >

Re: [WiX-users] Merge Module extracts msm file in target directory

2010-03-24 Thread Bob Arnson
On 3/24/2010 11:54 AM, Johann Taferl, T-AU wrote: > I don't know, if this is an error or intended behavior: > > When I create a simple merge module (in my test with only one file in > it) and refer to this merge module, the merge module - and its content - > is not extracted to a temporary director

[WiX-users] Debug symbol undefined when building using MSbuild

2010-03-24 Thread Inbar, Ron
Hi, My project has four configurations: "Server Debug," "Server Release," "Client Debug" and "Client Release." The Server and Client configurations are distinguishable by the definition of a preprocessor variable named "Server" through the Build tab in the project property sheet. My nightly bui

Re: [WiX-users] Feature Tree modification based on property.

2010-03-24 Thread Sam Domonkos
I am still new to WiX, but maybe set each feature's level to 0 then changing them to 1 with your custom action. Then when the user gets to the customize dialogue they should be able to enable disable the feature. --Sam On 3/24/2010 8:21 AM, Rohit Sharma (SIDC) wrote: > Hello > > > > I have a w

Re: [WiX-users] de-globalizing a variable referenced by a Directory?

2010-03-24 Thread Andrew Hammond
Pally, these are all good pointers.The LOGDIRECTORY is actually a UNC path. The installer needs to go an create some folders there, so I'm not sure where the correct location for it would be. What would probably solve my problem is being able to have a separate directory tree, defined in a separat

Re: [WiX-users] CAQuietExec and Windows Server 2008 UAC

2010-03-24 Thread David Watson
Hi, You should be able to add permissions to your exe fairly easily with the PermissionEx element. http://wix.sourceforge.net/manual-wix3/util_xsd_permissionex.htm Dave -Original Message- From: Wilson, Phil [mailto:phil.wil...@invensys.com] Sent: 24 March 2010 16:43 To: General discuss

Re: [WiX-users] Upgrade Table

2010-03-24 Thread Uma Harano
Hi, http://blogs.msdn.com/wslogo/archive/2008/02/27/welcome-to-the-works-with-tool-for-windows-server-2008.aspx In this link for Windows Server compatibility certification, it says that I have to populate the Upgrade table (I am assuming this is even if I do not want to make an upgrade of the ms

Re: [WiX-users] CAQuietExec and Windows Server 2008 UAC

2010-03-24 Thread Amy Rosewater
Yeah, I am thinking that what I want is no longer allowed programmatically. Bummer. I can't do it from icacls and a commmand prompt on the machine either. Thanks, A -Original Message- From: Wilson, Phil [mailto:phil.wil...@invensys.com] Sent: Wednesday, March 24, 2010 10:43 AM To: Gen

Re: [WiX-users] CAQuietExec and Windows Server 2008 UAC

2010-03-24 Thread Wilson, Phil
This might be a result of ever-tightening security. The custom action wants to run the command prompt shell (that will try to open a command prompt window) with the local system account. I would not be surprised if this can't be done any more. It might be related to the session service isolation

Re: [WiX-users] .NET Applications

2010-03-24 Thread Bill McCormick (LIST)
OK, thanks. A couple follow up questions: 1. The documentation says that adding Referenses "ensures that build order dependencies are defined correctly within the solution. In addition, it generates a set of WiX preprocessor definitions which are set on the Candle command line and can be refere

[WiX-users] Microsoft HTML Help 1.4 SDK for WiX build

2010-03-24 Thread Oleksandr Y. Nechyporenko
Hi All, Can anybody give me a link to download Microsoft HTML Help 1.4 SDK which is required to build WiX from sources. I've found article in MSDN http://msdn.microsoft.com/en-us/library/ms669985(VS.85).aspx , but still can't find link to download the SDK installer. Thanks. -

[WiX-users] CAQuietExec and Windows Server 2008 UAC

2010-03-24 Thread Amy Rosewater
Hi All, I have a custom action to run CAQuietExec (using wix v 3.0.5419.0). It is currently set up to run as a deferred custom action with no impersonation. When this custom action runs in Windows Server 2003 everything works great. When it runs in Windows Server 2008 with UAC I ge

[WiX-users] Merge Module extracts msm file in target directory

2010-03-24 Thread Johann Taferl, T-AU
Hi, I don't know, if this is an error or intended behavior: When I create a simple merge module (in my test with only one file in it) and refer to this merge module, the merge module - and its content - is not extracted to a temporary directory, but direct in the target folder. Product:

Re: [WiX-users] add folders with many files

2010-03-24 Thread Pally Sandher
You have to individually include each file into the installer. However there's a quick way to do that called heat.exe. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integr

[WiX-users] Why my bootstrap loader always deletes msi file?

2010-03-24 Thread Zhou, Lei
I have created a bootstrap loader (i.e., setup.exe) for MSI. It works fine except it always deletes my .msi file. Why? I have checked all the command line options of msistuff and don't know how turn off this behavior. I just downloaded the bootstrap source code from MSDN yesterday. I find out that

[WiX-users] add folders with many files

2010-03-24 Thread shabbir
Hi, I am adding a website to the wix installer. The webiste contains folders within folders with many images and script files. Would I have to individually include each file into the installer or is there a quick way of including a foler and all its contents? Thanks -- View this message in co

[WiX-users] Feature Tree modification based on property.

2010-03-24 Thread Rohit Sharma (SIDC)
Hello I have a wix project where I have 2 Main features and 1 Main feature has two sub features. I have added a dialog box which I show to the user which takes the productkey as input from the user. The return value from my custom action lets me know whether the Feature 1 or Feature 2 are to

Re: [WiX-users] de-globalizing a variable referenced by a Directory?

2010-03-24 Thread Pally Sandher
LOGDIRECTORY is a Property not a variable & since it's all upper case it's a Public one (http://msdn.microsoft.com/en-us/library/aa370912.aspx). Essentially Properties are Windows Installers variables but you can use variables in WiX so confusing the two now might cause you problems later on. I th

Re: [WiX-users] .NET Applications

2010-03-24 Thread Pally Sandher
1 - References are probably Visual Studio's doing since you have your projects all in the same solution. Dark simply creates XML from an MSI, it doesn't create a .wixproj or modify any .sln. 2 - yes you should be using heat.exe to harvest your .NET assemblies. 3 - Surprisingly you'll find informa

Re: [WiX-users] Upgrade Table

2010-03-24 Thread Pally Sandher
If you're referring to the Microsoft platform testing, those tests are flawed. They failed an MSI of ours due to having a null entry for VersionMax in an Upgrade Table entry even though the MSDN documentation on Windows Installer tells you to do this if you want to check for all versions greater th