Question

How can I use the special character: á in Inno Setup?

For example:

Without special character at Parameters:

Filename: "{sys}\icacls.exe"; Parameters: """{app}\IRs\IRS.FDB"" /grant Todos:F /inheritance:d"; Flags: runhidden shellexec

But, when there is a special character the command doesn't work as below:

Filename: "{sys}\icacls.exe"; Parameters: """{app}\IRs\IRS.FDB"" /grant Usuários:F /inheritance:d"; Flags: runhidden shellexec
Was it helpful?

Solution

I workaround the issue by using the group SID:

Filename: "{sys}\icacls.exe"; Parameters: """{app}\IRs\IRS.FDB"" /grant *S-1-5-32-545:(F) /inheritance:d"; Flags: runhidden shellexec
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top