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
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
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
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
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
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).
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
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
;>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
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
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
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
12 matches
Mail list logo