I have a requirement to package the XML Files to ExE;
I’m using NSIS Script package. But I have query on the same ExE I have used default installation path C:/XML-Data/
for XML package.
I have configuration fie xmlpathconfiguration.conf
in the same XML Package and which will be in this location < C:/XML-Data/xmlpathconfiguration.conf>
But my doubt is xmlpathconfiguration.conf
user is unable to change the configuration inputs in the file.
Please let me know how to package it, So that user and Admin can edit the inputs based on there requirement Present Usage for packaging
File ..\..\xmlpathconfiguration.conf
To change the ACL of a file you have to use the AccessControl plug-in:
SetOutPath $InstDir
File "....\xmlpathconfiguration.conf"
AccessControl::GrantOnFile "$INSTDIR\xmlpathconfiguration.conf" "(WD)" "FullAccess" ; You should consider using "GenericRead + GenericWrite" instead...