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

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

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

Postby JohnBalcom » 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.
Bad Ownder.png
Bad Ownder.png (109.98 KiB) Viewed 2878 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 2878 times


The project is in InstallAwareApp.zip
InstallAwareApp.zip
(3.91 MiB) Downloaded 231 times

JohnBalcom
Posts: 17
Joined: Sat Oct 08, 2022 9:15 am

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

Postby JohnBalcom » Tue Feb 07, 2023 6:58 pm

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


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 39 guests