Helan
Posts: 19
Joined: Thu Mar 16, 2017 2:32 pm

Can the customer modify a config file?

We have an application installed at a customer. Now they want to edit a config file (part of our application) that is installed in C:\Program Files (x86)\MyApplication.

Is it possible for them to edit that file, or will it trigger something like "auto repair" in Windows Installer?
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Can the customer modify a config file?

Hello,

The product repair operation could be triggered when:

1. your setup installs advertised shortcuts

https://www.advancedinstaller.com/user- ... ialog.html

https://www.advancedinstaller.com/user- ... tcuts.html

2. your setup uses the Active Setup mechanism

https://www.advancedinstaller.com/user- ... tive-setup

3. your setup installs a file extension and when a file with the installed extension is launched; in this situation if there are missing installation files the Windows Installer will launch first a repair operation for the installed product

4. your setup register a COM file through the Windows Installer COM built-in tables (Class, ComPlus, AppId, TypeLib); when a function from such COM file is called (by any app from the machine) and the COM file from disk is missing the Windows Installer will automatically trigger a repair

5. an application launch a repair operation for the installed product


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

Return to “Common Problems”