You are trying to upgrade to a more recent version of ITMS.
Every time that SIM (Symantec Installation Manager) reaches UnixAgent.config, it fails with the following message:
Failed to install product.The file exists.
and then:
Failed to install the product from the file: D:\Program Files\Altiris\UNIX Agent\Config\UnixAgent.config
The file exists.
Then you tried as well running a manual repair on the Unix MSI but didn't make a difference.
Error 1:
The file exists.
[System.IO.IOException @ mscorlib] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Path.InternalGetTempFileName(Boolean checkHost) at Altiris.Agent.Unix.PackageGenerators.MacInstallerGenerator.CreateMacInstallationArchive(String sDefaultInstallXml) at Altiris.Agent.Unix.UnixAltirisAgentInstallation.OnInstallProduct(XmlNode installationNode) at Altiris.NS.StandardItems.Product.ProductInstallation.InstallProduct()
Exception logged from: at Altiris.NS.StandardItems.Product.ProductInstallation.InstallProduct() at Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProductInternal(String, Boolean, Altiris.NS.Serialization.SerializationMode) at Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProduct() at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object) at System.Threading.ThreadHelper.ThreadStart()
-----------------------------------------------------------------------------------------------------Process: AeXSvc (15680), Thread ID: 115, Module: Altiris.NS.StandardItems.dllPriority: 1, Source: Altiris.NS.StandardItems.Product.ProductInstallation.InstallProduct
Error 2:Failed to install the product from the file: D:\Program Files\Altiris\UNIX Agent\Config\UnixAgent.config
The file exists. [System.IO.IOException @ mscorlib] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Path.InternalGetTempFileName(Boolean checkHost) atAltiris.Agent.Unix.PackageGenerators.MacInstallerGenerator.CreateMacInstallationArchive(String sDefaultInstallXml) atAltiris.Agent.Unix.UnixAltirisAgentInstallation.OnInstallProduct(XmlNodeinstallationNode) at Altiris.NS.StandardItems.Product.ProductInstallation.InstallProduct() at Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProductInternal(String configFile, Boolean ownsProgressContext, SerializationMode serializationMode)
Exception logged from: at Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProductInternal(String, Boolean, Altiris.NS.Serialization.SerializationMode) at Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProduct() at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object) at System.Threading.ThreadHelper.ThreadStart()
----------------------------------------------------------------------------Process: AeXSvc (15680), Thread ID: 115, Module: Altiris.NS.dllPriority: 1, Source:Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProductInternal
ITMS 8.x
Known issue caused by Microsoft limitations.
System.IO.IOException: “The file exists” occurs during call of System.IO.Path.GetTempFileName().
According to Microsoft documentation: "The GetTempFileName method will raise an IOException if it is used to create more than 65535 files without deleting previous temporary files."
Try the following: