[WiX-users] Message from regedit.exe about reordering permissions after util:PermissionEx

2011-03-07 Thread David Battey
I'm trying to set permissions on a registry key so that it can be written to without requiring elevation. I've got the following component: Component Id=NodeAKey Guid={0B1C585D-E6C9-4230-B837-23578983D157} RegistryKey Id=NodeAKey Root=HKLM Key=SOFTWARE\...\NodeA Action=create

Re: [WiX-users] Immediate custom actions with and without UI

2011-02-12 Thread David Battey
Thanks all for the replies. CustomAction/@Execute = firstSequence is exactly what I needed (I do indeed need the custom action to run before the UI). -- The ultimate all-in-one performance toolkit: Intel(R) Parallel

[WiX-users] Immediate custom actions with and without UI

2011-02-11 Thread David Battey
I need to run immediate custom actions before showing my UI, so I've currently got them near the beginning of InstallUISequence. But I also need them to run in a quiet installation. So it seems they need to also be in InstallExecuteSequence. I've currently got them in both sequences, and am

[WiX-users] difx:Driver isn't installing driver

2010-07-20 Thread David Battey
I've got the following code Directory Id=PciIbs Name=PciIbs Component Id=PciIbsDriver Guid={AD037B1D-D7B7-4354-A5AB-BED39591ABC8} File Id=Ibddiwnt.dll Name=Ibddiwnt.dll DiskId=1 Source=Ibddiwnt.dll / File Id=Ibpcimpm.inf Name=Ibpcimpm.inf DiskId=1

[WiX-users] Set a registry value to a conditional value

2010-02-02 Thread David Battey
I want to set a registry value to a DWORD of 1, unless a optional parameter of BAR=1 is specified when the installer runs. I've tried variations on what's listed below, but can't get it to work (the listing below doesn't work because I'm trying to use an expression in the SetProperty element).

Re: [WiX-users] Set a registry value to a conditional value

2010-02-02 Thread David Battey
Please disregard; I found a way to do what I need to do. - David David Battey dbat...@phoenixcon.com 02/02/2010 11:09 AM Please respond to General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net To wix-users@lists.sourceforge.net cc Subject [WiX-users] Set

Re: [WiX-users] E_HANDLE returned from WcaAddTempRecord

2009-10-22 Thread David Battey
? -Original Message- From: David Battey [mailto:dbat...@phoenixcon.com] Sent: Wednesday, October 21, 2009 10:02 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] E_HANDLE returned from WcaAddTempRecord When I run this in an immediate CA in the InstallUISequence

[WiX-users] E_HANDLE returned from WcaAddTempRecord

2009-10-21 Thread David Battey
When I run this in an immediate CA in the InstallUISequence HRESULT hr = S_OK; MSIHANDLE hTable = NULL; MSIHANDLE hColumns = NULL; MSIDBERROR error; hr = WcaAddTempRecord(hTable, hColumns, LListBox, error, 0, 4, LPROPERTYNAME, 1, L0, LValue); I get an hr

Re: [WiX-users] How can I capture the exit code from an ExeCommand CA?

2009-10-09 Thread David Battey
.aspx -Original Message- From: David Battey [mailto:dbat...@ph...] Sent: Tuesday, October 06, 2009 7:15 AM To: wix-us...@li... Subject: [WiX-users] How can I capture the exit code from an ExeCommand CA? I want to run an ExeCommand CA and then decide which of two components to install

[WiX-users] How can I capture the exit code from an ExeCommand CA?

2009-10-06 Thread David Battey
I want to run an ExeCommand CA and then decide which of two components to install depending on the process's exit code . Is there a way to do this? I can write a DllCommand to execute the .exe and assign the exit code to a property, but I'm wondering if there's a more direct way to do it.

[WiX-users] Subtract a value from a property

2009-10-01 Thread David Battey
I need to write the value contained in the PhysicalMemory variable, minus a constant value, out to an ini file. Can I do this subtraction in Wix/Windows Installer, short of writing a C++/C# custom action? Thanks, David David E. Battey Senior Software Engineer Phoenix Contact Inc. (734)

[WiX-users] All Users App Data folder?

2009-09-28 Thread David Battey
Is there a special ID that I can use to refer to the All Users application data folder, typically C:\Documents and Settings\All Users\Application Data? Can someone point me to a list of all the special IDs (ProgramFilesFolder, ProgramMenuFolder, etc.) that are available? Thanks, David David