[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: I have successfully set permissions on other keys using similar code, but this one isn't working. Aft

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 Stu

[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 u

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

2010-07-20 Thread David Battey
I've got the following code I have read on the list that the may not work, but in this case it's true, so that's not an issue. When I run my msi, the driver is not installe

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 02/02/2010 11:09 AM Please respond to "General discussion for Windows Installer XML toolset." To wix-users@lists.sourceforge.net cc Subject [WiX-users] Set a registry value to a conditional value

[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] E_HANDLE returned from WcaAddTempRecord

2009-10-22 Thread David Battey
empRecord, right? > > -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

[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, L"ListBox", &error, 0, 4, L"PROPERTYNAME", 1, L"0", L"Value"); I

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

2009-10-09 Thread David Battey
;>0 ... If your custom action runs after CostFinalize, use MsiSetComponentState. See the description of the "Condition" column in this page: http://msdn.microsoft.com/library/aa368007.aspx -Original Message----- From: David Battey [mailto:dbat...@ph...] Sent: Tuesday, October

[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. Thank

[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) 205-511

[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