cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
angusmf
Level 3

error opening log file (1622) after reboot on 2008

Hi all,

I have an msi project with a setup.exe wrapper that requires a reboot in the middle of the install. This works fine on Server 2003. On 2008, I'm getting this error:

"There was an error opening installation log file. Verify that the specified log file location exists and is writable."

Msiexec bails at that point and the user finishes logging in. My best guess is that since the msi is not being launched by setup.exe after the reboot, it isn't running with administrative rights. I tried adding "runas /user:administrator" to the runonce entry before it reboots, but apparently the msi changes it back again after you click "Yes" to allow it to reboot.

Even if I get the log file working, the installation performs other actions that will probably need admin rights. Does anyone have a suggestion for how to get around this?

Jim
Labels (1)
0 Kudos
(1) Reply
angusmf
Level 3

I found a solution to this. Caching the install locally fixed it.

When I turned off the default logging available in later versions of Windows Installer, it complained about not even being able to find the msi. Caching locally fixed this also.

Hope this helps someone.
0 Kudos