[X] Run $title$ Now in finish dialog creates a critical program issue
Posted: Mon Feb 06, 2023 7:27 pm
1. We use [filename].dat files \ProgramData\ to store user settings.
2. These files are provided by both installed .cab files that are extracted to \ProgramData\ and installed default .dat files that are copied to \ProgramData\.
3. If the user chooses [x] Run $title$ Now in the finish dialog, all of these .dat files are set to Owner = Administrators and our app can't write to these files. See Bad Owner image.
4. If the user turns off [ ] Run $title$ now, these .dat files are created with Owner = [user name[] and our app can write to them just fine. See Correct Owner image.
The project is in InstallAwareApp.zip
2. These files are provided by both installed .cab files that are extracted to \ProgramData\ and installed default .dat files that are copied to \ProgramData\.
3. If the user chooses [x] Run $title$ Now in the finish dialog, all of these .dat files are set to Owner = Administrators and our app can't write to these files. See Bad Owner image.
4. If the user turns off [ ] Run $title$ now, these .dat files are created with Owner = [user name[] and our app can write to them just fine. See Correct Owner image.
The project is in InstallAwareApp.zip