Can we set file permission for an ini file using inno setup?
At the time of instalation, i need to write some values to a ini file and then set the permision to read only. And during uninstalation, I need to read the file and change the permision to write mode and write some data to ini file and then again i need to set the permission to read only. Can anyone help please?
Can we set file permission for an ini file using inno setup? At the
Share
You will need to set the file permissions in
[Code], maybe using theBeforeInstallandAfterInstallparameters of the[Ini]entry. The attributes can be set using the WindowsSetFileAttributes()API function.