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"/>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.