[WiX-users] Setting session variable in managed custom action and accessing it.

2009-07-23 Thread Balu Swaminathan
Hello: My goal is to write a sql server db installer which would install the db only if it is not there. Leave the db on unstall scenario. Searched around the web and could not find anything. Came across this post from Rob and few similar on the web... "You'd have to write a Cu

Re: [WiX-users] Error using WindowsVolume predefined folder...

2009-07-23 Thread Blair
Looking at http://msdn.microsoft.com/library/aa372817.aspx (which is the MSDN page describing the WindowsVolume property) Microsoft says: "Do not use the WindowsVolume property in the Directory column of the Directory table." (which is what the Id attribute populates). You can retrieve its value in

[WiX-users] Error using WindowsVolume predefined folder...

2009-07-23 Thread Ravikumar Gopinath
I need to get the system drive of the target machine during installation. WindowsVolume appears to do that . So I am trying to use the predefined property WindowsVolume like this: ... When I try to compile it, I get an error saying The Directory Name: WindowsVolume is the sa

[WiX-users] FW: How to compute parent directory of file path?

2009-07-23 Thread Vijai Kalyanapasupathy
Hello All, I am creating an installer to install extensions to a service. The extensions are just assemblies and related files that are dropped in the same directory as the service executable. The service installation does not create any registry settings to indicate where the service is instal

[WiX-users] Referencing Environment Variables in WiX

2009-07-23 Thread troy hostetter
WiX project has a pre-build event as such (this is also set in my build script prior to executing MSBuild on the WiX project): set Install_Environment=local I then try to reference this in my WiX code: I get the following error message: error CNDL

Re: [WiX-users] Help with MSHelp2 MSHelp - FIXED

2009-07-23 Thread Dale Quigg
Hi, I'm looking to create a merge module to integrate help into Visual Studio. I've followed David's example, but vs:HelpFilter only has Fragment or Product for Parents (not Module). I tried creating a fragment and referencing that in my merge project, but that still did not work. Any tips or s

Re: [WiX-users] Problem with DTF CustomAction in 3.0.5419

2009-07-23 Thread brianp
Hey Guys, I am having this same problem. I have several managed custom actions that used to work. I then upgraded to build 5419 and my install is now broken. I see the exact error that Shannon does. Any word on this problem or a solution for it? I have looked in the build log for makesfxca

Re: [WiX-users] Upgrading to WiX 3, CNDL0005 error.

2009-07-23 Thread Mike Carlson (DEV DIV)
According to wix.chm, File isn't a valid parent element for util:PerformanceCounter. It needs to be under a Util:PerformanceCategory element, which in turn needs to be under a Component element, not a File. See the CHM for more information. Thanks, Mike Carlson -Original Message- From:

[WiX-users] Upgrading to WiX 3, CNDL0005 error.

2009-07-23 Thread Andy Glass
Greetings all, I'm working up updating an installer from WiX 2 to WiX3. I've used WixCop to do most of the conversion, but I'm getting the following error: error CNDL0005 : The File element contains an unexpected child element 'util:PerformanceCounter'. The area in question is: I have

Re: [WiX-users] filesearch not finding file

2009-07-23 Thread Wilson, Phil
There's always a way to find the component guid. If it's installed, run this as a .vbs VBScript. It will tell you every component guid and file name on the system, what products are using it, and where it's installed. === Option Explicit Public installer, fullmsg, comp, a, p

Re: [WiX-users] Run an MSI from within WIX

2009-07-23 Thread Rob Hamflett
Here's my reply to an earlier thread, "Execute an MSI within an MSI": You can, but not in a very nice way. You can run pretty much anything as an arbitrary custom action. I think there was a custom action for running another MSI file, but this might have been removed. The problem is that only

Re: [WiX-users] Run an MSI from within WIX

2009-07-23 Thread Michael Clark
Check out this link http://softwareinstall.blogspot.com/2008/06/fun-with-msiembeddedchainer. html -Original Message- From: Damien Karkinsky [mailto:d...@adelard.com] Sent: Thursday, July 23, 2009 9:58 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Run an MSI from within WIX

Re: [WiX-users] Run an MSI from within WIX

2009-07-23 Thread Chris Lord
No. You cannot "Chain" one MSI from another. This is a limitation of the Windows Installer technology. To run both MSI's you'll need a bootstrapper. Have a search through the archives as there are plenty of references of bootstrappers as this is a fairly frequent question. Chris -Origi

[WiX-users] Run an MSI from within WIX

2009-07-23 Thread Damien Karkinsky
Hi all, Is it possible to run an msi file from within WiX to install a third party component that only comes as an msi Dom -- ___ WiX-users mailing list WiX-users@lists.sourcef

Re: [WiX-users] Adding Visual Styles manifest to MSBuild Bootstrapper

2009-07-23 Thread David Watson
Hi, I use an msbuild step that calls out to MT.exe that updates the built bootstrapper setup.exe's embedded manifest file. I extracted the Application manifest first (you can use a resource editor for this) and then modified it then checked it into source control to be us

[WiX-users] Adding Visual Styles manifest to MSBuild Bootstrapper

2009-07-23 Thread Ondrej Zarevucky
Hi, I'm using MSBuild to create Bootstraper for my MSI installation which checks and installs .Net Framework if necessary. The whole installation is then packed in 7z SFX package. I've updated the 7z.SFX module to inslude Visual Style manifest, but I'm not able to add manifest to the Bootstrapp

Re: [WiX-users] error 2902

2009-07-23 Thread Sebastian Brand (Instyler Software)
Hi, First, check that your Windows Installer Version is current, I remember Error 2902 was part of a MSI engine fix sometime ago. If that's not it, try splitting the cab file. Unfortunally, WiX doesn't seem to support this yet. More about #2902 -> http://www.appdeploy.com/msierrors/detail.asp?id=

Re: [WiX-users] How People Validate Their Installers

2009-07-23 Thread Pally Sandher
Wow people still do that? I'm using VMWare ESXi on a dedicated machine and it's a hell of a lot faster than imaging a drive when all you need to do is click on a snapshot, click on the "Go to" button & it's ready for use in literally a couple of seconds. I've got our QA guys using XP32, XP64, Vist

[WiX-users] error 2902

2009-07-23 Thread Sudipto
Whenever I include a huge file in the MSI, it fails to install in win2k3. I am using wix2 the huge file is PMBUBD which is 1.3 GB. If I exclude this file the MSI installs well. With the huge file if I build uncompressed, it also install fine Here is the log extract ... what is wrong here ? .