By default, we do not store the file attribute ( hidden, system, readonly ). But you can change this manually inside the msi. You can use an msi file editor called Orca ( comes with Microsofts Installer SDK, a free download ) to edit the file table. When you create the distribution kit, you will get an msi file. Open the file in orca, file for the File Row and you will see the table on the right side update and list the files you have included in your installer. Change the file attribute column value from 16384 to 16385 ( details
here ). So when you run the installer, that file will have a read only attribute. You will need to do this every time you
build the distribution kit.
YOu could also run a batch file after the installer is done that would change the file attribute.
Hope this helps
Bilal Durrani
NI
Bilal Durrani
NI