[X] Run $title$ Now in finish dialog creates a critical program issue

Got a problem you cannot solve? Try here.
Post Reply
JohnBalcom
Posts: 18
Joined: Sat Oct 08, 2022 9:15 am

[X] Run $title$ Now in finish dialog creates a critical program issue

Post by JohnBalcom »

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.
Bad Ownder.png
Bad Ownder.png (109.98 KiB) Viewed 7307 times
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.
Correct Owner.png
Correct Owner.png (105.21 KiB) Viewed 7307 times
The project is in InstallAwareApp.zip
InstallAwareApp.zip
(3.91 MiB) Downloaded 666 times
JohnBalcom
Posts: 18
Joined: Sat Oct 08, 2022 9:15 am

Re: [X] Run $title$ Now in finish dialog creates a critical program issue

Post by JohnBalcom »

Figured it out. Using Run Program As instead of Run Program.
Post Reply