Hi,

My component have 10files,like abc.exe, def.dll etc... the corresponding wix
code is

        <Component Id="dll" Guid="BE9EF7E5-418A-4933-BE17-C31889F19FCC"
DiskId="1">
                <File Id="defdll" Name="def" KeyPath="yes" Source="def.dll"
/>
        </Component>
        <Component Id="abc.exe" Guid="21309055-43E4-4436-90B2-3D9D5CFE411C"
DiskId="1">
                <File Id="abc.exe" Name="abc" KeyPath="yes" DiskId="1"
Source="application\abc.exe" />
        </Component>

        -----
        -----

Now i want to create some registry keys and setts value. The value should
install by abc.exe

Following is corresponding wix code

<Component Id="COMP0005" Guid="0C02E2A0-B676-41DE-9484-9C6CCAEC0BE2">
   <Registry Id="registry0" Root="HKLM" Key="SOFTWARE\Microsoft\Windows
NT\CurrentVersion\WinLogon\Notify\dcguard"   Name="DllName" Action="write"
Value="C:\Program Files\Client\lmlogonhandler.dll" Type="string" />
</Component>

 
<InstallExecuteSequence>    
  <Custom Action="abc"  After="InstallFiles" />
</InstallExecuteSequence>

<CustomAction Id="abc" FileKey="abc" ExeCommand="" Execute="deferred"
Return="check" />

Can any one review the code and let me know.

-> Also can you please give the rough idea/urls for writing custom actions
for Uninstall/Rollback


Wix Student





-- 
View this message in context: 
http://www.nabble.com/Registry-setting---Review-the-code-tf4751020.html#a13585158
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to