place no product matching statement outside loop
This commit is contained in:
+2
-1
@@ -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"}
|
||||
Reference in New Issue
Block a user