Description
IT attempts to deploy desktop applications via silent or unattended installation (MSI/EXE with command‑line switches), but installations fail without clear GUI errors. Log files may show missing prerequisites (e.g., .NET, VC++ runtimes) or incorrect MST transform usage.
Solution
- Enable detailed installation logging
- For MSI installers, use a verbose log, for example:
msiexec /i setup.msi /qn /L*V install.log - For EXE‑based installers that wrap MSI, consult documentation for a logging switch (often /LOG or similar).
- For MSI installers, use a verbose log, for example:
- Review log for clear errors
- Search for:
- “Return value 3”
- “Error” or “failed” lines around the failure timestamp.
- Identify whether:
- A prerequisite check failed (e.g., unsupported OS, missing framework).
- A property or transform was invalid.
- Search for:
- Verify prerequisites separately
- Confirm target machines meet documented requirements:
- Windows version and bitness (32/64‑bit).
- Required .NET Framework version.
- VC++ runtime versions (if applicable).
- If prerequisites are missing, deploy them first via your software distribution tool, then rerun the silent install.
- Confirm target machines meet documented requirements:
- Validate transform (MST) usage
- If using an MST:
- Ensure it was built against the same MSI version as the one being deployed.
- Test the MSI + MST combination on a single machine with full UI to confirm it installs correctly before using it silently.
- Command example:
msiexec /i setup.msi TRANSFORMS=custom.mst /qn /L*V install.log
- If using an MST:
Comments
0 comments
Article is closed for comments.