Re: [WiX-users] ServiceInstall account problem

2008-08-01 Thread Daniel Rieck
Here's my entire WiX file: http://schemas.microsoft.com/wix/2006/wi [http://schemas.microsoft.com/wix/2006/wi]";> I found this snippet at http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-using.html [http://avinashkt.blogs

Re: [WiX-users] DTF FeatureParent

2008-08-01 Thread Powell, Simon
But, its supported by the Installer Object of the Automation Interface. Straight from the Windows Installer SDK... "The FeatureParent property specifies the parent feature of a feature. An empty string for this property indicates the feature has no parent and is a root item. This is a read-only

Re: [WiX-users] Wix and TFS

2008-08-01 Thread Sajid1105
Hi, If I use votive, its going to be a lot of work since we have large number of projects and custm tasks in msbuild as well as wxs files. is there a way in msbuild that I can schedule the wix compilation beforedropbuild and copy this msi file to the binary folder? Dmitry Berkovich wrote: > >

Re: [WiX-users] Run ICE validation without admin permissions

2008-08-01 Thread Buddell, James
I've struggled with this recently as well (on XP and in Orca rather than Light) as we were piloting running without admin rights. It turned out to be caused not by the rights themselves but by the MSI policies. Since validating involves launching a session object, and since we had DisableMSI set to

Re: [WiX-users] Wix 3.0 Com+ deployment question.

2008-08-01 Thread Mo Benmouffok
No sure I understand the answer. So I have the following command-line. The extension I want to use is specified in the command line. Candle Main.wxs -ext WixComPlusExtension.dll When I run it, I get the following message. C:\MultiCorpora Projects\Ito\Build\MSI\OutsideIn\Main.wxs(26) : error CN

Re: [WiX-users] Determining the port number of the default IIS website

2008-08-01 Thread José Diaz Seng
Neil, thanks for the warning, I would have fallen into that trap sooner or later. So I changed my port determining script. It now iterates over all metabase objects on the same level as the websites and chooses the first website it finds. The script now looks as follows: 'sets DEFAULT_WEBSITE_PO

Re: [WiX-users] Wix and TFS

2008-08-01 Thread Christopher Karper
Yeah, you can do it. You'll have to manually create your tasks and schedule them in each of your project files. That's essentially duplicating what's int he project files for Votive. I would say, even though it's going to be some work, you'd still be better served by building Votive projects and

Re: [WiX-users] Binder variables from Votive

2008-08-01 Thread Christopher Karper
Done and done... http://sourceforge.net/tracker/index.php?func=detail&aid=2034934&group_id=105970&atid=642714 On Fri, Aug 1, 2008 at 2:36 AM, Rob Mensching <[EMAIL PROTECTED]>wrote: > Bug. Would you mind filing it? > > -Original Message- > From: [EMAIL PROTECTED] [mailto: > [EMAIL PROT

Re: [WiX-users] Wix and TFS

2008-08-01 Thread Neil Enns
Sajid, Create a .wixproj file either manually or using the Votive integration with Visual Studio, then check that project into TFS. After that's done you can go through some easy steps to check the WiX tools into TFS and make a minor modification to the .wixproj file so it will build on your da

Re: [WiX-users] Wix 3.0 Com+ deployment question.

2008-08-01 Thread Bob Arnson
Mo Benmouffok wrote: > C:\MultiCorpora Projects\Ito\Build\MSI\OutsideIn\Main.wxs(26) : error > CNDL0200 : > The Component element contains an unhandled extension element > 'pca:ComPlusAppli > cation'. Please ensure that the extension for elements in the ' > http://schemas.m > icrosoft.com/wix/200

Re: [WiX-users] DTF FeatureParent

2008-08-01 Thread Bob Arnson
Powell, Simon wrote: > But, its supported by the Installer Object of the Automation Interface. > If the raw MSI API supports that information, DTF could. But if the Installer object is using private data that isn't otherwise exposed, DTF wouldn't have a way to get it. -- sig://boB http://j

Re: [WiX-users] ServiceInstall account problem

2008-08-01 Thread Bob Arnson
Daniel Rieck wrote: > I tried removing the Account and Password properties altogether, so it would > default to LocalSystem, but that didn't help either. > Try using a tool like InstSrv to see if you can register the service by hand. -- sig://boB htt

Re: [WiX-users] UAC + devenv setup

2008-08-01 Thread Bob Arnson
John-Daniel Trask wrote: > You mention there is no guarantees with this process. Does this mean there > would be a more robust mechanism of achieving the same outcome? Would > bootstrapping and then manifesting the bootstrapper in a manner that > elevated permissions resolve this issue more? >

Re: [WiX-users] Wix and TFS

2008-08-01 Thread Neil Enns
Here's the documentation I mentioned that should show up in the next weekly WiX build: Integrating WiX Projects Into Daily Builds One of the most common reasons for using MSBuild with WiX project files is to integrate the build of an installer into an existing daily build process. This is ofte

[WiX-users] Overriding DefaultConstants or sending variables to candle using TFSBuild

2008-08-01 Thread Joe Pub
Hi, I am using Wix 3.0.4318.0. I have created a Wix project using Votive and have added it to TFS. I am attempting to either customise the whole DefaultConstants property inside my TFSBuild.proj file or create a property which is referenced in the DefaultsConstants property at no avail. I have

Re: [WiX-users] Overriding DefaultConstants or sending variables to candle using TFSBuild

2008-08-01 Thread Neil Enns
You can definitely do this. My first question is why are you using CreateProperty instead of setting a property directly using elements? You should only have to use CreateProperty if the value is something computed on the fly by the build. Here's what our project file looks like:

Re: [WiX-users] Overriding DefaultConstants or sending variables to candle using TFSBuild

2008-08-01 Thread Neil Enns
Fixed a typo below, I botched a closing PropertyGroup tag. Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Enns Sent: Friday, August 01, 2008 9:10 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Overriding D

Re: [WiX-users] Overriding DefaultConstants or sending variables to candle using TFSBuild

2008-08-01 Thread Joe Pub
I have tried both CreateProperty and PropertyGroup, and neither seem to work. I have placed mine inside Project element inside the TFSBuild.proj file which looks like this TestString Test=$(TestProp) So based off my understanding, the DefineConstants should be totally replac

Re: [WiX-users] Wix 3.0 Com+ deployment question.

2008-08-01 Thread Neil Sleightholm
Here is a COM+ fragment I have just knocked up. http://schemas.microsoft.com/wix/2006/wi"; xmlns:complus="http://schemas.microsoft.com/wix/ComPlusExtension";> If you are using Votive the you n

Re: [WiX-users] DTF FeatureParent

2008-08-01 Thread Jason Ginchereau
Interesting, I'd never noticed that FeatureParent automation property before. Unless I'm missing something, this looks like a rare case where the MSI automation interface exposes functionality that is NOT directly exposed by the Win32 APIs. Still it is possible to get that information from the

Re: [WiX-users] Does Pyro (or Torch) ignore 4-th version number?

2008-08-01 Thread Tony Juricic
I tried using it during patch application like: msiexec /update Patch.msp /lv*x .\install.log MSIENFORCEUPGRADECOMPONENTRULES=1 LOGVERBOSE=1 but reading the install.log I cannot find anything a bit more explicit about this violation. It is certainly not saying something like "you changed the name

Re: [WiX-users] Overriding DefaultConstants or sending variables to candle using TFSBuild

2008-08-01 Thread Neil Enns
Joe, Simply setting properties in the tfsbuild.proj file won't get them passed down into the .wixproj. I wasn't sure about this and had to look it up. Is it an option to just include those changes directly in the .wixproj file instead? Neil -Original Message- From: [EMAIL PROTECTED] [m

Re: [WiX-users] ServiceInstall account problem

2008-08-01 Thread Wilson, Phil
Isn't the Name required to be the same in ServiceInstall and ServiceControl? (As in the example at http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-using.html where they are both WixServiceInstaller). Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[

Re: [WiX-users] ServiceInstall account problem

2008-08-01 Thread Daniel Rieck
I'm already home for the weekend, but I'll check that on Monday, because I changed all the names in the file before sending it... *Von:* "Wilson, Phil" <[EMAIL PROTECTED]> *Gesendet:* 01.08.08 20:40:07 *An:* General discussion for Windows Installer XML toolset. *Betreff:* Re: [WiX-users] Servi

[WiX-users] Prevent computer being flagged for reboot when MSI is uninstalled.

2008-08-01 Thread Alex Duong
Hi all, I have a Wix 2.0 MSI that I've dark'd from a Visual Studio project. The problem is that every time I uninstall the MSI from a computer, the MSI causes the computer to be flagged for reboot, which I don't want. I was able to narrow it down to it claiming a dll file is currently in use an