zappbrannigan
Posts: 17
Joined: Tue Jan 21, 2020 5:15 pm

Issue requiring users add permission to Windows programdata folder

My application has several *.config files under the C:\ProgramData\Comanyname\product\producid\ folder.

The same project in Advanced installer 18 never had any issues. No changes were done in AI on this folder but we upgraded to AI 21.x (latest) and now after installation (no errors, no mentions in the installer log of issues) we find now that for users to open our application they first have to go and give themselves folder/file security read/write privileges over the producid folder (and its child files/folders).

I have tried adding several built in Windows users even including Everyone, localsystem, with full control which didn't solve the issue.
I tried enabling and disabling the checkbox to "keep existing permissions" and apply to sub folders.
I tried making the config files as signed files.
I cannot revert to AI 18.x as we have had some minor prerequisit and other changes (none affecting folder structure) and the projects can't be loaded in older versions of AI.
Nothing worked.

Our install is fairly simple, and we don't have a user entered variable option where they can specify a user to include with full control of this folder.

If anyone knows of a workaround that doesn't include any extra scripts or knowing a userid we want in the install, please let me know.

Many thanks,
Zapp
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Issue requiring users add permission to Windows programdata folder

Hello Zapp,

This might indeed be an issue with Advanced Installer.

However, as per my testing so far, I was not quite able to reproduce it.

If possible, do you think you can create a sample project that reproduces this and forward it to me by email at support at advancedinstaller dot com?

Here is what I would basically need:

- a copy of the AIP file (version 18.x of Advanced Installer)

- the resources needed to build said AIP file

you can zip those and send them by email or upload them somewhere (e.g. GoogleDrive) and send me the download link.

This project, when upgraded to v20.x should be able to reproduce the issue you mentioned.

If you do not have the previous version of Advanced Installer (18.x.), you can download it by following these steps:

- go to "Customer Information" page

- enter your license key

- scroll down and click on the "Please select a version..." drop-down button

Looking forward to hearing from you!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”