Forum Discussion
Sitekit_RobB
Dec 06, 2023Copper Contributor
MSI's that won't install
I've got a small estate but one that's entirely remote working only - so I'm reliant on InTune to get updates pushed out to remediate CVE's for basically anything and everything. This has thrown ...
Dec 07, 2023
Hi...
1. Start with enable logging if you need to have more logs (my guess if you open a powershell/cmd session as administrator you can execute it)
https://learn.microsoft.com/en-us/troubleshoot/windows-client/application-management/enable-windows-installer-logging
2. Download psexec open a powershell session as system with -i and -s and try to manually execute that msi from that context to check if that makes a difference
3. Try to package the msi as a win32app (preferred way to go)
Start-Process msiexec.exe -Wait -ArgumentList '/I .\install.msi /quiet'
https://learn.microsoft.com/en-us/mem/intune/apps/apps-win32-prepare
4. How is the alwaysinstallelevated policy configured?
HKLM\Software\Policies\Microsoft\Windows\Installer
1. Start with enable logging if you need to have more logs (my guess if you open a powershell/cmd session as administrator you can execute it)
https://learn.microsoft.com/en-us/troubleshoot/windows-client/application-management/enable-windows-installer-logging
2. Download psexec open a powershell session as system with -i and -s and try to manually execute that msi from that context to check if that makes a difference
3. Try to package the msi as a win32app (preferred way to go)
Start-Process msiexec.exe -Wait -ArgumentList '/I .\install.msi /quiet'
https://learn.microsoft.com/en-us/mem/intune/apps/apps-win32-prepare
4. How is the alwaysinstallelevated policy configured?
HKLM\Software\Policies\Microsoft\Windows\Installer
Sitekit_RobB
Dec 08, 2023Copper Contributor
Made a bit of progress and ran into another oddity.
Install command that works:
msiexec /quiet /passive /i "msoledbsql.msi" /L*v "C:\Temp\msodbcsql.log" IACCEPTMSODBCSQLLICENSETERMS=YES ALLUSERS=1
But presents:
Question is whether the issue is with the installer, maybe the logic for the pre-req is configured for a match rather than match-or-greater.
Or the issue is with the pre-req (smacks of being much more unlikely)
Need to try through the other ODBC / OLE installers, see what they do. Will update Monday.