Inno Setup - Constant for 'ProgramData' directory?

前端 未结 1 883
醉酒成梦
醉酒成梦 2021-02-14 10:46

I want my setup program to copy some files into the Windows ProgramData directory, I see that most Windows directories have pre-defined constants already defined in

相关标签:
1条回答
  • 2021-02-14 10:56

    It's the {commonappdata} constant.


    It's named so, because historically (Windows XP) the path used to be C:\Documents and Settings\All Users\Application Data (now that's a symbolic link to the C:\ProgramData).


    And for the same reason, using the {sd}\ProgramData is not the correct way.

    0 讨论(0)
提交回复
热议问题