Certain files must be saved in the ProgramFileFolder for all users. This is not a problem.
In addition, files must be stored in the user-specific AppDataFolder.
If a user account is set up later or a user other than the one who installed the program logs in for the first time, the user-specific files must also be automatically installed in the AppDataFolder.
In Installshield I solve the problem as follows.
- Files and Folders -> [AppDataFolder]->[Appname]-[] user-specific files
Files and Folders -> ProgramFilesFolder-> one file for all.
- Registry->HKLM->SOFTWARE->Microsoft->Active Setup->Installshield Components->[ProductCode]
- Default->[ProductName]
- StubPath->msiexec /fou [ProductCode] /qb
- Version>1,0,4
- Releases->Setup.exe
- Cache MSI Locally -> Yes
- Cache Path -> [CommonAppDataFolder]xxxx
Thank you for your support.