place no product matching statement outside loop

This commit is contained in:
2023-01-18 19:37:06 -05:00
parent 183bafcba1
commit 1c4aa415e1
+2 -1
View File
@@ -49,5 +49,6 @@ Foreach ( $reg in $UNINSTALL_KEYS ) {
LogMsg "Cannot uninstall ""${DISPLAY_NAME}""`n UninstallString: ${UNINSTALLSTRING}"
}
}
If ( $PRODUCTUNINSTALLED -eq $false ) { LogMsg "No product matching ${APP_NAME} was found"}
}
If ( $PRODUCTUNINSTALLED -eq $false ) { LogMsg "No product matching ${APP_NAME} was found"}