Ruben
Posts: 57
Joined: Fri Apr 10, 2015 2:35 pm

Why can a reboot destroy the installation ?

It happened that our customers installation obviously was destroyed -- by the first machine reboot after the installation. Before reboot, it worked.
It was an MSI based update installation.
Two of the 4000 installed files got lost.

Remarks:
- The installation was repaired successfully from the Repair button in "Programs and Features" (aka appwiz.cpl).
- In our case, it is very usual that an update installation starts while the application is still running.


We got no installer log. We attempt to get one next time, and I want to be best-prepared for the next accident.
The question is:
  • * Can we preliminary improve our installer ? I don't like to simply wait for the next accident.
    * Doesn't msiexec stop processes which lock a file, for clean deinstallation ? [1]
    * I consider that files of the new installation were removed at reboot. Might that happen ?
Thank you very much,
Ruben


[1] See http://www.advancedinstaller.com/user-g ... ocess.html, ".. is managed automatically by Windows Installer through the "FilesInUse" and "MsiRMFilesInUse" dialogs.."
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Why can a reboot destroy the installation ?

Hello Ruben,

I don't think this behavior has to do with the REBOOT after installation setting. Most likely this issue is cause by a Windows Installer bug. Can you please check if the file that were lost had a greater file version in the old product (the one removed) than in the new product (the one currently installed)?

Please take a look on our "DLL file disappears during an upgrade" thread which debates a similar issue.

As a workaround, you can either set a higher version on your new "Xerces-c_3_0.dll" file or enable the "Always overwrite existing file" option from your file properties dialog in "Files and Folders" page.

Let us know if this helped.

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

Return to “Common Problems”