Justin
Posts: 44
Joined: Sun Oct 18, 2020 5:53 pm

Recover lost installed files

Hello,
Is there any recover mechanism to recover lost installed file while I execute application. Recently I faced some files was missing in the installation folder, so I can't run my application successfully. I would like to know if we can recover the lost file when I double click the application shortcut.

Thanks,
Best Regards,
Justin
Liviu
Posts: 1042
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Recover lost installed files

Hi Justin,

You can try to use the "Advertised shortcut" option as explained in our How do I implement self-healing into the application? article.

Hope this helps! If you have any other questions. please don't hesitate to contact us.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Justin
Posts: 44
Joined: Sun Oct 18, 2020 5:53 pm

Re: Recover lost installed files

Hi Liviu,
Got it and thanks.

Best Regards,
Justin
Liviu
Posts: 1042
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Recover lost installed files

You are always welcome, Justin!

Please let us know if there is anything else we could help you with and we will gladly assist.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Justin
Posts: 44
Joined: Sun Oct 18, 2020 5:53 pm

Re: Recover lost installed files

Hello Liviu,
The self-healing feature works fine for a while. But if I delete the original installed .msi file the feature doesn't work. Could you help me on this?

Thanks!!
Best Regards,
Justin
Liviu
Posts: 1042
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Recover lost installed files

Hi Justin,

This is the default behavior when using .msi package. If any resource is missing, Windows Installer will fix it by running the installation package and installing again all resources from the .msi file. Have a look on Windows Installer Advertised Shortcuts article.

However, as a workaround, you can try to use .EXE package and check the "Do not delete extracted MSI and CAB files" option from the "Builds" page. This way the Advertised Shortcuts will use the package under the "AppDataFolder" folder even if you delete the .exe installer. But if somehow this package also gets deleted, there is no way to run the repair since it needs to run the installation package again.

Hope this helps!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”