Reputation: 5447
How can I set a newly created directory to be hidden using WiX?
I was hoping for something like:
<Directory Id="SomeDir" Name="SomeDir" Hidden="Yes"/>
Upvotes: 0
Views: 1053
Reputation: 21416
This is not supported by Windows Installer directly, but it can be done through a custom action. You can find sample VBScript code here: http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/filesfolders/folders/#ChangeFolderAttribs.htm
You can write a DLL or EXE if you don't want VBScript.
Upvotes: 1