问题
I have MSI installer and I'm installing and uninstalling it using PowerShell script. When I uninstall it then I'm getting following error on Windows 2008/2016 server which is created on Azure.
Error Applying Transforms. Verify that the specified transform paths valid
I'm not getting this issue during uninstallation if I'm using non-Azure (Hyper-V etc.) environment. I tried couple of solution like to delete the Transforms registry, sfc /scannow, msiexec register/unregister. It works in that case. But I want to find the root cause of this. Why MSI installer shows this error on Azure VM only? Why this error occurs ?
回答1:
Haven't looked at transforms for a long time. Just some links to help yourself I am afraid. Have to make it an answer and not a comment due to the length (and formatting).
Logging: Enable full logging. Alternative explanations: 1, 2 (simple procedure). Search for anything related to transforms - obviously.
Transforms: MSI SDK: About Transforms and Symantec on transforms. It is possible that the issue is one of differing system policies so there is something that prevents transforms from being applied at runtime (maybe run secpol.msc
).
Strange that it only happens on uninstall though. Where do you install from? A local folder
or a network source folder
? Perhaps the source folder is missing on uninstall?
Check out secure transforms
vs unsecure transforms
and the issues of Secure-At-Source Transforms and the Secure-Full-Path Transforms.
来源:https://stackoverflow.com/questions/54396182/what-is-the-root-cause-of-error-applying-transforms-verify-that-the-specified