Hi,
Here is want you can do. Add your registry to File and Folder page and go to Custom Actions page. Here, on Install add a Launch File or Open URL with the Command Line field set like this:
Code: Select all
regedit.exe /s "[#Your_Reg_File.reg]"
Where Your_Reg_File.reg is the name of your registry. This command will make the registry to install silently.
To condition the install of the registry by the checkbox just go to Expression field from the custom action and set it like this:
where MY_CHECKBOX is the name of your checkbox property.
Also set the checkbox properties like this:
- Property Name: MY_CHECKBOX
- Value : yes
Regards,
Bogdan