Re: [WiX-users] WiX Install path

2008-10-13 Thread Rob Mensching
Yes. That way we won't forget about it... -Original Message- From: Neil Sleightholm [mailto:[EMAIL PROTECTED] Sent: Sunday, October 12, 2008 08:53 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WiX Install path That's good I wouldn't like to change

[WiX-users] DTF: InstallerException from Session.Database, etc.

2008-10-13 Thread Brian Rogers
I'm trying to get a very simple DTF project running. I have a simple WiX project which invokes a DTF managed custom action. However, I can't seem to do anything useful in my custom action before it crashes. It seems that MsiGetActiveDatabase is returning 0 (NULL?) for the handle which

[WiX-users] Password reset after Patch-Installation

2008-10-13 Thread Gremlin
Hello! My password is reset when I install the patch. I set a password at the installation (see below) with a custom action since I noticed that the password can be found in the table User/Password. The property for the password has of course no value before the CA is executed. Is this the

[WiX-users] setupbld

2008-10-13 Thread Hotmail
I cannot get setupbld to work I keep on getting to same error Failed to CreateSetup I followed these instructions : http://blog.torresdal.net/2008/10/06/WiXAndDTFUsingABootstrapperToForceEleva tedPrivilegesInVista.aspx any advice? Thanks Jonathan Moore.

[WiX-users] System.TypeLoadException occurs when running all versions of Wix Tools (light, candle)

2008-10-13 Thread aretha samuel
Hello, I was wondering if anyone had encountered this problem. Whenever i run the command light, candle from the command line, or when i use votive, i get a System.TypeLoadException. How do i go about solving this problem? thanks, aretha

Re: [WiX-users] error while uninstalling

2008-10-13 Thread Nutesh Garg
So which is the correct build to upgrade to that meets following requirements: 1. is stable 2. this issue has been solved in it. 3. does not require major code changes. -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 12:14 PM To: General

Re: [WiX-users] DTF: InstallerException from Session.Database, etc.

2008-10-13 Thread Jason Ginchereau
Deferred custom actions have limited access to the installation session and cannot access the database. For more information, see MSDN: Obtaining Context Information for Deferred Execution Custom Actions http://msdn.microsoft.com/en-us/library/aa370543.aspx -Original Message- From:

Re: [WiX-users] Defining variable

2008-10-13 Thread Alex Ivanoff
Just did. No luck. So, what are my options? -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2008 00:54 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Defining variable I don't use the preprocessor much but

Re: [WiX-users] Defining variable

2008-10-13 Thread Neil Sleightholm
I think the syntax is: ?ifndef Param? ?define Param=Value? ?endif? Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] From: Alex Ivanoff [mailto:[EMAIL PROTECTED] Sent: Mon 13/10/2008 15:42 To: General discussion for

Re: [WiX-users] Defining variable

2008-10-13 Thread Alex Ivanoff
That was it! Thank you. -Original Message- From: Neil Sleightholm [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2008 10:08 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Defining variable I think the syntax is: ?ifndef Param? ?define

Re: [WiX-users] error while uninstalling

2008-10-13 Thread Rob Mensching
For #1 and #2 the build you want is 2.0.5805.0. That is the final WiX v2 build. For #3 the only way to avoid those problems is upgrade your toolset regularly when you are working on a WiX toolset that is under development (as WiX v2 as two years ago). -Original Message- From: Nutesh

Re: [WiX-users] Password reset after Patch-Installation

2008-10-13 Thread Rob Mensching
Very likely. -Original Message- From: Gremlin [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2008 02:07 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Password reset after Patch-Installation Hello! My password is reset when I install the patch. I set a password at the

Re: [WiX-users] DTF: InstallerException from Session.Database, etc.

2008-10-13 Thread Brian Rogers
Okay, that makes sense. Would it be appropriate to open a bug against WiX to add more error information to the DTF exceptions in case someone else ends up in this situation? It could've saved us all a bit of time. :) ## $_='^#(/||/@[EMAIL

Re: [WiX-users] Access denied messages during minor upgrades related to service process

2008-10-13 Thread Alexander Shevchuk
I think what you need is a deferred custom action scheduled in between StopServices and DeleteServices actions. This deferred custom action must call ChangeServiceConfig api (http://msdn.microsoft.com/en-us/library/ms681987(VS.85).aspx) to reset lpServiceStartName and lpPassword to LocalSystem

[WiX-users] xmlConfig and hex ascii values

2008-10-13 Thread Pierson Lee (PIE)
I was attempting to insert #0xA; into my web configs to specify a carriage return for some lines of text I'm adding into the config, but it seems like during the process, those characters are getting stripped. Anyone have any idea how to do this? Thanks :)

[WiX-users] Changes in DTF projects don't trigger a rebuild of the MSI

2008-10-13 Thread Brian Rogers
I have a VS 2008 solution with a DTF project and a WiX project which uses my DTF custom action DLL. I have manually set the project dependencies such that the DTF project builds before the WiX project. Theoretically, a change in the custom action code in the DTF project should trigger a

[WiX-users] Integration with Corext

2008-10-13 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi, I want to integrate my wix code with Corext build process so that daily new msi comes with latest bit. Please help me out, How can I do this. Regards -Sandeep - This SF.Net email is sponsored by the Moblin Your Move

Re: [WiX-users] can't get MSBuild projects to work with latest release (4603)

2008-10-13 Thread Castro, Edwin (Hillsboro)
I noticed that the SourceForge downloads page is pointing to Wix 3.0.4318.0 rather than 3.0.4513.0 or 3.0.4603.0. I had downloaded 3.0.4513.0 before from the SourceForge downloads page but it is no longer there. Is there some place I can download that build? -- Edwin -Original

Re: [WiX-users] Integration with Corext

2008-10-13 Thread Alexander Shevchuk
This is CoreXT question. Send your request to corext internal alias. -Original Message- From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2008 12:02 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Integration with Corext Hi,

[WiX-users] Set the InstallExecuteSequence condition on a Custom Action from a Merge Module

2008-10-13 Thread Ben Greenberg
Hello all, I am including a Merge Module in my MSI that includes a few CAs. I want to allow the user to pass a command line property to skip these CAs. I can edit the Condition property of the CAs in the InstallExecuteSequence table in Orca to do what I want. How can I do it in WiX?

Re: [WiX-users] Defining variable

2008-10-13 Thread Ben Greenberg
Just do it like this: ?ifndef Param No need for $(var.X) syntax in this case. Ben Alex Ivanoff wrote: Why does the following not work: ?ifndef $(var.Param)? ?define Param=Value? ?endif? What I am trying to do is define variable if it was not defined through command line/project

[WiX-users] Set property conditionally

2008-10-13 Thread Alex Ivanoff
Is there a way to set property to different values for different operating systems. I need Account property to be NT AUTHORITY\NETWORK SERVICE for Windows XP and NT AUTHORITY\LOCAL SYSTEM for W2K. - This SF.Net email is

Re: [WiX-users] Set property conditionally

2008-10-13 Thread Rob Mensching
SetProperty? -Original Message- From: Alex Ivanoff [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2008 16:49 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Set property conditionally Is there a way to set property to different values for different

Re: [WiX-users] Set property conditionally

2008-10-13 Thread Alex Ivanoff
In the WiX script? -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2008 18:55 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Set property conditionally SetProperty? -Original Message- From: Alex

[WiX-users] Setupbld.exe Help Jonathan Moore

2008-10-13 Thread Hotmail
I'm having trouble with Setupbld.exe. I'm trying to make a bootstrapper. My command line is simply setupbld.exe -out Setup.exe -msu MyMsi.msi -setup Setup.exe Which gives me an error Failed to CreateSetup does anyone know what's going wrong. Jonathan Moore

[WiX-users] Services are not removed on uninstall

2008-10-13 Thread Alex Ivanoff
I know I am missing something obvious, but I cannot get services to remove on uninstall. This is how I my ServiceInstall looks ServiceInstall Id=MySrv Account=LocalSystem Description=This is my service DisplayName=My service

Re: [WiX-users] Services are not removed on uninstall

2008-10-13 Thread Richard
In article [EMAIL PROTECTED], Alex Ivanoff [EMAIL PROTECTED] writes: I know I am missing something obvious, but I cannot get services to remove on uninstall. This is how I my ServiceInstall looks What does your verbose log say? Does your execute sequence contain the standard actions for

Re: [WiX-users] System.TypeLoadException occurs when running all versions of Wix Tools (light, candle)

2008-10-13 Thread Bob Arnson
aretha samuel wrote: I was wondering if anyone had encountered this problem. Whenever i run the command light, candle from the command line, or when i use votive, i get a System.TypeLoadException. How do i go about solving this problem? Are you trying to run them from a network share

Re: [WiX-users] Setupbld.exe Help Jonathan Moore

2008-10-13 Thread Bob Arnson
Hotmail wrote: setupbld.exe -out Setup.exe -msu MyMsi.msi -setup Setup.exe Which gives me an error Failed to CreateSetup does anyone know what's going wrong. Is there an error code? -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Set the InstallExecuteSequence condition on a Custom Action from a Merge Module

2008-10-13 Thread Bob Arnson
Ben Greenberg wrote: I am including a Merge Module in my MSI that includes a few CAs. I want to allow the user to pass a command line property to skip these CAs. I can edit the Condition property of the CAs in the InstallExecuteSequence table in Orca to do what I want. How can I do it

Re: [WiX-users] can't get MSBuild projects to work with latest release (4603)

2008-10-13 Thread Bob Arnson
Castro, Edwin (Hillsboro) wrote: I noticed that the SourceForge downloads page is pointing to Wix 3.0.4318.0 rather than 3.0.4513.0 or 3.0.4603.0. I had downloaded 3.0.4513.0 before from the SourceForge downloads page but it is no longer there. Is there some place I can download that build?

Re: [WiX-users] Changes in DTF projects don't trigger a rebuild of the MSI

2008-10-13 Thread Bob Arnson
Brian Rogers wrote: Theoretically, a change in the custom action code in the DTF project should trigger a rebuild of the MSI. However, I'm observing that this does not happen. I find I have to clean the solution and do a full rebuild anytime I change my DTF custom action. Perhaps this

[WiX-users] WiX Team Build

2008-10-13 Thread Alex Ivanoff
I wander if anyone can share their experience with building WiX projects with Team Build. What targets to use, what tasks. I am thinking about building our install packages in AfterCompile target using MSBuild task: Target Name=AfterCompile MSBuild Projects=Installer.wixproj

Re: [WiX-users] Services are not removed on uninstall

2008-10-13 Thread Alex Ivanoff
MSI (s) (C0:E4) [23:43:30:572]: Executing op: ServiceInstall(Name=MySrv,DisplayName=My service,ImagePath=C:\Program Files (x86)\MyService\MySvc.exe,ServiceType=16,StartType=2,ErrorControl=1 StartName=LocalSystem,Password=**,Description=This is my service) -Original Message-

Re: [WiX-users] WiX Team Build

2008-10-13 Thread Christopher Karper
I made installer projects using Votive, then just build those as part of my solution build. Simple and easy. Chris On Tue, Oct 14, 2008 at 12:41 AM, Alex Ivanoff [EMAIL PROTECTED]wrote: I wander if anyone can share their experience with building WiX projects with Team Build. What targets to

Re: [WiX-users] Services are not removed on uninstall

2008-10-13 Thread Richard
What does the log say when DeleteServices action is run? -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download http://www.xmission.com/~legalize/book/download/index.html Legalize Adulthood! http://blogs.xmission.com/legalize/

Re: [WiX-users] Services are not removed on uninstall

2008-10-13 Thread Alex Ivanoff
I think I figured it out: I was missing ServiceControl element: ServiceControl Id=MySrvCtrl Name=MySrv Start=install Stop=uninstall Remove=uninstall / -Original Message- From: Richard [mailto:[EMAIL PROTECTED] Sent:

Re: [WiX-users] WiX Team Build

2008-10-13 Thread Alex Ivanoff
Our case is not as easy. We have a couple of different configuration/platform builds and installer contains files from multiple configuration/platforms so it has to run in AfterCompile. -Original Message- From: Christopher Karper [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14,