cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sgoldstein
Level 6

Why is it rebooting?

At the end of my uninstall process, I'm getting a reboot. I can't seem to figure out why this is.

1. I've checked the registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Session Manager\FileRenameOperations

None of them change during the uninstall process.

2. I don't have any prerequisites.

Here's the log that I'm seeing:

Action 20:42:18: SetupCompleteSuccess.
Action start 20:42:18: SetupCompleteSuccess.
Action 20:42:18: SetupCompleteSuccess. Dialog created
Action ended 20:42:55: SetupCompleteSuccess. Return value 2.
Action ended 20:42:55: INSTALL. Return value 1.
MSI (c) (DC:78) [20:42:55:015]: Destroying RemoteAPI object.
MSI (c) (DC:44) [20:42:55:015]: Custom Action Manager thread ending.
MSI (c) (DC:78) [20:42:55:015]: Note: 1: 1703 2: MyInstall-Setup

Does the last line indicate an error in a custom action?

Another interesting bit of information is that after the reboot is complete, I get the standard windows message:

"At least one service or driver failed during system startup..."

The Event View, however, shows nothing. So, i have no idea what this service might be.

Any help would be appreciated.

Thanks.

Scott
Labels (1)
0 Kudos
(2) Replies
sgoldstein
Level 6

More info on this. I know why it's rebooting, but not the cause. Here's the relevant portion of the log:

RemoveFiles: File: [MyFile], Directory: [MyDirectory]
MSI (s) (8C:78) [15:41:52:203]: Verifying accessibility of file: [MyFile]
MSI (s) (8C:78) [15:41:52:203]: Verifying accessibility of file: [MyFile]
MSI (s) (8C:78) [15:41:52:203]: Note: 1: 2318 2: C:\Config.Msi\1f683.rbf
MSI (s) (8C:78) [15:41:52:203]: Using source file security for destination.
MSI (s) (8C:78) [15:41:52:218]: Note: 1: 2329 2: 32 3: [MyDirectory][MyFile]
MSI (s) (8C:78) [15:41:52:218]: Verifying accessibility of file: [MyFile]

I don't see why this file is different than the other files and why it cannot be accessed.

Anyone know why this might be happening?

Thanks.

Scott
0 Kudos
sgoldstein
Level 6

It looks like I'm starting to get to the bottom of this one on my own. The

MSI (s) (8C:78) [15:41:52:218]: Note: 1: 2329 2: 32 3: [MyDirectory][MyFile]

indicates that a call to GetLastError() produced "32". From the list of win32 error codes:

32 The process cannot access the file because it is being used by another process. ERROR_SHARING_VIOLATION

Scott
0 Kudos