Having an issue with the tool on what seems to be Windows 7 64 bit. Install hangs at Show-Installationprogress Next set of instructions never run no longer how long I wait. See part of script in question. Same script runs fine in 32 bit world.
Show Welcome Message, close Internet Explorer if required, allow up to 3 deferrals, verify there is enough disk space to complete the install, and persist the prompt
Show-InstallationWelcome AllowDeferCloseApps 'iexplore,outlook,winword,excel,metadataassistant' -PromptToSave -BlockExecution -DeferTimes 4 -CheckDiskSpace -PersistPrompt
## Show Progress Message (with the default message)
Show-InstallationProgress
## <Perform Pre-Installation tasks here>
Stop-Process -name WESClient
Execute-MSI -Action Uninstall -Path 'MA4Enterprise4.0.1307.msi' -Parameters '/QB /Passive'
Execute-MSI -Action Uninstall -Path 'MA4Enterprise4.1.msi' -Parameters '/QB /Passive'
Execute-MSI -Action Uninstall -Path 'MA5Enterprise.msi' -Parameters '/QB /Passive'
Execute-MSI -Action Uninstall -Path 'MilanClientInstaller3.0.25.msi' -Parameters '/QB /Passive'
Execute-MSI -Action Uninstall -Path 'Prosperoware.Milan.ClientInstaller352TC248.msi' -Parameters '/QB /Passive'
pelle
November 9, 2015, 9:16am
2
Please supply related log file entries generated by the toolkit. Default location is %windir%\logs\software.
It’s impossible to give any other than a qualified guess at this point, but I would review every ’ and " in the script… There might be an evil apostrophe somewhere in there. Normally that would give a fatal error but you never know.
Unfortunately the log doesn’t provide much. Here is the last 10 lines or so.
[Pre-Installation] :: Working Directory is [C:\Windows\System32]. Execute-Process 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Executing [C:\Windows\System32\schtasks.exe /create /f /tn iManage_Filesite_9.264bit_EN_01_BlockedApps /xml “C:\Users\Public\PSAppDeployToolkit\SchTaskUnBlockApps.xml”]… Execute-Process 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Execution completed with exit code [0]. Execute-Process 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Set the Image File Execution Option registry key to block execution of [iexplore.exe]. Block-AppExecution 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Return fully qualified registry key path [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\iexplore.exe]. Convert-RegistryPath 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Set registry key value: [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\iexplore.exe] [Debugger = wscript.exe “C:\Users\Public\PSAppDeployToolkit\AppDeployToolkit_BlockAppExecutionMessage.vbs”]. Set-RegistryKey 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Set the Image File Execution Option registry key to block execution of [outlook.exe]. Block-AppExecution 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Return fully qualified registry key path [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\outlook.exe]. Convert-RegistryPath 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Set registry key value: [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\outlook.exe] [Debugger = wscript.exe “C:\Users\Public\PSAppDeployToolkit\AppDeployToolkit_BlockAppExecutionMessage.vbs”]. Set-RegistryKey 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Set the Image File Execution Option registry key to block execution of [winword.exe]. Block-AppExecution 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Return fully qualified registry key path [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\winword.exe]. Convert-RegistryPath 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Set registry key value: [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\winword.exe] [Debugger = wscript.exe “C:\Users\Public\PSAppDeployToolkit\AppDeployToolkit_BlockAppExecutionMessage.vbs”]. Set-RegistryKey 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Set the Image File Execution Option registry key to block execution of [excel.exe]. Block-AppExecution 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Return fully qualified registry key path [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\excel.exe]. Convert-RegistryPath 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Set registry key value: [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\excel.exe] [Debugger = wscript.exe “C:\Users\Public\PSAppDeployToolkit\AppDeployToolkit_BlockAppExecutionMessage.vbs”]. Set-RegistryKey 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Set the Image File Execution Option registry key to block execution of [metadataassistant.exe]. Block-AppExecution 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Return fully qualified registry key path [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\metadataassistant.exe]. Convert-RegistryPath 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Set registry key value: [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\metadataassistant.exe] [Debugger = wscript.exe “C:\Users\Public\PSAppDeployToolkit\AppDeployToolkit_BlockAppExecutionMessage.vbs”]. Set-RegistryKey 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Display balloon tip notification with message [Installation started.]. Show-BalloonTip 11/6/2015 10:43:58 AM 7488 (0x1D40)
[Pre-Installation] :: Spin up progress dialog in a separate thread with message: [Installation in progress. Please wait…]. Show-InstallationProgress 11/6/2015 10:43:58 AM 7488 (0x1D40)
aman
November 14, 2015, 2:32pm
4
Hi Jamie,
can you provide the part of the Deploy-Application.ps1 script that is contained in the pre-installation and installation parts of the script.