Roger Yen wrote:
<Publish Dialog="VerifyReadyDlg" Control="Install" Event="DoAction"
Value="CreateAction" Order="6">NOT Installed AND OVERWRITE="1"</Publish>
You can't modify the machine from the UI. In fact, custom actions that
modify the machine have to be not only in InstallExecuteSequence, they
have to be deferred. Deferred custom actions can't read properties so
you generally need two CAs: one to get the property values and store it
in CustomActionData and a deferred CA that reads CustomActionData and
modifies the machine. If possible, you can save a lot of time and
debugging by using an existing action. For example, if the file you need
to write can look like an .ini file, you can use the IniFile element
"for free." Or if it's XML, use the WiX XmlConfig element.
--
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users