Missing Files After Restart - 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!

leetuck
Posts: 12
Joined: Tue Jun 16, 2009 1:44 pm

Missing Files After Restart

Hi there,

Our Msi installer is set to uninstall all previous versions of itself and then install.

We have having random problems though after we restart the computer. Basically, upon restart, 1 or 2 files that SetupV2.msi installed are missing.

Do you know why this might be the case? All I can think of is that the files were in use (which can happen with our software) when the SetupV1.msi was uninstalled by SetupV2.msi so they couldn't be deleted. Then after a restart, windows installer is maybe removing them?

Both SetupV1.msi SetupV2.msi contain the same files, just updated versions of them.

I hope that makes sense and thanks for any help.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Missing Files After Restart

Hello,

That might be a viable explanation.
My suggestion is:
- either make sure files are not in use when uninstalling
- if they are in use, make sure your installer is requesting a reboot right after the uninstall finishes, so that remaining files in use are uninstalled too before installing the new version of your app.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”