PDA

View Full Version : Is any simple way to udate read only file



Deepak Singh
02-28-2006, 04:34 AM
Hi,
i am working with install shield-11 in msi project.
i want to udate some read only files after files are present in the system during installation. So is there any simple option so that either i can uncheck the readonly attribute of these files or is there any way that these file may be udated forcefully still leaving them read only.

I do not want to do it by going to property dialog of each file and unchecking read only mannually because i have manny files. Niether i want to do it with code.

If any body can suggest any way to do. I will be highly obliged.....

wjoconnor
03-21-2006, 12:07 PM
You can use the ISScript SetFileInfo() function to change a file's attributes.