Hallo zusammen,
wir haben das Problem, dass bei einer Updateinstallation der vmware Tools, z.B. fest eingestellte Netzwerkeinstellungen der Virtuellen Maschine verloren gehen.
Zurückführen konnte ich das darauf, dass bei einer Updateinstallation das vorherige vmware Tools Paket erst deinstalliert wird (was auch alle Netzwerkkartentreiber und damit auch alle Netzwerkkarten und gesetzten Einstellungen der VM selbst) entfernt, bevor das neue Paket installiert wird.
Wird aber der Installer (in diesem Fall ein MSI) manuell ohne paketscripte installiert, wird das bereits installierte Paket aktualisiert und alle einstellungen bleiben erhalten.
Kann das bitte im neo42 Paket angepasst werden, sodass die vorherige deinstallation nicht ausgeführt wird?
<![LOG[[Decide-ReInstallMode] :: Checking if application is installed...]LOG]!><time="12:00:39.136120" date="10-25-2024" component="Test-NxtAppIsInstalled" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: Getting information for installed Application Name(s) [VMware Tools]...]LOG]!><time="12:00:39.152120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: Found installed application [VMware Tools] version [12.4.0.23259341] using exact name matching for search term [VMware Tools].]LOG]!><time="12:00:39.355120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: Skipped 6 entries while searching, because they were considered Microsoft updates.]LOG]!><time="12:00:39.370120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: Excluded [neoPackage VMware VMware Tools 12.5.0.24276846] from the results above.]LOG]!><time="12:00:39.370120" date="10-25-2024" component="Get-NxtInstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: Found one application matching UninstallKey [VMware Tools], UninstallKeyIsDisplayName [True], UninstallKeyContainsWildCards [False] and DisplayNamesToExclude [neoPackage VMware VMware Tools 12.5.0.24276846]. Returning [True].]LOG]!><time="12:00:39.386120" date="10-25-2024" component="Test-NxtAppIsInstalled" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: Detect currently set DisplayVersion value of package application...]LOG]!><time="12:00:39.417120" date="10-25-2024" component="Get-NxtCurrentDisplayVersion" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: Getting information for installed Application Name(s) [VMware Tools]...]LOG]!><time="12:00:39.433120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: Found installed application [VMware Tools] version [12.4.0.23259341] using exact name matching for search term [VMware Tools].]LOG]!><time="12:00:39.636120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: Skipped 6 entries while searching, because they were considered Microsoft updates.]LOG]!><time="12:00:39.636120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: Excluded [neoPackage VMware VMware Tools 12.5.0.24276846] from the results above.]LOG]!><time="12:00:39.652120" date="10-25-2024" component="Get-NxtInstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: Currently detected display version [12.4.0.23259341] for UninstallKey [VMware Tools] with UninstallKeyIsDisplayName [True], UninstallKeyContainsWildCards [False] and DisplayNamesToExclude [neoPackage VMware VMware Tools 12.5.0.24276846].]LOG]!><time="12:00:39.652120" date="10-25-2024" component="Get-NxtCurrentDisplayVersion" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: Processing msi setup: double check ReinstallMode for expected msi display version [12.5.0.24276846].]LOG]!><time="12:00:39.667120" date="10-25-2024" component="Switch-NxtMSIReinstallMode" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: Compare version 12.4.0.23259341 with 12.5.0.24276846. Result: Update]LOG]!><time="12:00:39.683120" date="10-25-2024" component="Compare-NxtVersion" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: Found a lower target display version than expected. Returning [Reinstall].]LOG]!><time="12:00:39.683120" date="10-25-2024" component="Switch-NxtMSIReinstallMode" context="NT AUTHORITY\SYSTEM" type="2" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Decide-ReInstallMode] :: [Decide-ReInstallMode] selected mode: Reinstall]LOG]!><time="12:00:39.683120" date="10-25-2024" component="Deploy Application" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Checking if application is installed...]LOG]!><time="12:00:39.730120" date="10-25-2024" component="Test-NxtAppIsInstalled" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Getting information for installed Application Name(s) [VMware Tools]...]LOG]!><time="12:00:39.745120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Found installed application [VMware Tools] version [12.4.0.23259341] using exact name matching for search term [VMware Tools].]LOG]!><time="12:00:39.949120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Skipped 6 entries while searching, because they were considered Microsoft updates.]LOG]!><time="12:00:39.964120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Excluded [neoPackage VMware VMware Tools 12.5.0.24276846] from the results above.]LOG]!><time="12:00:39.964120" date="10-25-2024" component="Get-NxtInstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Found one application matching UninstallKey [VMware Tools], UninstallKeyIsDisplayName [True], UninstallKeyContainsWildCards [False] and DisplayNamesToExclude [neoPackage VMware VMware Tools 12.5.0.24276846]. Returning [True].]LOG]!><time="12:00:39.980120" date="10-25-2024" component="Test-NxtAppIsInstalled" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Getting information for installed Application Name(s) [VMware Tools]...]LOG]!><time="12:00:40.011120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Found installed application [VMware Tools] version [12.4.0.23259341] using exact name matching for search term [VMware Tools].]LOG]!><time="12:00:40.214120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Skipped 6 entries while searching, because they were considered Microsoft updates.]LOG]!><time="12:00:40.214120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Excluded [neoPackage VMware VMware Tools 12.5.0.24276846] from the results above.]LOG]!><time="12:00:40.230120" date="10-25-2024" component="Get-NxtInstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Resolving product code to a publisher, application name, and version.]LOG]!><time="12:00:40.277120" date="10-25-2024" component="Execute-MSI" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Getting information for installed Product Code [{55F0F698-8B00-40BF-8583-A16452EC3FF9}]...]LOG]!><time="12:00:40.277120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Found installed application [VMware Tools] version [12.4.0.23259341] matching product code [{55F0F698-8B00-40BF-8583-A16452EC3FF9}].]LOG]!><time="12:00:40.511120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Skipped 6 entries while searching, because they were considered Microsoft updates.]LOG]!><time="12:00:40.511120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Getting information for installed Product Code [{55F0F698-8B00-40BF-8583-A16452EC3FF9}]...]LOG]!><time="12:00:40.527120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Found installed application [VMware Tools] version [12.4.0.23259341] matching product code [{55F0F698-8B00-40BF-8583-A16452EC3FF9}].]LOG]!><time="12:00:40.730120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Skipped 6 entries while searching, because they were considered Microsoft updates.]LOG]!><time="12:00:40.730120" date="10-25-2024" component="Get-InstalledApplication" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Executing MSI action [Uninstall]...]LOG]!><time="12:00:40.745120" date="10-25-2024" component="Execute-MSI" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: [C:\Windows\System32\msiexec.exe] is a valid fully qualified path, continue.]LOG]!><time="12:00:40.745120" date="10-25-2024" component="Execute-Process" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Checking to see if mutex [Global\_MSIExecute] is available. Wait up to [10 minute(s)] for the mutex to become available.]LOG]!><time="12:00:40.792120" date="10-25-2024" component="Test-IsMutexAvailable" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Mutex [Global\_MSIExecute] is available for an exclusive lock.]LOG]!><time="12:00:40.808120" date="10-25-2024" component="Test-IsMutexAvailable" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Working Directory is [C:\Windows\System32].]LOG]!><time="12:00:41.824120" date="10-25-2024" component="Execute-Process" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">
<![LOG[[Package-Reinstallation] :: Executing [C:\Windows\System32\msiexec.exe /x "{55F0F698-8B00-40BF-8583-A16452EC3FF9}" MSIRESTARTMANAGERCONTROL=Disable REBOOT=ReallySuppress ALLUSERS=1 /qn /norestart VMREBOOT=0 /L*vx "C:\ProgramData\neo42PkgsLogs\VMware\VMware Tools\12.5.0.24276846\Uninstall.2024-10-25_12-00-20_Uninstall.log"]...]LOG]!><time="12:00:41.824120" date="10-25-2024" component="Execute-Process" context="NT AUTHORITY\SYSTEM" type="1" thread="7892" file="Deploy-Application.ps1">