Inno Setup constant for ProgramData directory?

I want my installer to copy some files to the Windows directory ProgramData, I see that in most Windows directories there are predefined constants already defined in the Inno installation documentation, however I do not see it for ProgramData.

Therefore, I plan to use something like:

{sd}\ProgramData\MyCompany\MyApp

Is this the right / best way to deploy to this directory using Inno Setup? It seems strange to me that ProgramDatathere is no constant for the directory .

+8
source share
1 answer

This is {commonappdata}constant .


, (Windows XP) C:\Documents and Settings\All Users\Application Data ( C:\ProgramData).


{sd}\ProgramData .

+10

Source: https://habr.com/ru/post/1655581/


All Articles