Windows Installer log error
This is not really a question related to SCCM, but to Windows Installer.
I have an application with a patch file: I install first the msi and then the patch file. The installation runs fine. But each time I start the application I receive an error
"Error opening installation log file. Verify that the specified log file location exists and is writable"
After clicking okay the program starts fine. The MSI is from 2006. The operating system is Windows 7 Enterprise 64bit.
Is there a way to fix it? Hopefully there is an easy fix.
January 31st, 2014 12:03pm
Take a look at the following
or try running the .exe in Administrator mode and see if you get the same error
January 31st, 2014 12:38pm
It probably is not writeable. As part of your install you'll have to find where the log file lives and then open up permissions for users to read and write and that MAY correct the issue.
January 31st, 2014 12:38pm
Thanks for the hint. The program creates a folder in Program Files (x86). After I added the SCCM computer account to the security admin group the issue with the "error opening installation log ...." disappeared.
However now for each program start Windows installation runs saying updating the program. It takes a few seconds and then the program starts normally. It appears it finishes installation before it can run the program. Unfortunately it does it now every time
I guess quite a similar problem. I used to deploy this program with the Altiris solution which uses a user account and not the system account like SCCM.
Any hint is highly appreciated.
February 2nd, 2014 3:42pm
The program creates a folder in Program Files (x86). After I added the SCCM computer account to the security admin group the issue with the "error opening installation log ...." disappeared
I don't see a connection between the account of the ConfigMgr server and installation software on a client. That account is not used at all in this scenario. It's either system (where the client is running on) or the account of the logged-in user (depending
on the settings of the program).
What command line have you used?
February 3rd, 2014 3:13am
I use the App Deployment Toolkit which uses Powershell to install the application. There are several steps. Please see the txt file on my Skydrive
February 3rd, 2014 4:15am
I don't see any logging options at all. Isn't the app deployment toolkit logging somewhere by default? Have you already examined those logs?
February 3rd, 2014 4:35am
Yes there is a location for logging by default. I only examine the logs when there is an installation error. Here it is more an error with the application.
The default location is C:\Windows\Logs\Software
Do you think this is meant with the log not writeable?
February 3rd, 2014 5:40am
We still don't know the command line that causes the failure from your initial posting; that makes troubleshooting impossible.
February 3rd, 2014 6:09am
Seems like it's not even a problem from the command line as he says that the install and the patch are going well and once he wants to start the application then he gets a warning message where he need to click OK.
I'll advise you to ask to the application vendor as he's responsible for this type of error. Once the app is installed SCCM or Windows installer has nothing to do with it.
February 3rd, 2014 6:13am
ok, so you got rid of the errors by adding appropriate accounts to the necessary folders but now its as if its reinstalling the application........we call that a "self healing package". I think someone mentioned it but you will either need to repackage
the application (if you repackaged it) with the necessary changes of rights for the folders/files or contact the vendor and inform them of the problem and they might be able to send you a new package that is not self healing.
February 4th, 2014 10:25am
Many thanks for your inputs so far. To be honest I'm puzzled what really the problem is. I further narrowed it down. The problem is caused of the MSI first installation job and not the Patch MSP I run after the MSI installation.
As I said in my initial post we are able to run this installation with Altiris Deployment Solution successfully. Currently I use the application model of SCCM and run a powershell script from Application Deployment Toolkit. In this script sequence of
installation can be run.
The next steps I'm planning to:
- run the MSI directly with the application model of SCCM and not with a Powershell
- for the following sequenze like applying the MSP and copy in some newer I will use the Powershell script..
- as a last resort I will try to repackage the MSI.
The MSI was made for Windows XP. It's from 2006, but since it runs fine with another deployment solution is should work with SCCM too. I don't think I have a permission issue here.
I will keep you posted. In the meantime is it possible to deploy MSP with the application model?
February 4th, 2014 12:13pm