Prevent auto-healing files. - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Prevent auto-healing files.

Hello,

If we move the installed files the installer automatically repairs them. Is there a way to prevent this. After installation the files must not be repaired if it were moved. I have disabled the Advertise function from all the shortcuts and the features from the Organization tab.

Regards
K
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Prevent auto-healing files.

Hello,

I'm afraid I don't fully understand your scenario. Can you give us more details about your scenario (maybe exemplify)? Also, please keep in mind that in order to clearly report an issue you can take a look on our How to report a problem for a faster resolution article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Jimmy
Posts: 36
Joined: Thu Apr 12, 2012 1:13 pm

Re: Prevent auto-healing files.

I assume, to reach your goal, it has nothing to do with the advertise option. (Advertise is something like "Select now, install when first used")

I you don't want several files to not "Auto Repair", you have to make sure, they are not key elements within a component.

For clarification: each component must have one key element (in AI displayed with the small key- Icon, which looks a bit like a diskette icon).
at minimum you have to define one key element, which always remains as auto repair.

BTW: auto repair ist a core (and good) behaviour in MSInstaller, which has to make sure, nobody can modify or corrupt a software installation by error.

Regards
Jimmy
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Prevent auto-healing files.

Hello Jimmy,

Please keep in mind that when running installer in repair mode if a component key file is missing, then the related component will be reinstalled. Also, a feature will be reinstalled during repair only if at least one of its components will be reinstalled. So, on repair mode, if a component key file is missing then the entire feature containing the related component will be reinstalled.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”