Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
305 views
in Technique[技术] by (71.8m points)

window - Inno Setup change c: permission

I have to set ACL of "C:" folder (only this folder, not its subfolders!) to accept read/write from all users. Is it possibile by Inno setup script?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

you can use icacls.exe from inno setup to set permissions

try to execute the following with the Exec or shellexec functions in the inno-setup

icacls "C:" /grant Users:F

this might helpful, please check icacls Information


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...