Pat4040
Posts: 9
Joined: Fri Apr 27, 2012 3:37 pm

Creating Folders that recreate upon application start

Hi, we've created an install that has several folders in the commonappdir. These folders all have full permissions for user group Everyone.

We noticed on our Win 7 machines that, once the application is installed, if we delete one of these folders and then run the application (not the installer) again, the folders are re-created. We assume this is due to some sort of manifest that is created with AI. Is this correct?

Unfortunately, after a few builds, this "feature" disappeared and we are unsure if this is because we made a change or if this feature never existed. Things got a little confused here...

So my question is, does AI create a manifest or do anything that would allow the application to reinstall the folders, and if so, where can we enable/disabe/edit this?

Thanks
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Creating Folders that recreate upon application start

Hello,

I'm not sure why you encountered this behavior.

If you are looking for implementing a self-healing mechanism for you installation package you can read Advertised Shortcuts article for guidance before enabling the "Advertised Shortcut" option in the Shortcut Properties Dialog.
Also, you can take a look on the Implement self-healing into the application article which may be useful to you.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”